Skip to content

Commit ee88125

Browse files
committed
Fix tox runner: use uv-venv-lock-runner and restore corpus downloads
The uv-venv-runner doesn't install project dependencies (it's a simple venv creator). Switch to uv-venv-lock-runner which runs `uv sync --locked` to install the project and all dependencies from the lockfile. Also remove `skipsdist = true` which prevented tox from installing the project, and use `package = skip` for the report env instead of `skip_install`.
1 parent 4f70c4b commit ee88125

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tox.ini

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
[tox]
22
envlist = py{312,313,314}-docker
3-
skipsdist = true
43

54
[testenv]
6-
runner = uv-venv-runner
5+
runner = uv-venv-lock-runner
76
commands_pre =
87
# TODO: This can be removed once NLTK merges https://github.com/sloria/TextBlob/pull/469
98
python -m nltk.downloader punkt_tab
@@ -33,8 +32,8 @@ allowlist_externals =
3332
pytest
3433

3534
[testenv:report]
36-
runner = uv-venv-runner
37-
skip_install = true
35+
runner = uv-venv-lock-runner
36+
package = skip
3837
commands =
3938
coverage combine
4039
coverage html

0 commit comments

Comments
 (0)