Skip to content

Commit e784b61

Browse files
authored
Move test dependencies to native uv (#990)
1 parent 6346b0f commit e784b61

20 files changed

+430
-2014
lines changed

pyproject.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ urls.Changelog = "https://github.com/adamchainz/django-cors-headers/blob/main/CH
5252
urls.Funding = "https://adamj.eu/books/"
5353
urls.Repository = "https://github.com/adamchainz/django-cors-headers"
5454

55+
[dependency-groups]
56+
test = [
57+
"asgiref>=3.6",
58+
"coverage[toml]",
59+
"django",
60+
"pytest",
61+
"pytest-django",
62+
"pytest-randomly",
63+
]
64+
django42 = [ "django>=4.2a1,<5; python_version>='3.8'" ]
65+
django50 = [ "django>=5.0a1,<5.1; python_version>='3.10'" ]
66+
django51 = [ "django>=5.1a1,<5.2; python_version>='3.10'" ]
67+
django52 = [ "django>=5.2a1,<6; python_version>='3.10'" ]
68+
5569
[tool.isort]
5670
add_imports = [
5771
"from __future__ import annotations",
@@ -105,3 +119,13 @@ allow_untyped_defs = true
105119

106120
[tool.rstcheck]
107121
report_level = "ERROR"
122+
123+
[tool.uv]
124+
conflicts = [
125+
[
126+
{ group = "django42" },
127+
{ group = "django50" },
128+
{ group = "django51" },
129+
{ group = "django52" },
130+
],
131+
]

tests/requirements/compile.py

Lines changed: 0 additions & 173 deletions
This file was deleted.

tests/requirements/py310-django42.txt

Lines changed: 0 additions & 151 deletions
This file was deleted.

0 commit comments

Comments
 (0)