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

Loosen dependency on backoff for newer Python versions #2726

Merged
merged 1 commit into from
May 31, 2022

Conversation

hannseman
Copy link
Contributor

@hannseman hannseman commented May 30, 2022

Description

The backoff library made a major version bump to 2.0.0 when dropping support for Python 3.6:
https://github.com/litl/backoff/blob/master/CHANGELOG.md

This PR allows for using newer backoff versions under Python versions 3.7 and above, I can add an upper bound on 3.0.0 if that's preferred, but in my experience it's best to skip capping upper bounds by default and only add them when necessary.

Fixes #2693

@hannseman hannseman requested a review from a team May 30, 2022 09:20
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented May 30, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: hannseman / name: Hannes Ljungberg (a0f129e)

@hannseman hannseman force-pushed the loosen-backoff-dep branch from a0f129e to 895412b Compare May 30, 2022 09:25
@srikanthccv
Copy link
Member

Please add the upper bound. Not doing that has mostly resulted in sudden surprises with breaking changes in our experience so far.

@hannseman hannseman force-pushed the loosen-backoff-dep branch from 895412b to 3d27433 Compare May 31, 2022 07:44
@lzchen lzchen merged commit 0bfa9a6 into open-telemetry:main May 31, 2022
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

Successfully merging this pull request may close these issues.

backoff 2.0.x update blocked by opentelemetry-exporter-otlp
3 participants