python-etcd3 icon indicating copy to clipboard operation
python-etcd3 copied to clipboard

deprecation warnings from protobuf

Open Roguelazer opened this issue 3 years ago • 2 comments

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(

Roguelazer avatar Feb 22 '22 18:02 Roguelazer

+1 .. :)

ikariwing avatar May 09 '22 10:05 ikariwing

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(

crmpicco avatar Aug 04 '23 05:08 crmpicco