python-etcd3
python-etcd3 copied to clipboard
deprecation warnings from protobuf
venv/lib/python3.9/site-packages/etcd3/etcdrpc/rpc_pb2.py:566: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
+1 .. :)
I get a whole bunch of these warnings too. Is there an upcoming python-etcd3 release that will include the fix?
==================================================================== warnings summary ====================================================================
../../../opt/virtualenv/crmpicco/lib/python3.10/site-packages/etcd3/etcdrpc/kv_pb2.py:17
/opt/virtualenv/crmpicco/lib/python3.10/site-packages/etcd3/etcdrpc/kv_pb2.py:17: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
DESCRIPTOR = _descriptor.FileDescriptor(
../../../opt/virtualenv/crmpicco/lib/python3.10/site-packages/etcd3/etcdrpc/kv_pb2.py:33
/opt/virtualenv/crmpicco/lib/python3.10/site-packages/etcd3/etcdrpc/kv_pb2.py:33: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.EnumValueDescriptor(
../../../opt/virtualenv/crmpicco/lib/python3.10/site-packages/etcd3/etcdrpc/kv_pb2.py:37
/opt/virtualenv/crmpicco/lib/python3.10/site-packages/etcd3/etcdrpc/kv_pb2.py:37: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.EnumValueDescriptor(