From 9d249d32907b0ecb01ed6945be5d48d37a448918 Mon Sep 17 00:00:00 2001 From: Ali Ebrahim Date: Tue, 3 Nov 2026 12:29:01 -0800 Subject: [PATCH] Update opentelemetry package version constraints Because otel follows semver, the API package is guarenteed until the next bump. This overly constrained version will require more churn to keep up to date, and make it difficult for users of the package to keep their deps up to date. https://opentelemetry.io/docs/specs/otel/versioning-and-stability/ --- sdks/python/setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdks/python/setup.py b/sdks/python/setup.py index ce9af613cd0c..c7143a6a2ae7 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -229,9 +229,9 @@ def cythonize(*args, **kwargs): # proto-plus<1.24 caps protobuf<5; opentelemetry-proto (via ADK) needs # protobuf>=5. Scoped here so the main dependency list stays broader. 'proto-plus>=1.26.1,<2', - 'opentelemetry-api>=1.36.0,<1.43', - 'opentelemetry-sdk>=1.36.0,<1.43', - 'opentelemetry-exporter-otlp-proto-http>=1.36.0,<1.43', + 'opentelemetry-api>=1.36.0,<2.0', + 'opentelemetry-sdk>=1.36.0,<2.0', + 'opentelemetry-exporter-otlp-proto-http>=1.36.0,<2.0', # protobuf>=5 (ADK/OTel); tf2onnx 1.16.x pins protobuf~=3.20 only. 'tf2onnx>=1.17.0,<1.18', ]