Skip to content

Commit

Permalink
Start using uv for testing (#4382)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Nov 2, 2024
1 parent 584cc44 commit 97f552b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 97f552b

Please sign in to comment.