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

Lightstep throwing many deprecation warnings #112

Open
EdLeafe opened this issue Mar 12, 2021 · 0 comments
Open

Lightstep throwing many deprecation warnings #112

EdLeafe opened this issue Mar 12, 2021 · 0 comments

Comments

@EdLeafe
Copy link

EdLeafe commented Mar 12, 2021

Recently our Python-based project upgraded a lot of our dependencies, including lightstep, protobuf, and grpcio. Since then when we run our unit tests, we see several warning messages from lightstep like these:

.tox/py39-unit/lib/python3.9/site-packages/lightstep/lightstep_carrier_pb2.py:18
  /Users/ed/projects/ngc-cli/.tox/py39-unit/lib/python3.9/site-packages/lightstep/lightstep_carrier_pb2.py:18: 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(

.tox/py39-unit/lib/python3.9/site-packages/lightstep/lightstep_carrier_pb2.py:36
  /Users/ed/projects/ngc-cli/.tox/py39-unit/lib/python3.9/site-packages/lightstep/lightstep_carrier_pb2.py:36: 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(

.tox/py39-unit/lib/python3.9/site-packages/lightstep/lightstep_carrier_pb2.py:43
  /Users/ed/projects/ngc-cli/.tox/py39-unit/lib/python3.9/site-packages/lightstep/lightstep_carrier_pb2.py:43: 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(

.tox/py39-unit/lib/python3.9/site-packages/lightstep/lightstep_carrier_pb2.py:29
  /Users/ed/projects/ngc-cli/.tox/py39-unit/lib/python3.9/site-packages/lightstep/lightstep_carrier_pb2.py:29: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
    _BINARYCARRIER = _descriptor.Descriptor(

The tests continue to pass, but I wanted to a) be sure you are aware of these deprecations, and b) was curious about any plans to remediate them.

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

1 participant