Skip to content

Commit 54489b3

Browse files
committed
migrate to PEP 735 dependency-groups
1 parent 9b202b5 commit 54489b3

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies = [
3434
"asgiref>=3.9.0,<4",
3535
]
3636

37-
[project.optional-dependencies]
37+
[dependency-groups]
3838
tests = [
3939
"async-timeout",
4040
"coverage~=4.5",

tox.ini

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
[tox]
2+
requires =
3+
tox>=4.22
24
envlist =
35
py{310,311,312,313,314}-dj52
46
py{312,313,314}-dj60
57
py{312,313,314}-djmain
68
qa
79

810
[testenv]
9-
extras = tests, daphne
11+
dependency_groups =
12+
tests
13+
daphne
1014
commands =
1115
pytest -v {posargs}
1216
deps =

0 commit comments

Comments
 (0)