Ref iiotprevent slack channel where user received error when trying to use a higher opentelemetry version than was specified in our sdk.
Changes:
Bumped opentelemetry package version up to (but not higher than) v0.45b0, see reason below
When bumping opentelemetry package version from v0.41b0 to v.42b0, we get the error get_meter() got an unexpected keyword argument 'schema_url'. Solved by adding dependency on opentelemetry api version to 1.24.0
This new dependency is not apparent from the v42b0 release changes, hence don't want to allow automatic version updates beyond this in case of compatibility issues (therefore using ^ version condition)
Bumping security packages and allowing use of higher version, if available, by using >= version condition
Type of change
[x] Bug fix (non-breaking change which fixes an issue): 27902
How Has This Been Tested?
Built and tested locally with examples/client_secret_auth.ipynb
Test Configuration:
Environment: Test
Checklist:
[x] I have performed a self-review of my own code
[ ] I have commented my code in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have made corresponding changes to the architecture
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
Description
Ref iiotprevent slack channel where user received error when trying to use a higher opentelemetry version than was specified in our sdk.
Changes:
get_meter() got an unexpected keyword argument 'schema_url'
. Solved by adding dependency on opentelemetry api version to 1.24.0^
version condition)>=
version conditionType of change
How Has This Been Tested?
Built and tested locally with examples/client_secret_auth.ipynb
Test Configuration:
Checklist: