From 895412bbbcf8a4a3999bcc3477a0f08063ef42bc Mon Sep 17 00:00:00 2001 From: Hannes Ljungberg Date: Mon, 30 May 2022 11:13:36 +0200 Subject: [PATCH] Loosen dependency on backoff for newer Python versions --- CHANGELOG.md | 2 ++ exporter/opentelemetry-exporter-otlp-proto-grpc/setup.cfg | 3 ++- exporter/opentelemetry-exporter-otlp-proto-http/setup.cfg | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6604cccea1d..ea2027a09ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ([#2714](https://github.com/open-telemetry/opentelemetry-python/pull/2714)) - narrow protobuf dependencies to exclude protobuf >= 4 ([#2720](https://github.com/open-telemetry/opentelemetry-python/pull/2720)) +- Loosen dependency on `backoff` for newer Python versions + ([#2726](https://github.com/open-telemetry/opentelemetry-python/pull/2726)) ## [1.12.0rc1-0.31b0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.12.0rc1-0.31b0) - 2022-05-17 diff --git a/exporter/opentelemetry-exporter-otlp-proto-grpc/setup.cfg b/exporter/opentelemetry-exporter-otlp-proto-grpc/setup.cfg index 13d06b2b15b..8951609fee8 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-grpc/setup.cfg +++ b/exporter/opentelemetry-exporter-otlp-proto-grpc/setup.cfg @@ -45,7 +45,8 @@ install_requires = opentelemetry-api ~= 1.3 opentelemetry-sdk ~= 1.11 opentelemetry-proto == 1.12.0rc1 - backoff >= 1.10.0, < 2.0.0 + backoff >= 1.10.0, < 2.0.0; python_version<'3.7' + backoff >= 1.10.0; python_version>='3.7' [options.extras_require] test = diff --git a/exporter/opentelemetry-exporter-otlp-proto-http/setup.cfg b/exporter/opentelemetry-exporter-otlp-proto-http/setup.cfg index cf73900ed26..bd088c45659 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-http/setup.cfg +++ b/exporter/opentelemetry-exporter-otlp-proto-http/setup.cfg @@ -45,7 +45,8 @@ install_requires = opentelemetry-api ~= 1.3 opentelemetry-sdk ~= 1.11 opentelemetry-proto == 1.12.0rc1 - backoff >= 1.10.0, < 2.0.0 + backoff >= 1.10.0, < 2.0.0; python_version<'3.7' + backoff >= 1.10.0; python_version>='3.7' [options.extras_require] test =