Skip to content

Commit 3a2e974

Browse files
authored
Move test dependencies to native uv (#1133)
1 parent 162a6f6 commit 3a2e974

20 files changed

+537
-2792
lines changed

Diff for: pyproject.toml

+29
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,25 @@ urls.Documentation = "https://django-mysql.readthedocs.io/"
4747
urls.Funding = "https://adamj.eu/books/"
4848
urls.Repository = "https://github.com/adamchainz/django-mysql"
4949

50+
[dependency-groups]
51+
test = [
52+
"coverage[toml]",
53+
"django",
54+
"django-jsonfield-backport",
55+
"mariadb-dyncol",
56+
"mysqlclient>=1.4.3",
57+
"parameterized",
58+
"pytest",
59+
"pytest-django",
60+
"pytest-flake8-path",
61+
"pytest-randomly",
62+
"typing-extensions",
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+
5069
[tool.isort]
5170
add_imports = [
5271
"from __future__ import annotations",
@@ -108,3 +127,13 @@ ignore_directives = [
108127
"automodule",
109128
]
110129
report_level = "ERROR"
130+
131+
[tool.uv]
132+
conflicts = [
133+
[
134+
{ group = "django42" },
135+
{ group = "django50" },
136+
{ group = "django51" },
137+
{ group = "django52" },
138+
],
139+
]

Diff for: tests/requirements/compile.py

-175
This file was deleted.

0 commit comments

Comments
 (0)