Skip to content

Commit b3ec3d9

Browse files
committed
Start using uv for testing
1 parent 584cc44 commit b3ec3d9

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/tox.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
- name: Install tox
131131
run: |
132132
python3 -m pip install --upgrade pip
133-
python3 -m pip install --upgrade "tox>=4.0.0"
133+
python3 -m pip install --upgrade "tox>=4.0.0" "tox-uv>=1.16.0" uv
134134
135135
- name: Log installed dists
136136
run: python3 -m pip freeze --all

.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ repos:
162162
- license-expression >= 30.3.0
163163
- pytest-mock
164164
- pytest>=7.2.2
165+
- pip>=22.3.1
165166
- rich>=13.2.0
166167
- ruamel-yaml-clib>=0.2.8
167168
- ruamel-yaml>=0.18.6

tox.ini

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ isolated_build = true
1616
skip_missing_interpreters = True
1717
requires =
1818
tox >= 4.6.3
19+
tox-uv >= 1.16.0
1920
setuptools >= 65.3.0 # editable installs
2021

2122
[testenv]
@@ -98,6 +99,7 @@ description = Run all linters
9899
basepython = python3.10
99100
deps =
100101
pre-commit>=4.0.1
102+
pre-commit-uv>=4.1.4
101103
setuptools>=51.1.1
102104
pytest>=7.2.2 # to updated schemas
103105
skip_install = true
@@ -206,6 +208,7 @@ description =
206208
deps =
207209
build >= 0.9.0
208210
twine >= 4.0.1
211+
pip
209212
pipx
210213
skip_install = true
211214
# Ref: https://twitter.com/di_codes/status/1044358639081975813

0 commit comments

Comments
 (0)