Visitar URL original
PYTHON-5947 Floor opentelemetry-sdk in min-deps otel test runs · mongodb/mongo-python-driver@6a93676 · GitHub
Skip to content

Commit 6a93676

Browse files
committed
PYTHON-5947 Floor opentelemetry-sdk in min-deps otel test runs
1 parent b6f9cd4 commit 6a93676

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.evergreen/scripts/setup_tests.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,9 @@ def handle_test_env() -> None:
458458
if test_name == "otel":
459459
# The SDK is test-only tooling (for the in-memory span exporter); the driver
460460
# itself must not depend on it, only on opentelemetry-api (the "opentelemetry" extra).
461-
UV_ARGS.append("--with opentelemetry-sdk")
461+
# The floor matches requirements/opentelemetry.txt: with --resolution=lowest-direct an
462+
# unpinned sdk resolves to 1.0.0 and drags opentelemetry-api down to it. PYTHON-5947.
463+
UV_ARGS.append('--with "opentelemetry-sdk>=1.20.0"')
462464

463465
if test_name == "perf":
464466
data_dir = ROOT / "specifications/source/benchmarking/data"

0 commit comments

Comments
 (0)