lightstep-tracer-python icon indicating copy to clipboard operation
lightstep-tracer-python copied to clipboard

Lightstep throwing many deprecation warnings

Open EdLeafe opened this issue 3 years ago • 0 comments

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.

EdLeafe avatar Mar 12 '21 21:03 EdLeafe