kragniz / kragniz/python-etcd3

deprecation warnings from protobuf

Open
#1,823 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
450
Forks
194
PR merge metrics
No merged PRs in 30d

Description

```
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(
```

Contributor guide

Open the contributing guide

Research direction

Start with venv/lib/python3.9/site-packages/etcd3/etcdrpc/rpc_pb2.py at the FieldDescriptor call shown in the warning, then inspect how the generated protobuf code is produced or maintained. Done means the deprecated descriptor warning no longer appears while the etcd client continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.