diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index b5cd75f74a..e100f18911 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -130,7 +130,7 @@ jobs: - name: Install tox run: | python3 -m pip install --upgrade pip - python3 -m pip install --upgrade "tox>=4.0.0" + python3 -m pip install --upgrade "tox>=4.0.0" "tox-uv>=1.16.0" uv - name: Log installed dists run: python3 -m pip freeze --all diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index af39e00b40..e4acfd40d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -162,6 +162,7 @@ repos: - license-expression >= 30.3.0 - pytest-mock - pytest>=7.2.2 + - pip>=22.3.1 - rich>=13.2.0 - ruamel-yaml-clib>=0.2.8 - ruamel-yaml>=0.18.6 diff --git a/tox.ini b/tox.ini index d250cf7699..ee82993570 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,7 @@ isolated_build = true skip_missing_interpreters = True requires = tox >= 4.6.3 + tox-uv >= 1.16.0 setuptools >= 65.3.0 # editable installs [testenv] @@ -98,6 +99,7 @@ description = Run all linters basepython = python3.10 deps = pre-commit>=4.0.1 + pre-commit-uv>=4.1.4 setuptools>=51.1.1 pytest>=7.2.2 # to updated schemas skip_install = true @@ -206,6 +208,7 @@ description = deps = build >= 0.9.0 twine >= 4.0.1 + pip pipx skip_install = true # Ref: https://twitter.com/di_codes/status/1044358639081975813