diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index c3e421b345c..fc7e65a02db 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/generate_workflows.py b/.github/workflows/generate_workflows.py index a58047ffc4c..f2323036ec3 100644 --- a/.github/workflows/generate_workflows.py +++ b/.github/workflows/generate_workflows.py @@ -14,7 +14,7 @@ ) _tox_lint_env_regex = re_compile(r"lint-(?P[-\w]+)") _tox_contrib_env_regex = re_compile( - r"py38-test-(?P[-\w]+\w)-?(?P\d+)?" + r"py39-test-(?P[-\w]+\w)-?(?P\d+)?" ) diff --git a/.github/workflows/lint_0.yml b/.github/workflows/lint_0.yml index 6ebc6a88b81..7418c33ee99 100644 --- a/.github/workflows/lint_0.yml +++ b/.github/workflows/lint_0.yml @@ -42,7 +42,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 @@ -61,7 +61,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-gen-latest @@ -80,7 +80,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 @@ -99,7 +99,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 @@ -118,7 +118,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 @@ -137,7 +137,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 @@ -156,7 +156,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 @@ -175,7 +175,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 @@ -194,7 +194,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 @@ -213,7 +213,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 @@ -232,7 +232,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-latest @@ -251,7 +251,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 @@ -270,7 +270,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 @@ -289,7 +289,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 @@ -308,7 +308,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 @@ -327,7 +327,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 @@ -346,7 +346,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 @@ -365,7 +365,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 @@ -384,7 +384,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 3fb9266cc02..e79a367aed8 100644 --- a/.github/workflows/misc_0.yml +++ b/.github/workflows/misc_0.yml @@ -42,7 +42,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 @@ -61,7 +61,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 @@ -80,7 +80,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 @@ -101,7 +101,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 @@ -120,7 +120,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 @@ -139,7 +139,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 @@ -172,7 +172,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 @@ -191,7 +191,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 @@ -213,7 +213,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 @@ -235,7 +235,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 169f8f61dc4..5852887d930 100644 --- a/.github/workflows/templates/lint.yml.j2 +++ b/.github/workflows/templates/lint.yml.j2 @@ -43,7 +43,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 d2f5fed3b83..d52a706f484 100644 --- a/.github/workflows/templates/misc.yml.j2 +++ b/.github/workflows/templates/misc.yml.j2 @@ -70,7 +70,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 8e8338b6237..d7f603dfa17 100644 --- a/.github/workflows/templates/test.yml.j2 +++ b/.github/workflows/templates/test.yml.j2 @@ -43,7 +43,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 74ef5fa80d6..2dba88443c5 100644 --- a/.github/workflows/test_0.yml +++ b/.github/workflows/test_0.yml @@ -42,7 +42,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 @@ -61,7 +61,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 @@ -80,7 +80,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 @@ -99,7 +99,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 @@ -118,7 +118,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 @@ -137,7 +137,7 @@ jobs: python-version: "pypy-3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-api -- -ra @@ -156,7 +156,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-gen-oldest -- -ra @@ -175,7 +175,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-gen-latest -- -ra @@ -194,7 +194,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-gen-oldest -- -ra @@ -213,7 +213,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-gen-latest -- -ra @@ -232,7 +232,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-gen-oldest -- -ra @@ -251,7 +251,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-gen-latest -- -ra @@ -270,7 +270,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-gen-oldest -- -ra @@ -289,7 +289,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-gen-latest -- -ra @@ -308,7 +308,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-gen-oldest -- -ra @@ -327,7 +327,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-gen-latest -- -ra @@ -346,7 +346,7 @@ jobs: python-version: "pypy-3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-proto-gen-oldest -- -ra @@ -365,7 +365,7 @@ jobs: python-version: "pypy-3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-proto-gen-latest -- -ra @@ -384,7 +384,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 @@ -403,7 +403,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 @@ -422,7 +422,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 @@ -441,7 +441,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 @@ -460,7 +460,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 @@ -479,7 +479,7 @@ jobs: python-version: "pypy-3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-sdk -- -ra @@ -498,7 +498,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 @@ -517,7 +517,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 @@ -536,7 +536,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 @@ -555,7 +555,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 @@ -574,7 +574,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 @@ -593,7 +593,7 @@ jobs: python-version: "pypy-3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-semantic-conventions -- -ra @@ -612,7 +612,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 @@ -631,7 +631,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 @@ -650,7 +650,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 @@ -669,7 +669,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 @@ -688,7 +688,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 @@ -707,7 +707,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 @@ -726,7 +726,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 @@ -745,7 +745,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 @@ -764,7 +764,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 @@ -783,7 +783,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 @@ -802,7 +802,7 @@ jobs: python-version: "pypy-3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-opentracing-shim -- -ra @@ -821,7 +821,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 @@ -840,7 +840,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 @@ -859,7 +859,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 @@ -878,7 +878,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 @@ -897,7 +897,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 @@ -916,7 +916,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 @@ -935,7 +935,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 @@ -954,7 +954,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 @@ -973,7 +973,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 @@ -992,7 +992,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 @@ -1011,7 +1011,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 @@ -1030,7 +1030,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 @@ -1049,7 +1049,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 @@ -1068,7 +1068,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 @@ -1087,7 +1087,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 @@ -1106,7 +1106,7 @@ jobs: python-version: "pypy-3.9" - 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 @@ -1125,7 +1125,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 @@ -1144,7 +1144,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 @@ -1163,7 +1163,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 @@ -1182,7 +1182,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 @@ -1201,7 +1201,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 @@ -1220,7 +1220,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-oldest -- -ra @@ -1239,7 +1239,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-latest -- -ra @@ -1258,7 +1258,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-oldest -- -ra @@ -1277,7 +1277,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-latest -- -ra @@ -1296,7 +1296,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-oldest -- -ra @@ -1315,7 +1315,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-latest -- -ra @@ -1334,7 +1334,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-oldest -- -ra @@ -1353,7 +1353,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-latest -- -ra @@ -1372,7 +1372,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-oldest -- -ra @@ -1391,7 +1391,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-latest -- -ra @@ -1410,7 +1410,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 @@ -1429,7 +1429,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 @@ -1448,7 +1448,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 @@ -1467,7 +1467,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 @@ -1486,7 +1486,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 @@ -1505,7 +1505,7 @@ jobs: python-version: "pypy-3.9" - 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 @@ -1524,7 +1524,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 @@ -1543,7 +1543,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 @@ -1562,7 +1562,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 @@ -1581,7 +1581,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 @@ -1600,7 +1600,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 @@ -1619,7 +1619,7 @@ jobs: python-version: "pypy-3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-exporter-prometheus -- -ra @@ -1638,7 +1638,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 @@ -1657,7 +1657,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 @@ -1676,7 +1676,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 @@ -1695,7 +1695,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 @@ -1714,7 +1714,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 @@ -1733,7 +1733,7 @@ jobs: python-version: "pypy-3.9" - 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 @@ -1752,7 +1752,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 @@ -1771,7 +1771,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 @@ -1790,7 +1790,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 @@ -1809,7 +1809,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 @@ -1828,7 +1828,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 @@ -1847,7 +1847,7 @@ jobs: python-version: "pypy-3.9" - 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 @@ -1866,7 +1866,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 @@ -1885,7 +1885,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 @@ -1904,7 +1904,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 @@ -1923,7 +1923,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 @@ -1942,7 +1942,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 @@ -1961,7 +1961,7 @@ jobs: python-version: "pypy-3.9" - 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 @@ -1980,7 +1980,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 @@ -1999,7 +1999,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 @@ -2018,7 +2018,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 @@ -2037,7 +2037,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 @@ -2056,7 +2056,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 @@ -2075,7 +2075,7 @@ jobs: python-version: "pypy-3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-propagator-b3 -- -ra @@ -2094,7 +2094,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 @@ -2113,7 +2113,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 @@ -2132,7 +2132,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 @@ -2151,7 +2151,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 @@ -2170,7 +2170,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 @@ -2189,7 +2189,7 @@ jobs: python-version: "pypy-3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-propagator-jaeger -- -ra @@ -2208,7 +2208,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 @@ -2227,7 +2227,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 @@ -2246,7 +2246,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 @@ -2265,7 +2265,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 @@ -2284,7 +2284,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 @@ -2303,7 +2303,7 @@ jobs: python-version: "pypy-3.9" - name: Install tox - run: pip install tox + run: pip install tox-uv - name: Run tests run: tox -e pypy3-test-opentelemetry-test-utils -- -ra @@ -2322,7 +2322,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 @@ -2344,7 +2344,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 @@ -2366,7 +2366,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 @@ -2388,7 +2388,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 @@ -2410,7 +2410,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 @@ -2432,7 +2432,7 @@ jobs: python-version: "pypy-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 @@ -2454,7 +2454,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 @@ -2476,7 +2476,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 @@ -2498,7 +2498,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 @@ -2520,7 +2520,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 @@ -2542,7 +2542,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 @@ -2564,7 +2564,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 @@ -2586,7 +2586,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 @@ -2608,7 +2608,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 @@ -2630,7 +2630,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 @@ -2652,7 +2652,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 @@ -2674,7 +2674,7 @@ jobs: python-version: "pypy-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 @@ -2696,7 +2696,7 @@ jobs: python-version: "pypy-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 @@ -2718,7 +2718,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 @@ -2740,7 +2740,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 @@ -2762,7 +2762,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 @@ -2784,7 +2784,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 @@ -2806,7 +2806,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 @@ -2828,7 +2828,7 @@ jobs: python-version: "pypy-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 @@ -2850,7 +2850,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 @@ -2872,7 +2872,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 @@ -2894,7 +2894,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 @@ -2916,7 +2916,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 @@ -2938,7 +2938,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 @@ -2960,7 +2960,7 @@ jobs: python-version: "pypy-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 @@ -2982,7 +2982,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 @@ -3004,7 +3004,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 @@ -3026,7 +3026,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 @@ -3048,7 +3048,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 @@ -3070,7 +3070,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 @@ -3092,7 +3092,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 @@ -3114,7 +3114,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 @@ -3136,7 +3136,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 @@ -3158,7 +3158,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 @@ -3180,7 +3180,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 @@ -3202,7 +3202,7 @@ jobs: python-version: "pypy-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 @@ -3224,7 +3224,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 @@ -3246,7 +3246,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 @@ -3268,7 +3268,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 @@ -3290,7 +3290,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 @@ -3312,7 +3312,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 @@ -3334,7 +3334,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 @@ -3356,7 +3356,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 @@ -3378,7 +3378,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 @@ -3400,7 +3400,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 @@ -3422,7 +3422,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 @@ -3444,7 +3444,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 @@ -3466,7 +3466,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 @@ -3488,7 +3488,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 @@ -3510,7 +3510,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 @@ -3532,7 +3532,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 @@ -3554,7 +3554,7 @@ jobs: python-version: "pypy-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 @@ -3576,7 +3576,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 @@ -3598,7 +3598,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 @@ -3620,7 +3620,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 @@ -3642,7 +3642,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 @@ -3664,7 +3664,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 @@ -3686,7 +3686,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 @@ -3708,7 +3708,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 @@ -3730,7 +3730,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 @@ -3752,7 +3752,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 @@ -3774,7 +3774,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 @@ -3796,7 +3796,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 @@ -3818,7 +3818,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 @@ -3840,7 +3840,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 @@ -3862,7 +3862,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 @@ -3884,7 +3884,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 @@ -3906,7 +3906,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 @@ -3928,7 +3928,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 @@ -3950,7 +3950,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 @@ -3972,7 +3972,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 @@ -3994,7 +3994,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 @@ -4016,7 +4016,7 @@ jobs: python-version: "pypy-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 @@ -4038,7 +4038,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 @@ -4060,7 +4060,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 @@ -4082,7 +4082,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 @@ -4104,7 +4104,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 @@ -4126,7 +4126,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 @@ -4148,7 +4148,7 @@ jobs: python-version: "pypy-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 @@ -4170,7 +4170,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 @@ -4192,7 +4192,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 @@ -4214,7 +4214,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 @@ -4236,7 +4236,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 @@ -4258,7 +4258,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 @@ -4280,7 +4280,7 @@ jobs: python-version: "pypy-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 @@ -4302,7 +4302,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 @@ -4324,7 +4324,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 @@ -4346,7 +4346,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 @@ -4368,7 +4368,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 @@ -4390,7 +4390,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 @@ -4412,7 +4412,7 @@ jobs: python-version: "pypy-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 @@ -4434,7 +4434,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 @@ -4456,7 +4456,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 @@ -4478,7 +4478,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 @@ -4500,7 +4500,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 @@ -4522,7 +4522,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 @@ -4544,7 +4544,7 @@ jobs: python-version: "pypy-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 @@ -4566,7 +4566,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 @@ -4588,7 +4588,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 @@ -4610,7 +4610,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 @@ -4632,7 +4632,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 @@ -4654,7 +4654,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 @@ -4676,7 +4676,7 @@ jobs: python-version: "pypy-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 @@ -4698,7 +4698,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 @@ -4720,7 +4720,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 @@ -4742,7 +4742,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 @@ -4764,7 +4764,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 @@ -4786,7 +4786,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 @@ -4808,7 +4808,7 @@ jobs: python-version: "pypy-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 @@ -4830,7 +4830,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 @@ -4852,7 +4852,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 @@ -4874,7 +4874,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 @@ -4896,7 +4896,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 @@ -4918,7 +4918,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 @@ -4940,7 +4940,7 @@ jobs: python-version: "pypy-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 diff --git a/.github/workflows/test_1.yml b/.github/workflows/test_1.yml deleted file mode 100644 index 0e1f9f8205e..00000000000 --- a/.github/workflows/test_1.yml +++ /dev/null @@ -1,141 +0,0 @@ -# Do not edit this file. -# This file is generated automatically by executing tox -e generate-workflows - -name: Test 1 - -on: - push: - branches-ignore: - - 'release/*' - pull_request: - -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true - -env: - CORE_REPO_SHA: main - # Set the SHA to the branch name if the PR has a label 'prepare-release' or 'backport' otherwise, set it to 'main' - # For PRs you can change the inner fallback ('main') - # For pushes you change the outer fallback ('main') - # The logic below is used during releases and depends on having an equivalent branch name in the contrib repo. - CONTRIB_REPO_SHA: ${{ github.event_name == 'pull_request' && ( - contains(github.event.pull_request.labels.*.name, 'prepare-release') && github.event.pull_request.head.ref || - contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref || - 'main' - ) || 'main' }} - PIP_EXISTS_ACTION: w - -jobs: - - py39-test-opentelemetry-test-utils_windows-latest: - name: opentelemetry-test-utils 3.9 Windows - runs-on: windows-latest - timeout-minutes: 30 - steps: - - name: Checkout repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - - - name: Set up Python 3.9 - uses: actions/setup-python@v5 - with: - python-version: "3.9" - - - name: Install tox - run: pip install tox - - - name: Configure git to support long filenames - run: git config --system core.longpaths true - - - name: Run tests - run: tox -e py39-test-opentelemetry-test-utils -- -ra - - py310-test-opentelemetry-test-utils_windows-latest: - name: opentelemetry-test-utils 3.10 Windows - runs-on: windows-latest - timeout-minutes: 30 - steps: - - name: Checkout repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - - - name: Set up Python 3.10 - uses: actions/setup-python@v5 - with: - python-version: "3.10" - - - name: Install tox - run: pip install tox - - - name: Configure git to support long filenames - run: git config --system core.longpaths true - - - name: Run tests - run: tox -e py310-test-opentelemetry-test-utils -- -ra - - py311-test-opentelemetry-test-utils_windows-latest: - name: opentelemetry-test-utils 3.11 Windows - runs-on: windows-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 - - - name: Configure git to support long filenames - run: git config --system core.longpaths true - - - name: Run tests - run: tox -e py311-test-opentelemetry-test-utils -- -ra - - py312-test-opentelemetry-test-utils_windows-latest: - name: opentelemetry-test-utils 3.12 Windows - runs-on: windows-latest - timeout-minutes: 30 - steps: - - name: Checkout repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - - - name: Set up Python 3.12 - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - - name: Install tox - run: pip install tox - - - name: Configure git to support long filenames - run: git config --system core.longpaths true - - - name: Run tests - run: tox -e py312-test-opentelemetry-test-utils -- -ra - - py313-test-opentelemetry-test-utils_windows-latest: - name: opentelemetry-test-utils 3.13 Windows - runs-on: windows-latest - timeout-minutes: 30 - steps: - - name: Checkout repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - - - name: Set up Python 3.13 - uses: actions/setup-python@v5 - with: - python-version: "3.13" - - - name: Install tox - run: pip install tox - - - name: Configure git to support long filenames - run: git config --system core.longpaths true - - - name: Run tests - run: tox -e py313-test-opentelemetry-test-utils -- -ra - - 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-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 369a0e9acf0..b2b1dae85e2 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 @@ -158,6 +160,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 commands_pre = ; In order to get a healthy coverage report, ; we have to install packages in editable mode. @@ -251,7 +254,6 @@ commands = sphinx-build -E -a -W -b html -T . _build/html [testenv:tracecontext] -basepython: python3 deps = # needed for tracecontext aiohttp~=3.6 @@ -263,10 +265,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