You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolving dependencies...
SolverProblemError
Because no versions of opentelemetry-exporter-otlp match >1.11.0,<1.11.1 || >1.11.1,<2.0.0
and opentelemetry-exporter-otlp (1.11.0) depends on opentelemetry-exporter-otlp-proto-http (1.11.0), opentelemetry-exporter-otlp (>=1.11.0,<1.11.1 || >1.11.1,<2.0.0) requires opentelemetry-exporter-otlp-proto-http (1.11.0).
And because opentelemetry-exporter-otlp-proto-http (1.11.0) depends on backoff (>=1.10.0,<2.0.0), opentelemetry-exporter-otlp (>=1.11.0,<1.11.1 || >1.11.1,<2.0.0) requires backoff (>=1.10.0,<2.0.0).
And because opentelemetry-exporter-otlp (1.11.1) depends on opentelemetry-exporter-otlp-proto-http (1.11.1)
and opentelemetry-exporter-otlp-proto-http (1.11.1) depends on backoff (>=1.10.0,<2.0.0), opentelemetry-exporter-otlp (>=1.11.0,<2.0.0) requires backoff (>=1.10.0,<2.0.0).
So, because boffdep depends on both backoff (^2.0.0) and opentelemetry-exporter-otlp (^1.11.0), version solving failed.
They intentionally dropped Python 3.6 support in 2.0, although there might not be any actual incompatible changes.
If you still need to support Python 3.6 (which, as you probably know, is at end-of-life), you could still remove the upper bound on backoff for later Pythons, something like:
Describe your environment
backoff
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp
backoff
major version update from 1.x series to 2.0.xSteps to reproduce
poetry install
What is the expected behavior?
Updating to / using
backoff
2.0.x succeeds.What is the actual behavior?
Poetry output:
Additional context
Backoff 2.0.x release dropped Python 3.6 support.
https://github.com/litl/backoff/blob/master/CHANGELOG.md#v200---2022-04-26
Some Opentelemery Python components depend on
backoff >= 1.10.0, < 2.0.0
.Previous change:
b2e9387
README states:
Python 3.6 reached EOL 2021-12-23, which means
opentelemetry-python
support for it ends in about five weeks from now.-> Just wait? Or could the dependency be loosened (for fresh Python versions)?
The text was updated successfully, but these errors were encountered: