-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (32 loc) · 927 Bytes
/
tox.ini
File metadata and controls
34 lines (32 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[tox]
isolated_build = true
envlist =
django42-py{310,311,312}
django52-py{310,311,312,313,314}
django60-py{312,313,314}
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314
[testenv]
runner = uv-venv-lock-runner
package = wheel
wheel_build_env = .pkg
set_env =
PYTHONDEVMODE = 1
# Exclude django from the uv sync so commands_pre below can install the
# factor-specific Django version. Without this, `uv sync --locked` would
# reinstall django from uv.lock and defeat the django42/django52/django60
# matrix. The uv-venv-lock-runner ignores `deps =`, so the version bump
# must happen via commands_pre.
uv_sync_flags = --no-install-package, django
extras = django-extensions
commands_pre =
django42: uv pip install "Django>=4.2a1,<5.0"
django52: uv pip install "Django>=5.2a1,<6"
django60: uv pip install "Django>=6.0a1,<6.1"
commands =
pytest