Skip to content

Introducing tox-uv #4516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"pypy3": "3.8",
"py38": "3.8",
"py39": "3.9",
"py310": "3.10",
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/lint_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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-protobuf5
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
20 changes: 10 additions & 10 deletions .github/workflows/misc_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/templates/lint.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/templates/misc.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/templates/test.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading
Loading