GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||
GeezerVison is showing github.com — Don't use `pkg_resources.get_distribution(..).version` by DouglasHeriot · Pull Request #256 · GoogleCloudPlatform/opentelemetry-operations-python Conversation
Contributor
Similar to discussion at googleapis/python-api-core#27 I am using opentelemetry in an environment where modules are vendored without pip. So, pkg_resources can not be used to search for a module at runtime to get its version.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
DouglasHeriot
marked this pull request as ready for review
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
aabmass
reviewed
|
| pkg_resources.get_distribution("opentelemetry-sdk").version |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for noticing that. I also found I missed another use in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
372a1a9 to
8ef25e2
Compare
Fix in GoogleCloudPlatform#254 didn't apply to tox environments that run `pip install .` `test_detects_gce` was failing with opentelemetry-sdk version 1.19.0 instead of 1.18.0
Similar to discussion at googleapis/python-api-core#27 I am using opentelemetry in an environment where modules are vendored without pip. So, pkg_resources can not be used to search for a module at runtime to get its version.
|
This won’t be able to pass the tests until #270 (fix pinning to older |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/gcbrun |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/gcbrun |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.