grakn_protocol/protobuf/concept_pb2 throws DeprecationWarning: Create unlinked descriptors is going to go away.
JonThom opened this issue · 1 comments
JonThom commented
Description
When running client-python, the following DeprecationWarning is raised at a number of places in grakn_protocol/protobuf/options_pb2
/Users/rkm916/Library/Caches/pypoetry/virtualenvs/grakn-dev-utils-UF7XQuoC-py3.9/lib/python3.9/site-packages/grakn_protocol/protobuf/options_pb2.py:84: 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.
Environment
- OS (where Grakn server runs): Mac OS 10
- Grakn version (and platform): Grakn Core 8.0.0-alpha-9
- Grakn client-python version: client-python 2.0.0-alpha-10
- Python version: 3.91
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Running code that calls the file mentioned above should reproduce the warning
Expected Output
Actual Output
See warning above
alexjpwalker commented
Thank you for reporting the issue. We've upgraded grpcio
and protobuf
which should resolve it in the next release.