Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecation warnings from protobuf #1823

Open
Roguelazer opened this issue Feb 22, 2022 · 2 comments
Open

deprecation warnings from protobuf #1823

Roguelazer opened this issue Feb 22, 2022 · 2 comments

Comments

@Roguelazer
Copy link

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(
@ikariwing
Copy link

+1 .. :)

@crmpicco
Copy link

crmpicco commented Aug 4, 2023

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(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants