From 1864aa3318bea607e2b6df518406a4c114b7c30e Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Fri, 28 Mar 2025 17:15:27 -0300 Subject: [PATCH 01/18] introducing tox-uv Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- .github/workflows/benchmarks.yml | 2 +- .github/workflows/lint_0.yml | 38 +- .github/workflows/misc_0.yml | 24 +- .github/workflows/templates/lint.yml.j2 | 2 +- .github/workflows/templates/misc.yml.j2 | 2 +- .github/workflows/templates/test.yml.j2 | 2 +- .github/workflows/test_0.yml | 500 ++++++++++++------------ .github/workflows/test_1.yml | 12 +- CONTRIBUTING.md | 8 +- tox.ini | 2 + 10 files changed, 300 insertions(+), 292 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index f3f586e68cf..d53d2da8b55 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -16,7 +16,7 @@ jobs: python-version: "3.13" architecture: 'x64' - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tox run: tox -e benchmark-opentelemetry-sdk -- -k opentelemetry-sdk/benchmarks --benchmark-json=opentelemetry-sdk/output.json - name: Report on SDK benchmark results diff --git a/.github/workflows/lint_0.yml b/.github/workflows/lint_0.yml index e06b0b65fce..fef141bfde3 100644 --- a/.github/workflows/lint_0.yml +++ b/.github/workflows/lint_0.yml @@ -34,7 +34,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-api @@ -53,7 +53,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-proto-protobuf5 @@ -72,7 +72,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-sdk @@ -91,7 +91,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-semantic-conventions @@ -110,7 +110,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-getting-started @@ -129,7 +129,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-opentracing-shim @@ -148,7 +148,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-opencensus-shim @@ -167,7 +167,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-exporter-opencensus @@ -186,7 +186,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-exporter-otlp-proto-common @@ -205,7 +205,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-exporter-otlp-combined @@ -224,7 +224,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-exporter-otlp-proto-grpc @@ -243,7 +243,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-exporter-otlp-proto-http @@ -262,7 +262,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-exporter-prometheus @@ -281,7 +281,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-exporter-zipkin-combined @@ -300,7 +300,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-exporter-zipkin-proto-http @@ -319,7 +319,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-exporter-zipkin-json @@ -338,7 +338,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-propagator-b3 @@ -357,7 +357,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-propagator-jaeger @@ -376,7 +376,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e lint-opentelemetry-test-utils diff --git a/.github/workflows/misc_0.yml b/.github/workflows/misc_0.yml index 0b7999d3bd6..ba2a53e9206 100644 --- a/.github/workflows/misc_0.yml +++ b/.github/workflows/misc_0.yml @@ -34,7 +34,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e spellcheck @@ -53,7 +53,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e tracecontext @@ -72,7 +72,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e mypy @@ -91,7 +91,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e mypyinstalled @@ -110,7 +110,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e typecheck @@ -131,7 +131,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e docs @@ -150,7 +150,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e docker-tests-otlpexporter @@ -169,7 +169,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e docker-tests-opencensus @@ -202,7 +202,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e public-symbols-check @@ -221,7 +221,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e shellcheck @@ -243,7 +243,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e generate-workflows @@ -265,7 +265,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e precommit diff --git a/.github/workflows/templates/lint.yml.j2 b/.github/workflows/templates/lint.yml.j2 index e373be8d69e..2cd74dacaa0 100644 --- a/.github/workflows/templates/lint.yml.j2 +++ b/.github/workflows/templates/lint.yml.j2 @@ -35,7 +35,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e {{ job_data.tox_env }} diff --git a/.github/workflows/templates/misc.yml.j2 b/.github/workflows/templates/misc.yml.j2 index 1cd3c27a42d..6f095b3a417 100644 --- a/.github/workflows/templates/misc.yml.j2 +++ b/.github/workflows/templates/misc.yml.j2 @@ -62,7 +62,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e {{ job_data }} diff --git a/.github/workflows/templates/test.yml.j2 b/.github/workflows/templates/test.yml.j2 index efd9e311224..c55b795e2b9 100644 --- a/.github/workflows/templates/test.yml.j2 +++ b/.github/workflows/templates/test.yml.j2 @@ -35,7 +35,7 @@ jobs: python-version: "{{ job_data.python_version }}" - name: Install tox - run: pip install tox + run: pip install tox-uv {%- if job_data.os == "windows-latest" %} - name: Configure git to support long filenames diff --git a/.github/workflows/test_0.yml b/.github/workflows/test_0.yml index 2b33a23c476..08b9785aec0 100644 --- a/.github/workflows/test_0.yml +++ b/.github/workflows/test_0.yml @@ -34,7 +34,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-api -- -ra @@ -53,7 +53,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-api -- -ra @@ -72,7 +72,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-api -- -ra @@ -91,7 +91,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-api -- -ra @@ -110,7 +110,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-api -- -ra @@ -129,7 +129,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-api -- -ra @@ -148,7 +148,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-api -- -ra @@ -167,7 +167,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-proto-protobuf5 -- -ra @@ -186,7 +186,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-proto-protobuf5 -- -ra @@ -205,7 +205,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-proto-protobuf5 -- -ra @@ -224,7 +224,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-proto-protobuf5 -- -ra @@ -243,7 +243,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-proto-protobuf5 -- -ra @@ -262,7 +262,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-proto-protobuf5 -- -ra @@ -281,7 +281,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-proto-protobuf5 -- -ra @@ -300,7 +300,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-sdk -- -ra @@ -319,7 +319,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-sdk -- -ra @@ -338,7 +338,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-sdk -- -ra @@ -357,7 +357,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-sdk -- -ra @@ -376,7 +376,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-sdk -- -ra @@ -395,7 +395,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-sdk -- -ra @@ -414,7 +414,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-sdk -- -ra @@ -433,7 +433,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-semantic-conventions -- -ra @@ -452,7 +452,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-semantic-conventions -- -ra @@ -471,7 +471,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-semantic-conventions -- -ra @@ -490,7 +490,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-semantic-conventions -- -ra @@ -509,7 +509,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-semantic-conventions -- -ra @@ -528,7 +528,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-semantic-conventions -- -ra @@ -547,7 +547,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-semantic-conventions -- -ra @@ -566,7 +566,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-getting-started -- -ra @@ -585,7 +585,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-getting-started -- -ra @@ -604,7 +604,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-getting-started -- -ra @@ -623,7 +623,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-getting-started -- -ra @@ -642,7 +642,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-getting-started -- -ra @@ -661,7 +661,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-getting-started -- -ra @@ -680,7 +680,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-opentracing-shim -- -ra @@ -699,7 +699,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-opentracing-shim -- -ra @@ -718,7 +718,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-opentracing-shim -- -ra @@ -737,7 +737,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-opentracing-shim -- -ra @@ -756,7 +756,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-opentracing-shim -- -ra @@ -775,7 +775,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-opentracing-shim -- -ra @@ -794,7 +794,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-opentracing-shim -- -ra @@ -813,7 +813,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-opencensus-shim -- -ra @@ -832,7 +832,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-opencensus-shim -- -ra @@ -851,7 +851,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-opencensus-shim -- -ra @@ -870,7 +870,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-opencensus-shim -- -ra @@ -889,7 +889,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-opencensus-shim -- -ra @@ -908,7 +908,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-opencensus-shim -- -ra @@ -927,7 +927,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-exporter-opencensus -- -ra @@ -946,7 +946,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-exporter-opencensus -- -ra @@ -965,7 +965,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-exporter-opencensus -- -ra @@ -984,7 +984,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-exporter-opencensus -- -ra @@ -1003,7 +1003,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-exporter-opencensus -- -ra @@ -1022,7 +1022,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-exporter-opencensus -- -ra @@ -1041,7 +1041,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-exporter-otlp-proto-common -- -ra @@ -1060,7 +1060,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-exporter-otlp-proto-common -- -ra @@ -1079,7 +1079,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-exporter-otlp-proto-common -- -ra @@ -1098,7 +1098,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-exporter-otlp-proto-common -- -ra @@ -1117,7 +1117,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-exporter-otlp-proto-common -- -ra @@ -1136,7 +1136,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-common -- -ra @@ -1155,7 +1155,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra @@ -1174,7 +1174,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-exporter-otlp-combined -- -ra @@ -1193,7 +1193,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-exporter-otlp-combined -- -ra @@ -1212,7 +1212,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-exporter-otlp-combined -- -ra @@ -1231,7 +1231,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-exporter-otlp-combined -- -ra @@ -1250,7 +1250,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-exporter-otlp-combined -- -ra @@ -1269,7 +1269,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-combined -- -ra @@ -1288,7 +1288,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-exporter-otlp-proto-grpc -- -ra @@ -1307,7 +1307,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-exporter-otlp-proto-grpc -- -ra @@ -1326,7 +1326,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-exporter-otlp-proto-grpc -- -ra @@ -1345,7 +1345,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-exporter-otlp-proto-grpc -- -ra @@ -1364,7 +1364,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-exporter-otlp-proto-grpc -- -ra @@ -1383,7 +1383,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-grpc -- -ra @@ -1402,7 +1402,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-exporter-otlp-proto-http -- -ra @@ -1421,7 +1421,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-exporter-otlp-proto-http -- -ra @@ -1440,7 +1440,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-exporter-otlp-proto-http -- -ra @@ -1459,7 +1459,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-exporter-otlp-proto-http -- -ra @@ -1478,7 +1478,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-exporter-otlp-proto-http -- -ra @@ -1497,7 +1497,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-http -- -ra @@ -1516,7 +1516,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-http -- -ra @@ -1535,7 +1535,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-exporter-prometheus -- -ra @@ -1554,7 +1554,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-exporter-prometheus -- -ra @@ -1573,7 +1573,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-exporter-prometheus -- -ra @@ -1592,7 +1592,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-exporter-prometheus -- -ra @@ -1611,7 +1611,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-exporter-prometheus -- -ra @@ -1630,7 +1630,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-exporter-prometheus -- -ra @@ -1649,7 +1649,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-exporter-prometheus -- -ra @@ -1668,7 +1668,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-exporter-zipkin-combined -- -ra @@ -1687,7 +1687,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-exporter-zipkin-combined -- -ra @@ -1706,7 +1706,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-exporter-zipkin-combined -- -ra @@ -1725,7 +1725,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-exporter-zipkin-combined -- -ra @@ -1744,7 +1744,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-exporter-zipkin-combined -- -ra @@ -1763,7 +1763,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-combined -- -ra @@ -1782,7 +1782,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-exporter-zipkin-combined -- -ra @@ -1801,7 +1801,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-exporter-zipkin-proto-http -- -ra @@ -1820,7 +1820,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-exporter-zipkin-proto-http -- -ra @@ -1839,7 +1839,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-exporter-zipkin-proto-http -- -ra @@ -1858,7 +1858,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-exporter-zipkin-proto-http -- -ra @@ -1877,7 +1877,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-exporter-zipkin-proto-http -- -ra @@ -1896,7 +1896,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-proto-http -- -ra @@ -1915,7 +1915,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-exporter-zipkin-proto-http -- -ra @@ -1934,7 +1934,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-exporter-zipkin-json -- -ra @@ -1953,7 +1953,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-exporter-zipkin-json -- -ra @@ -1972,7 +1972,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-exporter-zipkin-json -- -ra @@ -1991,7 +1991,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-exporter-zipkin-json -- -ra @@ -2010,7 +2010,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-exporter-zipkin-json -- -ra @@ -2029,7 +2029,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-json -- -ra @@ -2048,7 +2048,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-exporter-zipkin-json -- -ra @@ -2067,7 +2067,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-propagator-b3 -- -ra @@ -2086,7 +2086,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-propagator-b3 -- -ra @@ -2105,7 +2105,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-propagator-b3 -- -ra @@ -2124,7 +2124,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-propagator-b3 -- -ra @@ -2143,7 +2143,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-propagator-b3 -- -ra @@ -2162,7 +2162,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-propagator-b3 -- -ra @@ -2181,7 +2181,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-propagator-b3 -- -ra @@ -2200,7 +2200,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-propagator-jaeger -- -ra @@ -2219,7 +2219,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-propagator-jaeger -- -ra @@ -2238,7 +2238,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-propagator-jaeger -- -ra @@ -2257,7 +2257,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-propagator-jaeger -- -ra @@ -2276,7 +2276,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-propagator-jaeger -- -ra @@ -2295,7 +2295,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-propagator-jaeger -- -ra @@ -2314,7 +2314,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-propagator-jaeger -- -ra @@ -2333,7 +2333,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py38-test-opentelemetry-test-utils -- -ra @@ -2352,7 +2352,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py39-test-opentelemetry-test-utils -- -ra @@ -2371,7 +2371,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py310-test-opentelemetry-test-utils -- -ra @@ -2390,7 +2390,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py311-test-opentelemetry-test-utils -- -ra @@ -2409,7 +2409,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py312-test-opentelemetry-test-utils -- -ra @@ -2428,7 +2428,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e py313-test-opentelemetry-test-utils -- -ra @@ -2447,7 +2447,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-test-utils -- -ra @@ -2466,7 +2466,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2488,7 +2488,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2510,7 +2510,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2532,7 +2532,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2554,7 +2554,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2576,7 +2576,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2598,7 +2598,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2620,7 +2620,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2642,7 +2642,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2664,7 +2664,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2686,7 +2686,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2708,7 +2708,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2730,7 +2730,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2752,7 +2752,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2774,7 +2774,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2796,7 +2796,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2818,7 +2818,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2840,7 +2840,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2862,7 +2862,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2884,7 +2884,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2906,7 +2906,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2928,7 +2928,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2950,7 +2950,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2972,7 +2972,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -2994,7 +2994,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3016,7 +3016,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3038,7 +3038,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3060,7 +3060,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3082,7 +3082,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3104,7 +3104,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3126,7 +3126,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3148,7 +3148,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3170,7 +3170,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3192,7 +3192,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3214,7 +3214,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3236,7 +3236,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3258,7 +3258,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3280,7 +3280,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3302,7 +3302,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3324,7 +3324,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3346,7 +3346,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3368,7 +3368,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3390,7 +3390,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3412,7 +3412,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3434,7 +3434,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3456,7 +3456,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3478,7 +3478,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3500,7 +3500,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3522,7 +3522,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3544,7 +3544,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3566,7 +3566,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3588,7 +3588,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3610,7 +3610,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3632,7 +3632,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3654,7 +3654,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3676,7 +3676,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3698,7 +3698,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3720,7 +3720,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3742,7 +3742,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3764,7 +3764,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3786,7 +3786,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3808,7 +3808,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3830,7 +3830,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3852,7 +3852,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3874,7 +3874,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3896,7 +3896,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3918,7 +3918,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3940,7 +3940,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3962,7 +3962,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -3984,7 +3984,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4006,7 +4006,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4028,7 +4028,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4050,7 +4050,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4072,7 +4072,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4094,7 +4094,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4116,7 +4116,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4138,7 +4138,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4160,7 +4160,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4182,7 +4182,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4204,7 +4204,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4226,7 +4226,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4248,7 +4248,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4270,7 +4270,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4292,7 +4292,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4314,7 +4314,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4336,7 +4336,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4358,7 +4358,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4380,7 +4380,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4402,7 +4402,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4424,7 +4424,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4446,7 +4446,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4468,7 +4468,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4490,7 +4490,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4512,7 +4512,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4534,7 +4534,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4556,7 +4556,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4578,7 +4578,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4600,7 +4600,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4622,7 +4622,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4644,7 +4644,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4666,7 +4666,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4688,7 +4688,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4710,7 +4710,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4732,7 +4732,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4754,7 +4754,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4776,7 +4776,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4798,7 +4798,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4820,7 +4820,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4842,7 +4842,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4864,7 +4864,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4886,7 +4886,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4908,7 +4908,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4930,7 +4930,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4952,7 +4952,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4974,7 +4974,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -4996,7 +4996,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -5018,7 +5018,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -5040,7 +5040,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -5062,7 +5062,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -5084,7 +5084,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -5106,7 +5106,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -5128,7 +5128,7 @@ jobs: python-version: "3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true diff --git a/.github/workflows/test_1.yml b/.github/workflows/test_1.yml index de5a446d3f6..64d9055c35f 100644 --- a/.github/workflows/test_1.yml +++ b/.github/workflows/test_1.yml @@ -34,7 +34,7 @@ jobs: python-version: "3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -56,7 +56,7 @@ jobs: python-version: "3.10" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -78,7 +78,7 @@ jobs: python-version: "3.11" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -100,7 +100,7 @@ jobs: python-version: "3.12" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -122,7 +122,7 @@ jobs: python-version: "3.13" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true @@ -144,7 +144,7 @@ jobs: python-version: "pypy-3.8" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Configure git to support long filenames run: git config --system core.longpaths true diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7e30e7dd52c..e325b718e6d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,6 +48,12 @@ To install `tox`, run: pip install tox ``` +You can also run tox with `uv` support. By default [tox.ini](./tox.ini) will automatically create a provisioned tox environment with `tox-uv`, but you can install it at host level: + +```sh +pip install tox-uv +``` + You can run `tox` with the following arguments: - `tox` to run all existing tox commands, including unit tests for all packages @@ -187,7 +193,7 @@ git remote add fork https://github.com/YOUR_GITHUB_USERNAME/opentelemetry-python Make sure you have all supported versions of Python installed, install tox only for the first time: ```sh -pip install tox +pip install tox tox-uv ``` Run tests in the root of the repository (this will run all tox environments and may take some time): diff --git a/tox.ini b/tox.ini index 83b8fc2dce0..5587db11b91 100644 --- a/tox.ini +++ b/tox.ini @@ -1,4 +1,6 @@ [tox] +requires = + tox-uv>=1 isolated_build = True skipsdist = True skip_missing_interpreters = True From c7a96c545d253b31284e1c86135f291ee876e290 Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Wed, 2 Apr 2025 09:16:46 -0300 Subject: [PATCH 02/18] tox-uv.toml Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox-uv.toml | 3 +++ tox.ini | 11 ++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 tox-uv.toml diff --git a/tox-uv.toml b/tox-uv.toml new file mode 100644 index 00000000000..1965f3d7d34 --- /dev/null +++ b/tox-uv.toml @@ -0,0 +1,3 @@ +# https://docs.astral.sh/uv/reference/settings/#pip_no-sources +[pip] +no-sources = true diff --git a/tox.ini b/tox.ini index 5587db11b91..c285559d854 100644 --- a/tox.ini +++ b/tox.ini @@ -107,6 +107,7 @@ deps = mypy,mypyinstalled: -c {toxinidir}/dev-requirements.txt mypy,mypyinstalled: mypy + mypy: pip api: -r {toxinidir}/opentelemetry-api/test-requirements.txt @@ -163,6 +164,7 @@ setenv = ; i.e: CONTRIB_REPO_SHA=dde62cebffe519c35875af6d06fae053b3be65ec tox -e CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} + UV_CONFIG_FILE={toxinidir}/tox-uv.toml mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, @@ -269,7 +271,6 @@ commands = sphinx-build -E -a -W -b html -T . _build/html [testenv:tracecontext] -basepython: python3 deps = # needed for tracecontext aiohttp~=3.6 @@ -281,10 +282,10 @@ deps = -e {toxinidir}/opentelemetry-api -e {toxinidir}/opentelemetry-semantic-conventions -e {toxinidir}/opentelemetry-sdk - -e {env:CONTRIB_REPO}\#egg=opentelemetry-util-http&subdirectory=util/opentelemetry-util-http - -e {env:CONTRIB_REPO}\#egg=opentelemetry-instrumentation&subdirectory=opentelemetry-instrumentation - -e {env:CONTRIB_REPO}\#egg=opentelemetry-instrumentation-requests&subdirectory=instrumentation/opentelemetry-instrumentation-requests - -e {env:CONTRIB_REPO}\#egg=opentelemetry-instrumentation-wsgi&subdirectory=instrumentation/opentelemetry-instrumentation-wsgi + {env:CONTRIB_REPO}\#egg=opentelemetry-util-http&subdirectory=util/opentelemetry-util-http + {env:CONTRIB_REPO}\#egg=opentelemetry-instrumentation&subdirectory=opentelemetry-instrumentation + {env:CONTRIB_REPO}\#egg=opentelemetry-instrumentation-requests&subdirectory=instrumentation/opentelemetry-instrumentation-requests + {env:CONTRIB_REPO}\#egg=opentelemetry-instrumentation-wsgi&subdirectory=instrumentation/opentelemetry-instrumentation-wsgi allowlist_externals = {toxinidir}/scripts/tracecontext-integration-test.sh From ea893035ac27f3de4a7bceb0a72b72cf6d710c40 Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Wed, 2 Apr 2025 09:40:15 -0300 Subject: [PATCH 03/18] try uv only-managed Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index c285559d854..196e1f7b850 100644 --- a/tox.ini +++ b/tox.ini @@ -165,6 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml + UV_PYTHON_PREFERENCE="only-managed" mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From 18b9bad60194d92df516d59076eddb291d226e24 Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Wed, 2 Apr 2025 09:42:43 -0300 Subject: [PATCH 04/18] try uv only-system Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 196e1f7b850..dcf6366083b 100644 --- a/tox.ini +++ b/tox.ini @@ -165,7 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - UV_PYTHON_PREFERENCE="only-managed" + UV_PYTHON_PREFERENCE=only-system mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From b9b5074799e5ff6351f19cb532fe4fa0431724b9 Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 13:05:33 -0300 Subject: [PATCH 05/18] testing Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index dcf6366083b..ee2c784df3f 100644 --- a/tox.ini +++ b/tox.ini @@ -165,7 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - UV_PYTHON_PREFERENCE=only-system + UV_PYTHON_PREFERENCE=only-managed mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From 77e4c69e35071f8062cc4e8ef6b5aafd9c176e9b Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 13:11:45 -0300 Subject: [PATCH 06/18] set preference to managed by uv Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index ee2c784df3f..3b618a07907 100644 --- a/tox.ini +++ b/tox.ini @@ -165,7 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - UV_PYTHON_PREFERENCE=only-managed + UV_PYTHON_PREFERENCE=managed mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From 544ada5823f9d7a46584b7c74cd2ee172cfc5347 Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 13:25:36 -0300 Subject: [PATCH 07/18] remove python preference Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3b618a07907..fabfce50333 100644 --- a/tox.ini +++ b/tox.ini @@ -165,7 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - UV_PYTHON_PREFERENCE=managed + #UV_PYTHON_PREFERENCE=only mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From a66a495dfd591bf3d340c73900bf91fd4c870536 Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 13:30:34 -0300 Subject: [PATCH 08/18] try pypy38 Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index fabfce50333..915de80eef6 100644 --- a/tox.ini +++ b/tox.ini @@ -9,20 +9,20 @@ envlist = ; for specifying supported Python versions per package. py3{8,9,10,11,12,13}-test-opentelemetry-api - pypy3-test-opentelemetry-api + pypy38-test-opentelemetry-api lint-opentelemetry-api py3{8,9,10,11,12,13}-test-opentelemetry-proto-protobuf5 - pypy3-test-opentelemetry-proto-protobuf5 + pypy38-test-opentelemetry-proto-protobuf5 lint-opentelemetry-proto-protobuf5 py3{8,9,10,11,12,13}-test-opentelemetry-sdk - pypy3-test-opentelemetry-sdk + pypy38-test-opentelemetry-sdk lint-opentelemetry-sdk benchmark-opentelemetry-sdk py3{8,9,10,11,12,13}-test-opentelemetry-semantic-conventions - pypy3-test-opentelemetry-semantic-conventions + pypy38-test-opentelemetry-semantic-conventions lint-opentelemetry-semantic-conventions py3{8,9,10,11,12,13}-test-opentelemetry-getting-started From 6ba617fe2ac56626c557aeb2777c37bb3b5768db Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 13:34:56 -0300 Subject: [PATCH 09/18] trying only managed Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 915de80eef6..6efec539d5c 100644 --- a/tox.ini +++ b/tox.ini @@ -13,16 +13,16 @@ envlist = lint-opentelemetry-api py3{8,9,10,11,12,13}-test-opentelemetry-proto-protobuf5 - pypy38-test-opentelemetry-proto-protobuf5 + pypy3-test-opentelemetry-proto-protobuf5 lint-opentelemetry-proto-protobuf5 py3{8,9,10,11,12,13}-test-opentelemetry-sdk - pypy38-test-opentelemetry-sdk + pypy3-test-opentelemetry-sdk lint-opentelemetry-sdk benchmark-opentelemetry-sdk py3{8,9,10,11,12,13}-test-opentelemetry-semantic-conventions - pypy38-test-opentelemetry-semantic-conventions + pypy3-test-opentelemetry-semantic-conventions lint-opentelemetry-semantic-conventions py3{8,9,10,11,12,13}-test-opentelemetry-getting-started @@ -165,7 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - #UV_PYTHON_PREFERENCE=only + UV_PYTHON_PREFERENCE=only-managed mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From 6bd2870f2dd1dd3b13a9168558714a1c8a951bab Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 13:45:35 -0300 Subject: [PATCH 10/18] try changing name to pypy38 Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- .github/workflows/generate_workflows.py | 2 +- .github/workflows/test_0.yml | 108 ++++++++++++------------ .github/workflows/test_1.yml | 4 +- tox.ini | 27 +++--- 4 files changed, 70 insertions(+), 71 deletions(-) diff --git a/.github/workflows/generate_workflows.py b/.github/workflows/generate_workflows.py index 05c5d2305d8..e09a460e79e 100644 --- a/.github/workflows/generate_workflows.py +++ b/.github/workflows/generate_workflows.py @@ -47,7 +47,7 @@ def get_test_job_datas(tox_envs: list, operating_systems: list) -> list: os_alias = {"ubuntu-latest": "Ubuntu", "windows-latest": "Windows"} python_version_alias = { - "pypy3": "pypy-3.8", + "pypy38": "pypy-3.8", "py38": "3.8", "py39": "3.9", "py310": "3.10", diff --git a/.github/workflows/test_0.yml b/.github/workflows/test_0.yml index 5fbfe6beae9..e5fb6f2097d 100644 --- a/.github/workflows/test_0.yml +++ b/.github/workflows/test_0.yml @@ -142,7 +142,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-api -- -ra - pypy3-test-opentelemetry-api_ubuntu-latest: + pypy38-test-opentelemetry-api_ubuntu-latest: name: opentelemetry-api pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -159,7 +159,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-api -- -ra + run: tox -e pypy38-test-opentelemetry-api -- -ra py38-test-opentelemetry-proto-protobuf5_ubuntu-latest: name: opentelemetry-proto-protobuf5 3.8 Ubuntu @@ -275,7 +275,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-proto-protobuf5 -- -ra - pypy3-test-opentelemetry-proto-protobuf5_ubuntu-latest: + pypy38-test-opentelemetry-proto-protobuf5_ubuntu-latest: name: opentelemetry-proto-protobuf5 pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -292,7 +292,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-proto-protobuf5 -- -ra + run: tox -e pypy38-test-opentelemetry-proto-protobuf5 -- -ra py38-test-opentelemetry-sdk_ubuntu-latest: name: opentelemetry-sdk 3.8 Ubuntu @@ -408,7 +408,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-sdk -- -ra - pypy3-test-opentelemetry-sdk_ubuntu-latest: + pypy38-test-opentelemetry-sdk_ubuntu-latest: name: opentelemetry-sdk pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -425,7 +425,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-sdk -- -ra + run: tox -e pypy38-test-opentelemetry-sdk -- -ra py38-test-opentelemetry-semantic-conventions_ubuntu-latest: name: opentelemetry-semantic-conventions 3.8 Ubuntu @@ -541,7 +541,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-semantic-conventions -- -ra - pypy3-test-opentelemetry-semantic-conventions_ubuntu-latest: + pypy38-test-opentelemetry-semantic-conventions_ubuntu-latest: name: opentelemetry-semantic-conventions pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -558,7 +558,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-semantic-conventions -- -ra + run: tox -e pypy38-test-opentelemetry-semantic-conventions -- -ra py38-test-opentelemetry-getting-started_ubuntu-latest: name: opentelemetry-getting-started 3.8 Ubuntu @@ -788,7 +788,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-opentracing-shim -- -ra - pypy3-test-opentelemetry-opentracing-shim_ubuntu-latest: + pypy38-test-opentelemetry-opentracing-shim_ubuntu-latest: name: opentelemetry-opentracing-shim pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -805,7 +805,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-opentracing-shim -- -ra + run: tox -e pypy38-test-opentelemetry-opentracing-shim -- -ra py38-test-opentelemetry-opencensus-shim_ubuntu-latest: name: opentelemetry-opencensus-shim 3.8 Ubuntu @@ -1149,7 +1149,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-common -- -ra - pypy3-test-opentelemetry-exporter-otlp-proto-common_ubuntu-latest: + pypy38-test-opentelemetry-exporter-otlp-proto-common_ubuntu-latest: name: opentelemetry-exporter-otlp-proto-common pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1166,7 +1166,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-common -- -ra py38-test-opentelemetry-exporter-otlp-combined_ubuntu-latest: name: opentelemetry-exporter-otlp-combined 3.8 Ubuntu @@ -1510,7 +1510,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-http -- -ra - pypy3-test-opentelemetry-exporter-otlp-proto-http_ubuntu-latest: + pypy38-test-opentelemetry-exporter-otlp-proto-http_ubuntu-latest: name: opentelemetry-exporter-otlp-proto-http pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1527,7 +1527,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-http -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-http -- -ra py38-test-opentelemetry-exporter-prometheus_ubuntu-latest: name: opentelemetry-exporter-prometheus 3.8 Ubuntu @@ -1643,7 +1643,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-prometheus -- -ra - pypy3-test-opentelemetry-exporter-prometheus_ubuntu-latest: + pypy38-test-opentelemetry-exporter-prometheus_ubuntu-latest: name: opentelemetry-exporter-prometheus pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1660,7 +1660,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-prometheus -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-prometheus -- -ra py38-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: name: opentelemetry-exporter-zipkin-combined 3.8 Ubuntu @@ -1776,7 +1776,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-combined -- -ra - pypy3-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: + pypy38-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: name: opentelemetry-exporter-zipkin-combined pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1793,7 +1793,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-combined -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-combined -- -ra py38-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: name: opentelemetry-exporter-zipkin-proto-http 3.8 Ubuntu @@ -1909,7 +1909,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-proto-http -- -ra - pypy3-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: + pypy38-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: name: opentelemetry-exporter-zipkin-proto-http pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1926,7 +1926,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-proto-http -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-proto-http -- -ra py38-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: name: opentelemetry-exporter-zipkin-json 3.8 Ubuntu @@ -2042,7 +2042,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-json -- -ra - pypy3-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: + pypy38-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: name: opentelemetry-exporter-zipkin-json pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2059,7 +2059,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-json -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-json -- -ra py38-test-opentelemetry-propagator-b3_ubuntu-latest: name: opentelemetry-propagator-b3 3.8 Ubuntu @@ -2175,7 +2175,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-b3 -- -ra - pypy3-test-opentelemetry-propagator-b3_ubuntu-latest: + pypy38-test-opentelemetry-propagator-b3_ubuntu-latest: name: opentelemetry-propagator-b3 pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2192,7 +2192,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-propagator-b3 -- -ra + run: tox -e pypy38-test-opentelemetry-propagator-b3 -- -ra py38-test-opentelemetry-propagator-jaeger_ubuntu-latest: name: opentelemetry-propagator-jaeger 3.8 Ubuntu @@ -2308,7 +2308,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-jaeger -- -ra - pypy3-test-opentelemetry-propagator-jaeger_ubuntu-latest: + pypy38-test-opentelemetry-propagator-jaeger_ubuntu-latest: name: opentelemetry-propagator-jaeger pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2325,7 +2325,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-propagator-jaeger -- -ra + run: tox -e pypy38-test-opentelemetry-propagator-jaeger -- -ra py38-test-opentelemetry-test-utils_ubuntu-latest: name: opentelemetry-test-utils 3.8 Ubuntu @@ -2441,7 +2441,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-test-utils -- -ra - pypy3-test-opentelemetry-test-utils_ubuntu-latest: + pypy38-test-opentelemetry-test-utils_ubuntu-latest: name: opentelemetry-test-utils pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2458,7 +2458,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-test-utils -- -ra + run: tox -e pypy38-test-opentelemetry-test-utils -- -ra py38-test-opentelemetry-api_windows-latest: name: opentelemetry-api 3.8 Windows @@ -2592,7 +2592,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-api -- -ra - pypy3-test-opentelemetry-api_windows-latest: + pypy38-test-opentelemetry-api_windows-latest: name: opentelemetry-api pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -2612,7 +2612,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-api -- -ra + run: tox -e pypy38-test-opentelemetry-api -- -ra py38-test-opentelemetry-proto-protobuf5_windows-latest: name: opentelemetry-proto-protobuf5 3.8 Windows @@ -2746,7 +2746,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-proto-protobuf5 -- -ra - pypy3-test-opentelemetry-proto-protobuf5_windows-latest: + pypy38-test-opentelemetry-proto-protobuf5_windows-latest: name: opentelemetry-proto-protobuf5 pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -2766,7 +2766,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-proto-protobuf5 -- -ra + run: tox -e pypy38-test-opentelemetry-proto-protobuf5 -- -ra py38-test-opentelemetry-sdk_windows-latest: name: opentelemetry-sdk 3.8 Windows @@ -2900,7 +2900,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-sdk -- -ra - pypy3-test-opentelemetry-sdk_windows-latest: + pypy38-test-opentelemetry-sdk_windows-latest: name: opentelemetry-sdk pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -2920,7 +2920,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-sdk -- -ra + run: tox -e pypy38-test-opentelemetry-sdk -- -ra py38-test-opentelemetry-semantic-conventions_windows-latest: name: opentelemetry-semantic-conventions 3.8 Windows @@ -3054,7 +3054,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-semantic-conventions -- -ra - pypy3-test-opentelemetry-semantic-conventions_windows-latest: + pypy38-test-opentelemetry-semantic-conventions_windows-latest: name: opentelemetry-semantic-conventions pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -3074,7 +3074,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-semantic-conventions -- -ra + run: tox -e pypy38-test-opentelemetry-semantic-conventions -- -ra py38-test-opentelemetry-getting-started_windows-latest: name: opentelemetry-getting-started 3.8 Windows @@ -3340,7 +3340,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-opentracing-shim -- -ra - pypy3-test-opentelemetry-opentracing-shim_windows-latest: + pypy38-test-opentelemetry-opentracing-shim_windows-latest: name: opentelemetry-opentracing-shim pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -3360,7 +3360,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-opentracing-shim -- -ra + run: tox -e pypy38-test-opentelemetry-opentracing-shim -- -ra py38-test-opentelemetry-opencensus-shim_windows-latest: name: opentelemetry-opencensus-shim 3.8 Windows @@ -3758,7 +3758,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-common -- -ra - pypy3-test-opentelemetry-exporter-otlp-proto-common_windows-latest: + pypy38-test-opentelemetry-exporter-otlp-proto-common_windows-latest: name: opentelemetry-exporter-otlp-proto-common pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -3778,7 +3778,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-common -- -ra py38-test-opentelemetry-exporter-otlp-combined_windows-latest: name: opentelemetry-exporter-otlp-combined 3.8 Windows @@ -4176,7 +4176,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-http -- -ra - pypy3-test-opentelemetry-exporter-otlp-proto-http_windows-latest: + pypy38-test-opentelemetry-exporter-otlp-proto-http_windows-latest: name: opentelemetry-exporter-otlp-proto-http pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4196,7 +4196,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-http -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-http -- -ra py38-test-opentelemetry-exporter-prometheus_windows-latest: name: opentelemetry-exporter-prometheus 3.8 Windows @@ -4330,7 +4330,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-prometheus -- -ra - pypy3-test-opentelemetry-exporter-prometheus_windows-latest: + pypy38-test-opentelemetry-exporter-prometheus_windows-latest: name: opentelemetry-exporter-prometheus pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4350,7 +4350,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-prometheus -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-prometheus -- -ra py38-test-opentelemetry-exporter-zipkin-combined_windows-latest: name: opentelemetry-exporter-zipkin-combined 3.8 Windows @@ -4484,7 +4484,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-combined -- -ra - pypy3-test-opentelemetry-exporter-zipkin-combined_windows-latest: + pypy38-test-opentelemetry-exporter-zipkin-combined_windows-latest: name: opentelemetry-exporter-zipkin-combined pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4504,7 +4504,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-combined -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-combined -- -ra py38-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: name: opentelemetry-exporter-zipkin-proto-http 3.8 Windows @@ -4638,7 +4638,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-proto-http -- -ra - pypy3-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: + pypy38-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: name: opentelemetry-exporter-zipkin-proto-http pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4658,7 +4658,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-proto-http -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-proto-http -- -ra py38-test-opentelemetry-exporter-zipkin-json_windows-latest: name: opentelemetry-exporter-zipkin-json 3.8 Windows @@ -4792,7 +4792,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-json -- -ra - pypy3-test-opentelemetry-exporter-zipkin-json_windows-latest: + pypy38-test-opentelemetry-exporter-zipkin-json_windows-latest: name: opentelemetry-exporter-zipkin-json pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4812,7 +4812,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-json -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-json -- -ra py38-test-opentelemetry-propagator-b3_windows-latest: name: opentelemetry-propagator-b3 3.8 Windows @@ -4946,7 +4946,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-b3 -- -ra - pypy3-test-opentelemetry-propagator-b3_windows-latest: + pypy38-test-opentelemetry-propagator-b3_windows-latest: name: opentelemetry-propagator-b3 pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4966,7 +4966,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-propagator-b3 -- -ra + run: tox -e pypy38-test-opentelemetry-propagator-b3 -- -ra py38-test-opentelemetry-propagator-jaeger_windows-latest: name: opentelemetry-propagator-jaeger 3.8 Windows @@ -5100,7 +5100,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-jaeger -- -ra - pypy3-test-opentelemetry-propagator-jaeger_windows-latest: + pypy38-test-opentelemetry-propagator-jaeger_windows-latest: name: opentelemetry-propagator-jaeger pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -5120,7 +5120,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-propagator-jaeger -- -ra + run: tox -e pypy38-test-opentelemetry-propagator-jaeger -- -ra py38-test-opentelemetry-test-utils_windows-latest: name: opentelemetry-test-utils 3.8 Windows diff --git a/.github/workflows/test_1.yml b/.github/workflows/test_1.yml index 7d92d762b28..204a533babe 100644 --- a/.github/workflows/test_1.yml +++ b/.github/workflows/test_1.yml @@ -138,7 +138,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-test-utils -- -ra - pypy3-test-opentelemetry-test-utils_windows-latest: + pypy38-test-opentelemetry-test-utils_windows-latest: name: opentelemetry-test-utils pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -158,4 +158,4 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-test-utils -- -ra + run: tox -e pypy38-test-opentelemetry-test-utils -- -ra diff --git a/tox.ini b/tox.ini index 6efec539d5c..fbf03d7a4a0 100644 --- a/tox.ini +++ b/tox.ini @@ -13,23 +13,23 @@ envlist = lint-opentelemetry-api py3{8,9,10,11,12,13}-test-opentelemetry-proto-protobuf5 - pypy3-test-opentelemetry-proto-protobuf5 + pypy38-test-opentelemetry-proto-protobuf5 lint-opentelemetry-proto-protobuf5 py3{8,9,10,11,12,13}-test-opentelemetry-sdk - pypy3-test-opentelemetry-sdk + pypy38-test-opentelemetry-sdk lint-opentelemetry-sdk benchmark-opentelemetry-sdk py3{8,9,10,11,12,13}-test-opentelemetry-semantic-conventions - pypy3-test-opentelemetry-semantic-conventions + pypy38-test-opentelemetry-semantic-conventions lint-opentelemetry-semantic-conventions py3{8,9,10,11,12,13}-test-opentelemetry-getting-started lint-opentelemetry-getting-started py3{8,9,10,11,12,13}-test-opentelemetry-opentracing-shim - pypy3-test-opentelemetry-opentracing-shim + pypy38-test-opentelemetry-opentracing-shim lint-opentelemetry-opentracing-shim py3{8,9,10,11,12,13}-test-opentelemetry-opencensus-shim @@ -41,7 +41,7 @@ envlist = lint-opentelemetry-exporter-opencensus py3{8,9,10,11,12,13}-test-opentelemetry-exporter-otlp-proto-common - pypy3-test-opentelemetry-exporter-otlp-proto-common + pypy38-test-opentelemetry-exporter-otlp-proto-common lint-opentelemetry-exporter-otlp-proto-common ; opentelemetry-exporter-otlp @@ -55,37 +55,37 @@ envlist = benchmark-opentelemetry-exporter-otlp-proto-grpc py3{8,9,10,11,12,13}-test-opentelemetry-exporter-otlp-proto-http - pypy3-test-opentelemetry-exporter-otlp-proto-http + pypy38-test-opentelemetry-exporter-otlp-proto-http lint-opentelemetry-exporter-otlp-proto-http py3{8,9,10,11,12,13}-test-opentelemetry-exporter-prometheus - pypy3-test-opentelemetry-exporter-prometheus + pypy38-test-opentelemetry-exporter-prometheus lint-opentelemetry-exporter-prometheus ; opentelemetry-exporter-zipkin py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-combined - pypy3-test-opentelemetry-exporter-zipkin-combined + pypy38-test-opentelemetry-exporter-zipkin-combined lint-opentelemetry-exporter-zipkin-combined py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-proto-http - pypy3-test-opentelemetry-exporter-zipkin-proto-http + pypy38-test-opentelemetry-exporter-zipkin-proto-http lint-opentelemetry-exporter-zipkin-proto-http py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-json - pypy3-test-opentelemetry-exporter-zipkin-json + pypy38-test-opentelemetry-exporter-zipkin-json lint-opentelemetry-exporter-zipkin-json py3{8,9,10,11,12,13}-test-opentelemetry-propagator-b3 - pypy3-test-opentelemetry-propagator-b3 + pypy38-test-opentelemetry-propagator-b3 lint-opentelemetry-propagator-b3 benchmark-opentelemetry-propagator-b3 py3{8,9,10,11,12,13}-test-opentelemetry-propagator-jaeger - pypy3-test-opentelemetry-propagator-jaeger + pypy38-test-opentelemetry-propagator-jaeger lint-opentelemetry-propagator-jaeger py3{8,9,10,11,12,13}-test-opentelemetry-test-utils - pypy3-test-opentelemetry-test-utils + pypy38-test-opentelemetry-test-utils lint-opentelemetry-test-utils spellcheck @@ -165,7 +165,6 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - UV_PYTHON_PREFERENCE=only-managed mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From d434e2161a4eb249c6923afcb5bbcf9b79e8b9c9 Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 14:33:38 -0300 Subject: [PATCH 11/18] test Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index fbf03d7a4a0..5765e5f068a 100644 --- a/tox.ini +++ b/tox.ini @@ -165,6 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml + pypy: UV_PYTHON_PREFERENCE=only-managed mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From 9868d928654988bd592e8db07e0937a5b2dc5d15 Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 14:42:59 -0300 Subject: [PATCH 12/18] test Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5765e5f068a..6b697fd9687 100644 --- a/tox.ini +++ b/tox.ini @@ -165,7 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - pypy: UV_PYTHON_PREFERENCE=only-managed + pypy38: UV_PYTHON_PREFERENCE=only-managed mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From eab4a9702695527ecb8721c31a6a6050dba4334f Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 14:46:22 -0300 Subject: [PATCH 13/18] testing Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- .github/workflows/generate_workflows.py | 2 +- .github/workflows/test_0.yml | 108 ++++++++++++------------ .github/workflows/test_1.yml | 4 +- tox.ini | 30 +++---- 4 files changed, 72 insertions(+), 72 deletions(-) diff --git a/.github/workflows/generate_workflows.py b/.github/workflows/generate_workflows.py index e09a460e79e..05c5d2305d8 100644 --- a/.github/workflows/generate_workflows.py +++ b/.github/workflows/generate_workflows.py @@ -47,7 +47,7 @@ def get_test_job_datas(tox_envs: list, operating_systems: list) -> list: os_alias = {"ubuntu-latest": "Ubuntu", "windows-latest": "Windows"} python_version_alias = { - "pypy38": "pypy-3.8", + "pypy3": "pypy-3.8", "py38": "3.8", "py39": "3.9", "py310": "3.10", diff --git a/.github/workflows/test_0.yml b/.github/workflows/test_0.yml index e5fb6f2097d..5fbfe6beae9 100644 --- a/.github/workflows/test_0.yml +++ b/.github/workflows/test_0.yml @@ -142,7 +142,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-api -- -ra - pypy38-test-opentelemetry-api_ubuntu-latest: + pypy3-test-opentelemetry-api_ubuntu-latest: name: opentelemetry-api pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -159,7 +159,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-api -- -ra + run: tox -e pypy3-test-opentelemetry-api -- -ra py38-test-opentelemetry-proto-protobuf5_ubuntu-latest: name: opentelemetry-proto-protobuf5 3.8 Ubuntu @@ -275,7 +275,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-proto-protobuf5 -- -ra - pypy38-test-opentelemetry-proto-protobuf5_ubuntu-latest: + pypy3-test-opentelemetry-proto-protobuf5_ubuntu-latest: name: opentelemetry-proto-protobuf5 pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -292,7 +292,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-proto-protobuf5 -- -ra + run: tox -e pypy3-test-opentelemetry-proto-protobuf5 -- -ra py38-test-opentelemetry-sdk_ubuntu-latest: name: opentelemetry-sdk 3.8 Ubuntu @@ -408,7 +408,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-sdk -- -ra - pypy38-test-opentelemetry-sdk_ubuntu-latest: + pypy3-test-opentelemetry-sdk_ubuntu-latest: name: opentelemetry-sdk pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -425,7 +425,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-sdk -- -ra + run: tox -e pypy3-test-opentelemetry-sdk -- -ra py38-test-opentelemetry-semantic-conventions_ubuntu-latest: name: opentelemetry-semantic-conventions 3.8 Ubuntu @@ -541,7 +541,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-semantic-conventions -- -ra - pypy38-test-opentelemetry-semantic-conventions_ubuntu-latest: + pypy3-test-opentelemetry-semantic-conventions_ubuntu-latest: name: opentelemetry-semantic-conventions pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -558,7 +558,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-semantic-conventions -- -ra + run: tox -e pypy3-test-opentelemetry-semantic-conventions -- -ra py38-test-opentelemetry-getting-started_ubuntu-latest: name: opentelemetry-getting-started 3.8 Ubuntu @@ -788,7 +788,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-opentracing-shim -- -ra - pypy38-test-opentelemetry-opentracing-shim_ubuntu-latest: + pypy3-test-opentelemetry-opentracing-shim_ubuntu-latest: name: opentelemetry-opentracing-shim pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -805,7 +805,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-opentracing-shim -- -ra + run: tox -e pypy3-test-opentelemetry-opentracing-shim -- -ra py38-test-opentelemetry-opencensus-shim_ubuntu-latest: name: opentelemetry-opencensus-shim 3.8 Ubuntu @@ -1149,7 +1149,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-common -- -ra - pypy38-test-opentelemetry-exporter-otlp-proto-common_ubuntu-latest: + pypy3-test-opentelemetry-exporter-otlp-proto-common_ubuntu-latest: name: opentelemetry-exporter-otlp-proto-common pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1166,7 +1166,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-common -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra py38-test-opentelemetry-exporter-otlp-combined_ubuntu-latest: name: opentelemetry-exporter-otlp-combined 3.8 Ubuntu @@ -1510,7 +1510,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-http -- -ra - pypy38-test-opentelemetry-exporter-otlp-proto-http_ubuntu-latest: + pypy3-test-opentelemetry-exporter-otlp-proto-http_ubuntu-latest: name: opentelemetry-exporter-otlp-proto-http pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1527,7 +1527,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-http -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-http -- -ra py38-test-opentelemetry-exporter-prometheus_ubuntu-latest: name: opentelemetry-exporter-prometheus 3.8 Ubuntu @@ -1643,7 +1643,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-prometheus -- -ra - pypy38-test-opentelemetry-exporter-prometheus_ubuntu-latest: + pypy3-test-opentelemetry-exporter-prometheus_ubuntu-latest: name: opentelemetry-exporter-prometheus pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1660,7 +1660,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-prometheus -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-prometheus -- -ra py38-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: name: opentelemetry-exporter-zipkin-combined 3.8 Ubuntu @@ -1776,7 +1776,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-combined -- -ra - pypy38-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: + pypy3-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: name: opentelemetry-exporter-zipkin-combined pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1793,7 +1793,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-combined -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-combined -- -ra py38-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: name: opentelemetry-exporter-zipkin-proto-http 3.8 Ubuntu @@ -1909,7 +1909,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-proto-http -- -ra - pypy38-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: + pypy3-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: name: opentelemetry-exporter-zipkin-proto-http pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1926,7 +1926,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-proto-http -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-proto-http -- -ra py38-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: name: opentelemetry-exporter-zipkin-json 3.8 Ubuntu @@ -2042,7 +2042,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-json -- -ra - pypy38-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: + pypy3-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: name: opentelemetry-exporter-zipkin-json pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2059,7 +2059,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-json -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-json -- -ra py38-test-opentelemetry-propagator-b3_ubuntu-latest: name: opentelemetry-propagator-b3 3.8 Ubuntu @@ -2175,7 +2175,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-b3 -- -ra - pypy38-test-opentelemetry-propagator-b3_ubuntu-latest: + pypy3-test-opentelemetry-propagator-b3_ubuntu-latest: name: opentelemetry-propagator-b3 pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2192,7 +2192,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-propagator-b3 -- -ra + run: tox -e pypy3-test-opentelemetry-propagator-b3 -- -ra py38-test-opentelemetry-propagator-jaeger_ubuntu-latest: name: opentelemetry-propagator-jaeger 3.8 Ubuntu @@ -2308,7 +2308,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-jaeger -- -ra - pypy38-test-opentelemetry-propagator-jaeger_ubuntu-latest: + pypy3-test-opentelemetry-propagator-jaeger_ubuntu-latest: name: opentelemetry-propagator-jaeger pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2325,7 +2325,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-propagator-jaeger -- -ra + run: tox -e pypy3-test-opentelemetry-propagator-jaeger -- -ra py38-test-opentelemetry-test-utils_ubuntu-latest: name: opentelemetry-test-utils 3.8 Ubuntu @@ -2441,7 +2441,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-test-utils -- -ra - pypy38-test-opentelemetry-test-utils_ubuntu-latest: + pypy3-test-opentelemetry-test-utils_ubuntu-latest: name: opentelemetry-test-utils pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2458,7 +2458,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-test-utils -- -ra + run: tox -e pypy3-test-opentelemetry-test-utils -- -ra py38-test-opentelemetry-api_windows-latest: name: opentelemetry-api 3.8 Windows @@ -2592,7 +2592,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-api -- -ra - pypy38-test-opentelemetry-api_windows-latest: + pypy3-test-opentelemetry-api_windows-latest: name: opentelemetry-api pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -2612,7 +2612,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-api -- -ra + run: tox -e pypy3-test-opentelemetry-api -- -ra py38-test-opentelemetry-proto-protobuf5_windows-latest: name: opentelemetry-proto-protobuf5 3.8 Windows @@ -2746,7 +2746,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-proto-protobuf5 -- -ra - pypy38-test-opentelemetry-proto-protobuf5_windows-latest: + pypy3-test-opentelemetry-proto-protobuf5_windows-latest: name: opentelemetry-proto-protobuf5 pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -2766,7 +2766,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-proto-protobuf5 -- -ra + run: tox -e pypy3-test-opentelemetry-proto-protobuf5 -- -ra py38-test-opentelemetry-sdk_windows-latest: name: opentelemetry-sdk 3.8 Windows @@ -2900,7 +2900,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-sdk -- -ra - pypy38-test-opentelemetry-sdk_windows-latest: + pypy3-test-opentelemetry-sdk_windows-latest: name: opentelemetry-sdk pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -2920,7 +2920,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-sdk -- -ra + run: tox -e pypy3-test-opentelemetry-sdk -- -ra py38-test-opentelemetry-semantic-conventions_windows-latest: name: opentelemetry-semantic-conventions 3.8 Windows @@ -3054,7 +3054,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-semantic-conventions -- -ra - pypy38-test-opentelemetry-semantic-conventions_windows-latest: + pypy3-test-opentelemetry-semantic-conventions_windows-latest: name: opentelemetry-semantic-conventions pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -3074,7 +3074,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-semantic-conventions -- -ra + run: tox -e pypy3-test-opentelemetry-semantic-conventions -- -ra py38-test-opentelemetry-getting-started_windows-latest: name: opentelemetry-getting-started 3.8 Windows @@ -3340,7 +3340,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-opentracing-shim -- -ra - pypy38-test-opentelemetry-opentracing-shim_windows-latest: + pypy3-test-opentelemetry-opentracing-shim_windows-latest: name: opentelemetry-opentracing-shim pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -3360,7 +3360,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-opentracing-shim -- -ra + run: tox -e pypy3-test-opentelemetry-opentracing-shim -- -ra py38-test-opentelemetry-opencensus-shim_windows-latest: name: opentelemetry-opencensus-shim 3.8 Windows @@ -3758,7 +3758,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-common -- -ra - pypy38-test-opentelemetry-exporter-otlp-proto-common_windows-latest: + pypy3-test-opentelemetry-exporter-otlp-proto-common_windows-latest: name: opentelemetry-exporter-otlp-proto-common pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -3778,7 +3778,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-common -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra py38-test-opentelemetry-exporter-otlp-combined_windows-latest: name: opentelemetry-exporter-otlp-combined 3.8 Windows @@ -4176,7 +4176,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-http -- -ra - pypy38-test-opentelemetry-exporter-otlp-proto-http_windows-latest: + pypy3-test-opentelemetry-exporter-otlp-proto-http_windows-latest: name: opentelemetry-exporter-otlp-proto-http pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4196,7 +4196,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-http -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-http -- -ra py38-test-opentelemetry-exporter-prometheus_windows-latest: name: opentelemetry-exporter-prometheus 3.8 Windows @@ -4330,7 +4330,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-prometheus -- -ra - pypy38-test-opentelemetry-exporter-prometheus_windows-latest: + pypy3-test-opentelemetry-exporter-prometheus_windows-latest: name: opentelemetry-exporter-prometheus pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4350,7 +4350,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-prometheus -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-prometheus -- -ra py38-test-opentelemetry-exporter-zipkin-combined_windows-latest: name: opentelemetry-exporter-zipkin-combined 3.8 Windows @@ -4484,7 +4484,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-combined -- -ra - pypy38-test-opentelemetry-exporter-zipkin-combined_windows-latest: + pypy3-test-opentelemetry-exporter-zipkin-combined_windows-latest: name: opentelemetry-exporter-zipkin-combined pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4504,7 +4504,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-combined -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-combined -- -ra py38-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: name: opentelemetry-exporter-zipkin-proto-http 3.8 Windows @@ -4638,7 +4638,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-proto-http -- -ra - pypy38-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: + pypy3-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: name: opentelemetry-exporter-zipkin-proto-http pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4658,7 +4658,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-proto-http -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-proto-http -- -ra py38-test-opentelemetry-exporter-zipkin-json_windows-latest: name: opentelemetry-exporter-zipkin-json 3.8 Windows @@ -4792,7 +4792,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-json -- -ra - pypy38-test-opentelemetry-exporter-zipkin-json_windows-latest: + pypy3-test-opentelemetry-exporter-zipkin-json_windows-latest: name: opentelemetry-exporter-zipkin-json pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4812,7 +4812,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-json -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-json -- -ra py38-test-opentelemetry-propagator-b3_windows-latest: name: opentelemetry-propagator-b3 3.8 Windows @@ -4946,7 +4946,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-b3 -- -ra - pypy38-test-opentelemetry-propagator-b3_windows-latest: + pypy3-test-opentelemetry-propagator-b3_windows-latest: name: opentelemetry-propagator-b3 pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4966,7 +4966,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-propagator-b3 -- -ra + run: tox -e pypy3-test-opentelemetry-propagator-b3 -- -ra py38-test-opentelemetry-propagator-jaeger_windows-latest: name: opentelemetry-propagator-jaeger 3.8 Windows @@ -5100,7 +5100,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-jaeger -- -ra - pypy38-test-opentelemetry-propagator-jaeger_windows-latest: + pypy3-test-opentelemetry-propagator-jaeger_windows-latest: name: opentelemetry-propagator-jaeger pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -5120,7 +5120,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-propagator-jaeger -- -ra + run: tox -e pypy3-test-opentelemetry-propagator-jaeger -- -ra py38-test-opentelemetry-test-utils_windows-latest: name: opentelemetry-test-utils 3.8 Windows diff --git a/.github/workflows/test_1.yml b/.github/workflows/test_1.yml index 204a533babe..7d92d762b28 100644 --- a/.github/workflows/test_1.yml +++ b/.github/workflows/test_1.yml @@ -138,7 +138,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-test-utils -- -ra - pypy38-test-opentelemetry-test-utils_windows-latest: + pypy3-test-opentelemetry-test-utils_windows-latest: name: opentelemetry-test-utils pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -158,4 +158,4 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-test-utils -- -ra + run: tox -e pypy3-test-opentelemetry-test-utils -- -ra diff --git a/tox.ini b/tox.ini index 6b697fd9687..572248f90cd 100644 --- a/tox.ini +++ b/tox.ini @@ -9,27 +9,27 @@ envlist = ; for specifying supported Python versions per package. py3{8,9,10,11,12,13}-test-opentelemetry-api - pypy38-test-opentelemetry-api + pypy3-test-opentelemetry-api lint-opentelemetry-api py3{8,9,10,11,12,13}-test-opentelemetry-proto-protobuf5 - pypy38-test-opentelemetry-proto-protobuf5 + pypy3-test-opentelemetry-proto-protobuf5 lint-opentelemetry-proto-protobuf5 py3{8,9,10,11,12,13}-test-opentelemetry-sdk - pypy38-test-opentelemetry-sdk + pypy3-test-opentelemetry-sdk lint-opentelemetry-sdk benchmark-opentelemetry-sdk py3{8,9,10,11,12,13}-test-opentelemetry-semantic-conventions - pypy38-test-opentelemetry-semantic-conventions + pypy3-test-opentelemetry-semantic-conventions lint-opentelemetry-semantic-conventions py3{8,9,10,11,12,13}-test-opentelemetry-getting-started lint-opentelemetry-getting-started py3{8,9,10,11,12,13}-test-opentelemetry-opentracing-shim - pypy38-test-opentelemetry-opentracing-shim + pypy3-test-opentelemetry-opentracing-shim lint-opentelemetry-opentracing-shim py3{8,9,10,11,12,13}-test-opentelemetry-opencensus-shim @@ -41,7 +41,7 @@ envlist = lint-opentelemetry-exporter-opencensus py3{8,9,10,11,12,13}-test-opentelemetry-exporter-otlp-proto-common - pypy38-test-opentelemetry-exporter-otlp-proto-common + pypy3-test-opentelemetry-exporter-otlp-proto-common lint-opentelemetry-exporter-otlp-proto-common ; opentelemetry-exporter-otlp @@ -55,37 +55,37 @@ envlist = benchmark-opentelemetry-exporter-otlp-proto-grpc py3{8,9,10,11,12,13}-test-opentelemetry-exporter-otlp-proto-http - pypy38-test-opentelemetry-exporter-otlp-proto-http + pypy3-test-opentelemetry-exporter-otlp-proto-http lint-opentelemetry-exporter-otlp-proto-http py3{8,9,10,11,12,13}-test-opentelemetry-exporter-prometheus - pypy38-test-opentelemetry-exporter-prometheus + pypy3-test-opentelemetry-exporter-prometheus lint-opentelemetry-exporter-prometheus ; opentelemetry-exporter-zipkin py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-combined - pypy38-test-opentelemetry-exporter-zipkin-combined + pypy3-test-opentelemetry-exporter-zipkin-combined lint-opentelemetry-exporter-zipkin-combined py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-proto-http - pypy38-test-opentelemetry-exporter-zipkin-proto-http + pypy3-test-opentelemetry-exporter-zipkin-proto-http lint-opentelemetry-exporter-zipkin-proto-http py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-json - pypy38-test-opentelemetry-exporter-zipkin-json + pypy3-test-opentelemetry-exporter-zipkin-json lint-opentelemetry-exporter-zipkin-json py3{8,9,10,11,12,13}-test-opentelemetry-propagator-b3 - pypy38-test-opentelemetry-propagator-b3 + pypy3-test-opentelemetry-propagator-b3 lint-opentelemetry-propagator-b3 benchmark-opentelemetry-propagator-b3 py3{8,9,10,11,12,13}-test-opentelemetry-propagator-jaeger - pypy38-test-opentelemetry-propagator-jaeger + pypy3-test-opentelemetry-propagator-jaeger lint-opentelemetry-propagator-jaeger py3{8,9,10,11,12,13}-test-opentelemetry-test-utils - pypy38-test-opentelemetry-test-utils + pypy3-test-opentelemetry-test-utils lint-opentelemetry-test-utils spellcheck @@ -165,7 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - pypy38: UV_PYTHON_PREFERENCE=only-managed + pypy: UV_PYTHON_PREFERENCE=only-managed mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From db079ea9839fb5406c4a355da259d167a0f0949c Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 14:57:50 -0300 Subject: [PATCH 14/18] test Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 572248f90cd..18c2dadf610 100644 --- a/tox.ini +++ b/tox.ini @@ -165,7 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - pypy: UV_PYTHON_PREFERENCE=only-managed + pypy3: UV_PYTHON_PREFERENCE=only-managed mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From 8d6385c16b5540c5adfeea4ef1ffb92a1312c2cf Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 15:39:53 -0300 Subject: [PATCH 15/18] test Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- .github/workflows/generate_workflows.py | 2 +- .github/workflows/test_0.yml | 108 ++++++++++++------------ .github/workflows/test_1.yml | 4 +- tox.ini | 30 +++---- 4 files changed, 72 insertions(+), 72 deletions(-) diff --git a/.github/workflows/generate_workflows.py b/.github/workflows/generate_workflows.py index 05c5d2305d8..e09a460e79e 100644 --- a/.github/workflows/generate_workflows.py +++ b/.github/workflows/generate_workflows.py @@ -47,7 +47,7 @@ def get_test_job_datas(tox_envs: list, operating_systems: list) -> list: os_alias = {"ubuntu-latest": "Ubuntu", "windows-latest": "Windows"} python_version_alias = { - "pypy3": "pypy-3.8", + "pypy38": "pypy-3.8", "py38": "3.8", "py39": "3.9", "py310": "3.10", diff --git a/.github/workflows/test_0.yml b/.github/workflows/test_0.yml index 5fbfe6beae9..e5fb6f2097d 100644 --- a/.github/workflows/test_0.yml +++ b/.github/workflows/test_0.yml @@ -142,7 +142,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-api -- -ra - pypy3-test-opentelemetry-api_ubuntu-latest: + pypy38-test-opentelemetry-api_ubuntu-latest: name: opentelemetry-api pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -159,7 +159,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-api -- -ra + run: tox -e pypy38-test-opentelemetry-api -- -ra py38-test-opentelemetry-proto-protobuf5_ubuntu-latest: name: opentelemetry-proto-protobuf5 3.8 Ubuntu @@ -275,7 +275,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-proto-protobuf5 -- -ra - pypy3-test-opentelemetry-proto-protobuf5_ubuntu-latest: + pypy38-test-opentelemetry-proto-protobuf5_ubuntu-latest: name: opentelemetry-proto-protobuf5 pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -292,7 +292,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-proto-protobuf5 -- -ra + run: tox -e pypy38-test-opentelemetry-proto-protobuf5 -- -ra py38-test-opentelemetry-sdk_ubuntu-latest: name: opentelemetry-sdk 3.8 Ubuntu @@ -408,7 +408,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-sdk -- -ra - pypy3-test-opentelemetry-sdk_ubuntu-latest: + pypy38-test-opentelemetry-sdk_ubuntu-latest: name: opentelemetry-sdk pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -425,7 +425,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-sdk -- -ra + run: tox -e pypy38-test-opentelemetry-sdk -- -ra py38-test-opentelemetry-semantic-conventions_ubuntu-latest: name: opentelemetry-semantic-conventions 3.8 Ubuntu @@ -541,7 +541,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-semantic-conventions -- -ra - pypy3-test-opentelemetry-semantic-conventions_ubuntu-latest: + pypy38-test-opentelemetry-semantic-conventions_ubuntu-latest: name: opentelemetry-semantic-conventions pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -558,7 +558,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-semantic-conventions -- -ra + run: tox -e pypy38-test-opentelemetry-semantic-conventions -- -ra py38-test-opentelemetry-getting-started_ubuntu-latest: name: opentelemetry-getting-started 3.8 Ubuntu @@ -788,7 +788,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-opentracing-shim -- -ra - pypy3-test-opentelemetry-opentracing-shim_ubuntu-latest: + pypy38-test-opentelemetry-opentracing-shim_ubuntu-latest: name: opentelemetry-opentracing-shim pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -805,7 +805,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-opentracing-shim -- -ra + run: tox -e pypy38-test-opentelemetry-opentracing-shim -- -ra py38-test-opentelemetry-opencensus-shim_ubuntu-latest: name: opentelemetry-opencensus-shim 3.8 Ubuntu @@ -1149,7 +1149,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-common -- -ra - pypy3-test-opentelemetry-exporter-otlp-proto-common_ubuntu-latest: + pypy38-test-opentelemetry-exporter-otlp-proto-common_ubuntu-latest: name: opentelemetry-exporter-otlp-proto-common pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1166,7 +1166,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-common -- -ra py38-test-opentelemetry-exporter-otlp-combined_ubuntu-latest: name: opentelemetry-exporter-otlp-combined 3.8 Ubuntu @@ -1510,7 +1510,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-http -- -ra - pypy3-test-opentelemetry-exporter-otlp-proto-http_ubuntu-latest: + pypy38-test-opentelemetry-exporter-otlp-proto-http_ubuntu-latest: name: opentelemetry-exporter-otlp-proto-http pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1527,7 +1527,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-http -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-http -- -ra py38-test-opentelemetry-exporter-prometheus_ubuntu-latest: name: opentelemetry-exporter-prometheus 3.8 Ubuntu @@ -1643,7 +1643,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-prometheus -- -ra - pypy3-test-opentelemetry-exporter-prometheus_ubuntu-latest: + pypy38-test-opentelemetry-exporter-prometheus_ubuntu-latest: name: opentelemetry-exporter-prometheus pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1660,7 +1660,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-prometheus -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-prometheus -- -ra py38-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: name: opentelemetry-exporter-zipkin-combined 3.8 Ubuntu @@ -1776,7 +1776,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-combined -- -ra - pypy3-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: + pypy38-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: name: opentelemetry-exporter-zipkin-combined pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1793,7 +1793,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-combined -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-combined -- -ra py38-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: name: opentelemetry-exporter-zipkin-proto-http 3.8 Ubuntu @@ -1909,7 +1909,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-proto-http -- -ra - pypy3-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: + pypy38-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: name: opentelemetry-exporter-zipkin-proto-http pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -1926,7 +1926,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-proto-http -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-proto-http -- -ra py38-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: name: opentelemetry-exporter-zipkin-json 3.8 Ubuntu @@ -2042,7 +2042,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-json -- -ra - pypy3-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: + pypy38-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: name: opentelemetry-exporter-zipkin-json pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2059,7 +2059,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-json -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-json -- -ra py38-test-opentelemetry-propagator-b3_ubuntu-latest: name: opentelemetry-propagator-b3 3.8 Ubuntu @@ -2175,7 +2175,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-b3 -- -ra - pypy3-test-opentelemetry-propagator-b3_ubuntu-latest: + pypy38-test-opentelemetry-propagator-b3_ubuntu-latest: name: opentelemetry-propagator-b3 pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2192,7 +2192,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-propagator-b3 -- -ra + run: tox -e pypy38-test-opentelemetry-propagator-b3 -- -ra py38-test-opentelemetry-propagator-jaeger_ubuntu-latest: name: opentelemetry-propagator-jaeger 3.8 Ubuntu @@ -2308,7 +2308,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-jaeger -- -ra - pypy3-test-opentelemetry-propagator-jaeger_ubuntu-latest: + pypy38-test-opentelemetry-propagator-jaeger_ubuntu-latest: name: opentelemetry-propagator-jaeger pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2325,7 +2325,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-propagator-jaeger -- -ra + run: tox -e pypy38-test-opentelemetry-propagator-jaeger -- -ra py38-test-opentelemetry-test-utils_ubuntu-latest: name: opentelemetry-test-utils 3.8 Ubuntu @@ -2441,7 +2441,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-test-utils -- -ra - pypy3-test-opentelemetry-test-utils_ubuntu-latest: + pypy38-test-opentelemetry-test-utils_ubuntu-latest: name: opentelemetry-test-utils pypy-3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 @@ -2458,7 +2458,7 @@ jobs: run: pip install tox-uv - name: Run tests - run: tox -e pypy3-test-opentelemetry-test-utils -- -ra + run: tox -e pypy38-test-opentelemetry-test-utils -- -ra py38-test-opentelemetry-api_windows-latest: name: opentelemetry-api 3.8 Windows @@ -2592,7 +2592,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-api -- -ra - pypy3-test-opentelemetry-api_windows-latest: + pypy38-test-opentelemetry-api_windows-latest: name: opentelemetry-api pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -2612,7 +2612,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-api -- -ra + run: tox -e pypy38-test-opentelemetry-api -- -ra py38-test-opentelemetry-proto-protobuf5_windows-latest: name: opentelemetry-proto-protobuf5 3.8 Windows @@ -2746,7 +2746,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-proto-protobuf5 -- -ra - pypy3-test-opentelemetry-proto-protobuf5_windows-latest: + pypy38-test-opentelemetry-proto-protobuf5_windows-latest: name: opentelemetry-proto-protobuf5 pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -2766,7 +2766,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-proto-protobuf5 -- -ra + run: tox -e pypy38-test-opentelemetry-proto-protobuf5 -- -ra py38-test-opentelemetry-sdk_windows-latest: name: opentelemetry-sdk 3.8 Windows @@ -2900,7 +2900,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-sdk -- -ra - pypy3-test-opentelemetry-sdk_windows-latest: + pypy38-test-opentelemetry-sdk_windows-latest: name: opentelemetry-sdk pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -2920,7 +2920,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-sdk -- -ra + run: tox -e pypy38-test-opentelemetry-sdk -- -ra py38-test-opentelemetry-semantic-conventions_windows-latest: name: opentelemetry-semantic-conventions 3.8 Windows @@ -3054,7 +3054,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-semantic-conventions -- -ra - pypy3-test-opentelemetry-semantic-conventions_windows-latest: + pypy38-test-opentelemetry-semantic-conventions_windows-latest: name: opentelemetry-semantic-conventions pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -3074,7 +3074,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-semantic-conventions -- -ra + run: tox -e pypy38-test-opentelemetry-semantic-conventions -- -ra py38-test-opentelemetry-getting-started_windows-latest: name: opentelemetry-getting-started 3.8 Windows @@ -3340,7 +3340,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-opentracing-shim -- -ra - pypy3-test-opentelemetry-opentracing-shim_windows-latest: + pypy38-test-opentelemetry-opentracing-shim_windows-latest: name: opentelemetry-opentracing-shim pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -3360,7 +3360,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-opentracing-shim -- -ra + run: tox -e pypy38-test-opentelemetry-opentracing-shim -- -ra py38-test-opentelemetry-opencensus-shim_windows-latest: name: opentelemetry-opencensus-shim 3.8 Windows @@ -3758,7 +3758,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-common -- -ra - pypy3-test-opentelemetry-exporter-otlp-proto-common_windows-latest: + pypy38-test-opentelemetry-exporter-otlp-proto-common_windows-latest: name: opentelemetry-exporter-otlp-proto-common pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -3778,7 +3778,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-common -- -ra py38-test-opentelemetry-exporter-otlp-combined_windows-latest: name: opentelemetry-exporter-otlp-combined 3.8 Windows @@ -4176,7 +4176,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-http -- -ra - pypy3-test-opentelemetry-exporter-otlp-proto-http_windows-latest: + pypy38-test-opentelemetry-exporter-otlp-proto-http_windows-latest: name: opentelemetry-exporter-otlp-proto-http pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4196,7 +4196,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-http -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-http -- -ra py38-test-opentelemetry-exporter-prometheus_windows-latest: name: opentelemetry-exporter-prometheus 3.8 Windows @@ -4330,7 +4330,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-prometheus -- -ra - pypy3-test-opentelemetry-exporter-prometheus_windows-latest: + pypy38-test-opentelemetry-exporter-prometheus_windows-latest: name: opentelemetry-exporter-prometheus pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4350,7 +4350,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-prometheus -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-prometheus -- -ra py38-test-opentelemetry-exporter-zipkin-combined_windows-latest: name: opentelemetry-exporter-zipkin-combined 3.8 Windows @@ -4484,7 +4484,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-combined -- -ra - pypy3-test-opentelemetry-exporter-zipkin-combined_windows-latest: + pypy38-test-opentelemetry-exporter-zipkin-combined_windows-latest: name: opentelemetry-exporter-zipkin-combined pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4504,7 +4504,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-combined -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-combined -- -ra py38-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: name: opentelemetry-exporter-zipkin-proto-http 3.8 Windows @@ -4638,7 +4638,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-proto-http -- -ra - pypy3-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: + pypy38-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: name: opentelemetry-exporter-zipkin-proto-http pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4658,7 +4658,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-proto-http -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-proto-http -- -ra py38-test-opentelemetry-exporter-zipkin-json_windows-latest: name: opentelemetry-exporter-zipkin-json 3.8 Windows @@ -4792,7 +4792,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-json -- -ra - pypy3-test-opentelemetry-exporter-zipkin-json_windows-latest: + pypy38-test-opentelemetry-exporter-zipkin-json_windows-latest: name: opentelemetry-exporter-zipkin-json pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4812,7 +4812,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-exporter-zipkin-json -- -ra + run: tox -e pypy38-test-opentelemetry-exporter-zipkin-json -- -ra py38-test-opentelemetry-propagator-b3_windows-latest: name: opentelemetry-propagator-b3 3.8 Windows @@ -4946,7 +4946,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-b3 -- -ra - pypy3-test-opentelemetry-propagator-b3_windows-latest: + pypy38-test-opentelemetry-propagator-b3_windows-latest: name: opentelemetry-propagator-b3 pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -4966,7 +4966,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-propagator-b3 -- -ra + run: tox -e pypy38-test-opentelemetry-propagator-b3 -- -ra py38-test-opentelemetry-propagator-jaeger_windows-latest: name: opentelemetry-propagator-jaeger 3.8 Windows @@ -5100,7 +5100,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-jaeger -- -ra - pypy3-test-opentelemetry-propagator-jaeger_windows-latest: + pypy38-test-opentelemetry-propagator-jaeger_windows-latest: name: opentelemetry-propagator-jaeger pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -5120,7 +5120,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-propagator-jaeger -- -ra + run: tox -e pypy38-test-opentelemetry-propagator-jaeger -- -ra py38-test-opentelemetry-test-utils_windows-latest: name: opentelemetry-test-utils 3.8 Windows diff --git a/.github/workflows/test_1.yml b/.github/workflows/test_1.yml index 7d92d762b28..204a533babe 100644 --- a/.github/workflows/test_1.yml +++ b/.github/workflows/test_1.yml @@ -138,7 +138,7 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-test-utils -- -ra - pypy3-test-opentelemetry-test-utils_windows-latest: + pypy38-test-opentelemetry-test-utils_windows-latest: name: opentelemetry-test-utils pypy-3.8 Windows runs-on: windows-latest timeout-minutes: 30 @@ -158,4 +158,4 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy3-test-opentelemetry-test-utils -- -ra + run: tox -e pypy38-test-opentelemetry-test-utils -- -ra diff --git a/tox.ini b/tox.ini index 18c2dadf610..6b697fd9687 100644 --- a/tox.ini +++ b/tox.ini @@ -9,27 +9,27 @@ envlist = ; for specifying supported Python versions per package. py3{8,9,10,11,12,13}-test-opentelemetry-api - pypy3-test-opentelemetry-api + pypy38-test-opentelemetry-api lint-opentelemetry-api py3{8,9,10,11,12,13}-test-opentelemetry-proto-protobuf5 - pypy3-test-opentelemetry-proto-protobuf5 + pypy38-test-opentelemetry-proto-protobuf5 lint-opentelemetry-proto-protobuf5 py3{8,9,10,11,12,13}-test-opentelemetry-sdk - pypy3-test-opentelemetry-sdk + pypy38-test-opentelemetry-sdk lint-opentelemetry-sdk benchmark-opentelemetry-sdk py3{8,9,10,11,12,13}-test-opentelemetry-semantic-conventions - pypy3-test-opentelemetry-semantic-conventions + pypy38-test-opentelemetry-semantic-conventions lint-opentelemetry-semantic-conventions py3{8,9,10,11,12,13}-test-opentelemetry-getting-started lint-opentelemetry-getting-started py3{8,9,10,11,12,13}-test-opentelemetry-opentracing-shim - pypy3-test-opentelemetry-opentracing-shim + pypy38-test-opentelemetry-opentracing-shim lint-opentelemetry-opentracing-shim py3{8,9,10,11,12,13}-test-opentelemetry-opencensus-shim @@ -41,7 +41,7 @@ envlist = lint-opentelemetry-exporter-opencensus py3{8,9,10,11,12,13}-test-opentelemetry-exporter-otlp-proto-common - pypy3-test-opentelemetry-exporter-otlp-proto-common + pypy38-test-opentelemetry-exporter-otlp-proto-common lint-opentelemetry-exporter-otlp-proto-common ; opentelemetry-exporter-otlp @@ -55,37 +55,37 @@ envlist = benchmark-opentelemetry-exporter-otlp-proto-grpc py3{8,9,10,11,12,13}-test-opentelemetry-exporter-otlp-proto-http - pypy3-test-opentelemetry-exporter-otlp-proto-http + pypy38-test-opentelemetry-exporter-otlp-proto-http lint-opentelemetry-exporter-otlp-proto-http py3{8,9,10,11,12,13}-test-opentelemetry-exporter-prometheus - pypy3-test-opentelemetry-exporter-prometheus + pypy38-test-opentelemetry-exporter-prometheus lint-opentelemetry-exporter-prometheus ; opentelemetry-exporter-zipkin py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-combined - pypy3-test-opentelemetry-exporter-zipkin-combined + pypy38-test-opentelemetry-exporter-zipkin-combined lint-opentelemetry-exporter-zipkin-combined py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-proto-http - pypy3-test-opentelemetry-exporter-zipkin-proto-http + pypy38-test-opentelemetry-exporter-zipkin-proto-http lint-opentelemetry-exporter-zipkin-proto-http py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-json - pypy3-test-opentelemetry-exporter-zipkin-json + pypy38-test-opentelemetry-exporter-zipkin-json lint-opentelemetry-exporter-zipkin-json py3{8,9,10,11,12,13}-test-opentelemetry-propagator-b3 - pypy3-test-opentelemetry-propagator-b3 + pypy38-test-opentelemetry-propagator-b3 lint-opentelemetry-propagator-b3 benchmark-opentelemetry-propagator-b3 py3{8,9,10,11,12,13}-test-opentelemetry-propagator-jaeger - pypy3-test-opentelemetry-propagator-jaeger + pypy38-test-opentelemetry-propagator-jaeger lint-opentelemetry-propagator-jaeger py3{8,9,10,11,12,13}-test-opentelemetry-test-utils - pypy3-test-opentelemetry-test-utils + pypy38-test-opentelemetry-test-utils lint-opentelemetry-test-utils spellcheck @@ -165,7 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - pypy3: UV_PYTHON_PREFERENCE=only-managed + pypy38: UV_PYTHON_PREFERENCE=only-managed mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From a9c4c23d7ada00c88413fb9c8e76acddacfb90e2 Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Mon, 12 May 2025 15:43:20 -0300 Subject: [PATCH 16/18] try only-system Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 6b697fd9687..0aad24d6a7c 100644 --- a/tox.ini +++ b/tox.ini @@ -165,7 +165,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - pypy38: UV_PYTHON_PREFERENCE=only-managed + pypy38: UV_PYTHON_PREFERENCE=only-system mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, From 6dafcedaa5f380a32966213e480c55936f2c8372 Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Thu, 15 May 2025 21:26:06 -0300 Subject: [PATCH 17/18] testing with py38 Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- .github/workflows/generate_workflows.py | 2 +- .github/workflows/misc_0.yml | 38 ---- .github/workflows/test_0.yml | 270 ++++++++++++------------ .github/workflows/test_1.yml | 10 +- tox.ini | 49 ++--- 5 files changed, 155 insertions(+), 214 deletions(-) diff --git a/.github/workflows/generate_workflows.py b/.github/workflows/generate_workflows.py index e09a460e79e..34bd85d59a8 100644 --- a/.github/workflows/generate_workflows.py +++ b/.github/workflows/generate_workflows.py @@ -47,7 +47,7 @@ def get_test_job_datas(tox_envs: list, operating_systems: list) -> list: os_alias = {"ubuntu-latest": "Ubuntu", "windows-latest": "Windows"} python_version_alias = { - "pypy38": "pypy-3.8", + "pypy3": "3.8", "py38": "3.8", "py39": "3.9", "py310": "3.10", diff --git a/.github/workflows/misc_0.yml b/.github/workflows/misc_0.yml index f67747b20bf..e79a367aed8 100644 --- a/.github/workflows/misc_0.yml +++ b/.github/workflows/misc_0.yml @@ -66,44 +66,6 @@ jobs: - name: Run tests run: tox -e tracecontext - mypy: - name: mypy - runs-on: ubuntu-latest - timeout-minutes: 30 - steps: - - name: Checkout repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: "3.11" - - - name: Install tox - run: pip install tox-uv - - - name: Run tests - run: tox -e mypy - - mypyinstalled: - name: mypyinstalled - runs-on: ubuntu-latest - timeout-minutes: 30 - steps: - - name: Checkout repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: "3.11" - - - name: Install tox - run: pip install tox-uv - - - name: Run tests - run: tox -e mypyinstalled - typecheck: name: typecheck runs-on: ubuntu-latest diff --git a/.github/workflows/test_0.yml b/.github/workflows/test_0.yml index e5fb6f2097d..5663beb0fe3 100644 --- a/.github/workflows/test_0.yml +++ b/.github/workflows/test_0.yml @@ -142,24 +142,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-api -- -ra - pypy38-test-opentelemetry-api_ubuntu-latest: - name: opentelemetry-api pypy-3.8 Ubuntu + pypy3-test-opentelemetry-api_ubuntu-latest: + name: opentelemetry-api 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-api -- -ra + run: tox -e pypy3-test-opentelemetry-api -- -ra py38-test-opentelemetry-proto-protobuf5_ubuntu-latest: name: opentelemetry-proto-protobuf5 3.8 Ubuntu @@ -275,24 +275,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-proto-protobuf5 -- -ra - pypy38-test-opentelemetry-proto-protobuf5_ubuntu-latest: - name: opentelemetry-proto-protobuf5 pypy-3.8 Ubuntu + pypy3-test-opentelemetry-proto-protobuf5_ubuntu-latest: + name: opentelemetry-proto-protobuf5 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-proto-protobuf5 -- -ra + run: tox -e pypy3-test-opentelemetry-proto-protobuf5 -- -ra py38-test-opentelemetry-sdk_ubuntu-latest: name: opentelemetry-sdk 3.8 Ubuntu @@ -408,24 +408,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-sdk -- -ra - pypy38-test-opentelemetry-sdk_ubuntu-latest: - name: opentelemetry-sdk pypy-3.8 Ubuntu + pypy3-test-opentelemetry-sdk_ubuntu-latest: + name: opentelemetry-sdk 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-sdk -- -ra + run: tox -e pypy3-test-opentelemetry-sdk -- -ra py38-test-opentelemetry-semantic-conventions_ubuntu-latest: name: opentelemetry-semantic-conventions 3.8 Ubuntu @@ -541,24 +541,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-semantic-conventions -- -ra - pypy38-test-opentelemetry-semantic-conventions_ubuntu-latest: - name: opentelemetry-semantic-conventions pypy-3.8 Ubuntu + pypy3-test-opentelemetry-semantic-conventions_ubuntu-latest: + name: opentelemetry-semantic-conventions 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-semantic-conventions -- -ra + run: tox -e pypy3-test-opentelemetry-semantic-conventions -- -ra py38-test-opentelemetry-getting-started_ubuntu-latest: name: opentelemetry-getting-started 3.8 Ubuntu @@ -788,24 +788,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-opentracing-shim -- -ra - pypy38-test-opentelemetry-opentracing-shim_ubuntu-latest: - name: opentelemetry-opentracing-shim pypy-3.8 Ubuntu + pypy3-test-opentelemetry-opentracing-shim_ubuntu-latest: + name: opentelemetry-opentracing-shim 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-opentracing-shim -- -ra + run: tox -e pypy3-test-opentelemetry-opentracing-shim -- -ra py38-test-opentelemetry-opencensus-shim_ubuntu-latest: name: opentelemetry-opencensus-shim 3.8 Ubuntu @@ -1149,24 +1149,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-common -- -ra - pypy38-test-opentelemetry-exporter-otlp-proto-common_ubuntu-latest: - name: opentelemetry-exporter-otlp-proto-common pypy-3.8 Ubuntu + pypy3-test-opentelemetry-exporter-otlp-proto-common_ubuntu-latest: + name: opentelemetry-exporter-otlp-proto-common 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-common -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra py38-test-opentelemetry-exporter-otlp-combined_ubuntu-latest: name: opentelemetry-exporter-otlp-combined 3.8 Ubuntu @@ -1510,24 +1510,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-http -- -ra - pypy38-test-opentelemetry-exporter-otlp-proto-http_ubuntu-latest: - name: opentelemetry-exporter-otlp-proto-http pypy-3.8 Ubuntu + pypy3-test-opentelemetry-exporter-otlp-proto-http_ubuntu-latest: + name: opentelemetry-exporter-otlp-proto-http 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-http -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-http -- -ra py38-test-opentelemetry-exporter-prometheus_ubuntu-latest: name: opentelemetry-exporter-prometheus 3.8 Ubuntu @@ -1643,24 +1643,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-prometheus -- -ra - pypy38-test-opentelemetry-exporter-prometheus_ubuntu-latest: - name: opentelemetry-exporter-prometheus pypy-3.8 Ubuntu + pypy3-test-opentelemetry-exporter-prometheus_ubuntu-latest: + name: opentelemetry-exporter-prometheus 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-prometheus -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-prometheus -- -ra py38-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: name: opentelemetry-exporter-zipkin-combined 3.8 Ubuntu @@ -1776,24 +1776,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-combined -- -ra - pypy38-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: - name: opentelemetry-exporter-zipkin-combined pypy-3.8 Ubuntu + pypy3-test-opentelemetry-exporter-zipkin-combined_ubuntu-latest: + name: opentelemetry-exporter-zipkin-combined 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-combined -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-combined -- -ra py38-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: name: opentelemetry-exporter-zipkin-proto-http 3.8 Ubuntu @@ -1909,24 +1909,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-proto-http -- -ra - pypy38-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: - name: opentelemetry-exporter-zipkin-proto-http pypy-3.8 Ubuntu + pypy3-test-opentelemetry-exporter-zipkin-proto-http_ubuntu-latest: + name: opentelemetry-exporter-zipkin-proto-http 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-proto-http -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-proto-http -- -ra py38-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: name: opentelemetry-exporter-zipkin-json 3.8 Ubuntu @@ -2042,24 +2042,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-json -- -ra - pypy38-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: - name: opentelemetry-exporter-zipkin-json pypy-3.8 Ubuntu + pypy3-test-opentelemetry-exporter-zipkin-json_ubuntu-latest: + name: opentelemetry-exporter-zipkin-json 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-json -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-json -- -ra py38-test-opentelemetry-propagator-b3_ubuntu-latest: name: opentelemetry-propagator-b3 3.8 Ubuntu @@ -2175,24 +2175,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-b3 -- -ra - pypy38-test-opentelemetry-propagator-b3_ubuntu-latest: - name: opentelemetry-propagator-b3 pypy-3.8 Ubuntu + pypy3-test-opentelemetry-propagator-b3_ubuntu-latest: + name: opentelemetry-propagator-b3 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-propagator-b3 -- -ra + run: tox -e pypy3-test-opentelemetry-propagator-b3 -- -ra py38-test-opentelemetry-propagator-jaeger_ubuntu-latest: name: opentelemetry-propagator-jaeger 3.8 Ubuntu @@ -2308,24 +2308,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-jaeger -- -ra - pypy38-test-opentelemetry-propagator-jaeger_ubuntu-latest: - name: opentelemetry-propagator-jaeger pypy-3.8 Ubuntu + pypy3-test-opentelemetry-propagator-jaeger_ubuntu-latest: + name: opentelemetry-propagator-jaeger 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-propagator-jaeger -- -ra + run: tox -e pypy3-test-opentelemetry-propagator-jaeger -- -ra py38-test-opentelemetry-test-utils_ubuntu-latest: name: opentelemetry-test-utils 3.8 Ubuntu @@ -2441,24 +2441,24 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-test-utils -- -ra - pypy38-test-opentelemetry-test-utils_ubuntu-latest: - name: opentelemetry-test-utils pypy-3.8 Ubuntu + pypy3-test-opentelemetry-test-utils_ubuntu-latest: + name: opentelemetry-test-utils 3.8 Ubuntu runs-on: ubuntu-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv - name: Run tests - run: tox -e pypy38-test-opentelemetry-test-utils -- -ra + run: tox -e pypy3-test-opentelemetry-test-utils -- -ra py38-test-opentelemetry-api_windows-latest: name: opentelemetry-api 3.8 Windows @@ -2592,18 +2592,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-api -- -ra - pypy38-test-opentelemetry-api_windows-latest: - name: opentelemetry-api pypy-3.8 Windows + pypy3-test-opentelemetry-api_windows-latest: + name: opentelemetry-api 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -2612,7 +2612,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-api -- -ra + run: tox -e pypy3-test-opentelemetry-api -- -ra py38-test-opentelemetry-proto-protobuf5_windows-latest: name: opentelemetry-proto-protobuf5 3.8 Windows @@ -2746,18 +2746,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-proto-protobuf5 -- -ra - pypy38-test-opentelemetry-proto-protobuf5_windows-latest: - name: opentelemetry-proto-protobuf5 pypy-3.8 Windows + pypy3-test-opentelemetry-proto-protobuf5_windows-latest: + name: opentelemetry-proto-protobuf5 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -2766,7 +2766,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-proto-protobuf5 -- -ra + run: tox -e pypy3-test-opentelemetry-proto-protobuf5 -- -ra py38-test-opentelemetry-sdk_windows-latest: name: opentelemetry-sdk 3.8 Windows @@ -2900,18 +2900,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-sdk -- -ra - pypy38-test-opentelemetry-sdk_windows-latest: - name: opentelemetry-sdk pypy-3.8 Windows + pypy3-test-opentelemetry-sdk_windows-latest: + name: opentelemetry-sdk 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -2920,7 +2920,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-sdk -- -ra + run: tox -e pypy3-test-opentelemetry-sdk -- -ra py38-test-opentelemetry-semantic-conventions_windows-latest: name: opentelemetry-semantic-conventions 3.8 Windows @@ -3054,18 +3054,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-semantic-conventions -- -ra - pypy38-test-opentelemetry-semantic-conventions_windows-latest: - name: opentelemetry-semantic-conventions pypy-3.8 Windows + pypy3-test-opentelemetry-semantic-conventions_windows-latest: + name: opentelemetry-semantic-conventions 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -3074,7 +3074,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-semantic-conventions -- -ra + run: tox -e pypy3-test-opentelemetry-semantic-conventions -- -ra py38-test-opentelemetry-getting-started_windows-latest: name: opentelemetry-getting-started 3.8 Windows @@ -3340,18 +3340,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-opentracing-shim -- -ra - pypy38-test-opentelemetry-opentracing-shim_windows-latest: - name: opentelemetry-opentracing-shim pypy-3.8 Windows + pypy3-test-opentelemetry-opentracing-shim_windows-latest: + name: opentelemetry-opentracing-shim 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -3360,7 +3360,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-opentracing-shim -- -ra + run: tox -e pypy3-test-opentelemetry-opentracing-shim -- -ra py38-test-opentelemetry-opencensus-shim_windows-latest: name: opentelemetry-opencensus-shim 3.8 Windows @@ -3758,18 +3758,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-common -- -ra - pypy38-test-opentelemetry-exporter-otlp-proto-common_windows-latest: - name: opentelemetry-exporter-otlp-proto-common pypy-3.8 Windows + pypy3-test-opentelemetry-exporter-otlp-proto-common_windows-latest: + name: opentelemetry-exporter-otlp-proto-common 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -3778,7 +3778,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-common -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-common -- -ra py38-test-opentelemetry-exporter-otlp-combined_windows-latest: name: opentelemetry-exporter-otlp-combined 3.8 Windows @@ -4176,18 +4176,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-otlp-proto-http -- -ra - pypy38-test-opentelemetry-exporter-otlp-proto-http_windows-latest: - name: opentelemetry-exporter-otlp-proto-http pypy-3.8 Windows + pypy3-test-opentelemetry-exporter-otlp-proto-http_windows-latest: + name: opentelemetry-exporter-otlp-proto-http 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -4196,7 +4196,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-otlp-proto-http -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-otlp-proto-http -- -ra py38-test-opentelemetry-exporter-prometheus_windows-latest: name: opentelemetry-exporter-prometheus 3.8 Windows @@ -4330,18 +4330,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-prometheus -- -ra - pypy38-test-opentelemetry-exporter-prometheus_windows-latest: - name: opentelemetry-exporter-prometheus pypy-3.8 Windows + pypy3-test-opentelemetry-exporter-prometheus_windows-latest: + name: opentelemetry-exporter-prometheus 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -4350,7 +4350,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-prometheus -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-prometheus -- -ra py38-test-opentelemetry-exporter-zipkin-combined_windows-latest: name: opentelemetry-exporter-zipkin-combined 3.8 Windows @@ -4484,18 +4484,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-combined -- -ra - pypy38-test-opentelemetry-exporter-zipkin-combined_windows-latest: - name: opentelemetry-exporter-zipkin-combined pypy-3.8 Windows + pypy3-test-opentelemetry-exporter-zipkin-combined_windows-latest: + name: opentelemetry-exporter-zipkin-combined 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -4504,7 +4504,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-combined -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-combined -- -ra py38-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: name: opentelemetry-exporter-zipkin-proto-http 3.8 Windows @@ -4638,18 +4638,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-proto-http -- -ra - pypy38-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: - name: opentelemetry-exporter-zipkin-proto-http pypy-3.8 Windows + pypy3-test-opentelemetry-exporter-zipkin-proto-http_windows-latest: + name: opentelemetry-exporter-zipkin-proto-http 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -4658,7 +4658,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-proto-http -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-proto-http -- -ra py38-test-opentelemetry-exporter-zipkin-json_windows-latest: name: opentelemetry-exporter-zipkin-json 3.8 Windows @@ -4792,18 +4792,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-exporter-zipkin-json -- -ra - pypy38-test-opentelemetry-exporter-zipkin-json_windows-latest: - name: opentelemetry-exporter-zipkin-json pypy-3.8 Windows + pypy3-test-opentelemetry-exporter-zipkin-json_windows-latest: + name: opentelemetry-exporter-zipkin-json 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -4812,7 +4812,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-exporter-zipkin-json -- -ra + run: tox -e pypy3-test-opentelemetry-exporter-zipkin-json -- -ra py38-test-opentelemetry-propagator-b3_windows-latest: name: opentelemetry-propagator-b3 3.8 Windows @@ -4946,18 +4946,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-b3 -- -ra - pypy38-test-opentelemetry-propagator-b3_windows-latest: - name: opentelemetry-propagator-b3 pypy-3.8 Windows + pypy3-test-opentelemetry-propagator-b3_windows-latest: + name: opentelemetry-propagator-b3 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -4966,7 +4966,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-propagator-b3 -- -ra + run: tox -e pypy3-test-opentelemetry-propagator-b3 -- -ra py38-test-opentelemetry-propagator-jaeger_windows-latest: name: opentelemetry-propagator-jaeger 3.8 Windows @@ -5100,18 +5100,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-propagator-jaeger -- -ra - pypy38-test-opentelemetry-propagator-jaeger_windows-latest: - name: opentelemetry-propagator-jaeger pypy-3.8 Windows + pypy3-test-opentelemetry-propagator-jaeger_windows-latest: + name: opentelemetry-propagator-jaeger 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -5120,7 +5120,7 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-propagator-jaeger -- -ra + run: tox -e pypy3-test-opentelemetry-propagator-jaeger -- -ra py38-test-opentelemetry-test-utils_windows-latest: name: opentelemetry-test-utils 3.8 Windows diff --git a/.github/workflows/test_1.yml b/.github/workflows/test_1.yml index 204a533babe..19011e351d7 100644 --- a/.github/workflows/test_1.yml +++ b/.github/workflows/test_1.yml @@ -138,18 +138,18 @@ jobs: - name: Run tests run: tox -e py313-test-opentelemetry-test-utils -- -ra - pypy38-test-opentelemetry-test-utils_windows-latest: - name: opentelemetry-test-utils pypy-3.8 Windows + pypy3-test-opentelemetry-test-utils_windows-latest: + name: opentelemetry-test-utils 3.8 Windows runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 - - name: Set up Python pypy-3.8 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "pypy-3.8" + python-version: "3.8" - name: Install tox run: pip install tox-uv @@ -158,4 +158,4 @@ jobs: run: git config --system core.longpaths true - name: Run tests - run: tox -e pypy38-test-opentelemetry-test-utils -- -ra + run: tox -e pypy3-test-opentelemetry-test-utils -- -ra diff --git a/tox.ini b/tox.ini index 0aad24d6a7c..27b7ac38fd5 100644 --- a/tox.ini +++ b/tox.ini @@ -9,27 +9,27 @@ envlist = ; for specifying supported Python versions per package. py3{8,9,10,11,12,13}-test-opentelemetry-api - pypy38-test-opentelemetry-api + pypy3-test-opentelemetry-api lint-opentelemetry-api py3{8,9,10,11,12,13}-test-opentelemetry-proto-protobuf5 - pypy38-test-opentelemetry-proto-protobuf5 + pypy3-test-opentelemetry-proto-protobuf5 lint-opentelemetry-proto-protobuf5 py3{8,9,10,11,12,13}-test-opentelemetry-sdk - pypy38-test-opentelemetry-sdk + pypy3-test-opentelemetry-sdk lint-opentelemetry-sdk benchmark-opentelemetry-sdk py3{8,9,10,11,12,13}-test-opentelemetry-semantic-conventions - pypy38-test-opentelemetry-semantic-conventions + pypy3-test-opentelemetry-semantic-conventions lint-opentelemetry-semantic-conventions py3{8,9,10,11,12,13}-test-opentelemetry-getting-started lint-opentelemetry-getting-started py3{8,9,10,11,12,13}-test-opentelemetry-opentracing-shim - pypy38-test-opentelemetry-opentracing-shim + pypy3-test-opentelemetry-opentracing-shim lint-opentelemetry-opentracing-shim py3{8,9,10,11,12,13}-test-opentelemetry-opencensus-shim @@ -41,7 +41,7 @@ envlist = lint-opentelemetry-exporter-opencensus py3{8,9,10,11,12,13}-test-opentelemetry-exporter-otlp-proto-common - pypy38-test-opentelemetry-exporter-otlp-proto-common + pypy3-test-opentelemetry-exporter-otlp-proto-common lint-opentelemetry-exporter-otlp-proto-common ; opentelemetry-exporter-otlp @@ -55,42 +55,41 @@ envlist = benchmark-opentelemetry-exporter-otlp-proto-grpc py3{8,9,10,11,12,13}-test-opentelemetry-exporter-otlp-proto-http - pypy38-test-opentelemetry-exporter-otlp-proto-http + pypy3-test-opentelemetry-exporter-otlp-proto-http lint-opentelemetry-exporter-otlp-proto-http py3{8,9,10,11,12,13}-test-opentelemetry-exporter-prometheus - pypy38-test-opentelemetry-exporter-prometheus + pypy3-test-opentelemetry-exporter-prometheus lint-opentelemetry-exporter-prometheus ; opentelemetry-exporter-zipkin py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-combined - pypy38-test-opentelemetry-exporter-zipkin-combined + pypy3-test-opentelemetry-exporter-zipkin-combined lint-opentelemetry-exporter-zipkin-combined py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-proto-http - pypy38-test-opentelemetry-exporter-zipkin-proto-http + pypy3-test-opentelemetry-exporter-zipkin-proto-http lint-opentelemetry-exporter-zipkin-proto-http py3{8,9,10,11,12,13}-test-opentelemetry-exporter-zipkin-json - pypy38-test-opentelemetry-exporter-zipkin-json + pypy3-test-opentelemetry-exporter-zipkin-json lint-opentelemetry-exporter-zipkin-json py3{8,9,10,11,12,13}-test-opentelemetry-propagator-b3 - pypy38-test-opentelemetry-propagator-b3 + pypy3-test-opentelemetry-propagator-b3 lint-opentelemetry-propagator-b3 benchmark-opentelemetry-propagator-b3 py3{8,9,10,11,12,13}-test-opentelemetry-propagator-jaeger - pypy38-test-opentelemetry-propagator-jaeger + pypy3-test-opentelemetry-propagator-jaeger lint-opentelemetry-propagator-jaeger py3{8,9,10,11,12,13}-test-opentelemetry-test-utils - pypy38-test-opentelemetry-test-utils + pypy3-test-opentelemetry-test-utils lint-opentelemetry-test-utils spellcheck tracecontext - mypy,mypyinstalled typecheck docs docker-tests-{otlpexporter,opencensus} @@ -105,10 +104,6 @@ deps = coverage: pytest coverage: pytest-cov - mypy,mypyinstalled: -c {toxinidir}/dev-requirements.txt - mypy,mypyinstalled: mypy - mypy: pip - api: -r {toxinidir}/opentelemetry-api/test-requirements.txt sdk: -r {toxinidir}/opentelemetry-sdk/test-requirements.txt @@ -148,8 +143,6 @@ deps = propagator-jaeger: -r {toxinidir}/propagator/opentelemetry-propagator-jaeger/test-requirements.txt - mypyinstalled: -e {toxinidir}/opentelemetry-api - getting-started: -r {toxinidir}/docs/getting_started/tests/requirements.txt getting-started: {env:CONTRIB_REPO}\#egg=opentelemetry-util-http&subdirectory=util/opentelemetry-util-http getting-started: {env:CONTRIB_REPO}\#egg=opentelemetry-instrumentation&subdirectory=opentelemetry-instrumentation @@ -165,8 +158,6 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml - pypy38: UV_PYTHON_PREFERENCE=only-system - mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ commands_pre = ; In order to get a healthy coverage report, ; we have to install packages in editable mode. @@ -235,18 +226,6 @@ commands = coverage: {toxinidir}/scripts/coverage.sh - mypy: mypy --version - mypy: mypy --install-types --non-interactive --namespace-packages --explicit-package-bases opentelemetry-api/src/opentelemetry/ - mypy: mypy --install-types --non-interactive --namespace-packages --explicit-package-bases opentelemetry-sdk/src/opentelemetry/sdk/resources - mypy: mypy --install-types --non-interactive --namespace-packages --explicit-package-bases opentelemetry-semantic-conventions/src/opentelemetry/semconv/ - - ; For test code, we don't want to enforce the full mypy strictness - mypy: mypy --install-types --non-interactive --namespace-packages --config-file=mypy-relaxed.ini opentelemetry-api/tests/ - - ; Test that mypy can pick up typeinfo from an installed package (otherwise, - ; implicit Any due to unfollowed import would result). - mypyinstalled: mypy --install-types --non-interactive --namespace-packages opentelemetry-api/tests/mypysmoke.py --strict - [testenv:spellcheck] basepython: python3 recreate = True From 01e05f328909caadbe47e70c70a100e5cde2c31f Mon Sep 17 00:00:00 2001 From: emdneto <9735060+emdneto@users.noreply.github.com> Date: Fri, 16 May 2025 11:51:19 -0300 Subject: [PATCH 18/18] fix Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 27b7ac38fd5..8177d245a05 100644 --- a/tox.ini +++ b/tox.ini @@ -158,6 +158,7 @@ setenv = CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main} CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} UV_CONFIG_FILE={toxinidir}/tox-uv.toml + commands_pre = ; In order to get a healthy coverage report, ; we have to install packages in editable mode.