Skip to content

Commit

Permalink
Move test dependencies to native uv
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Feb 11, 2025
1 parent 6346b0f commit c93470f
Show file tree
Hide file tree
Showing 20 changed files with 430 additions and 2,014 deletions.
24 changes: 24 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ urls.Changelog = "https://github.com/adamchainz/django-cors-headers/blob/main/CH
urls.Funding = "https://adamj.eu/books/"
urls.Repository = "https://github.com/adamchainz/django-cors-headers"

[dependency-groups]
test = [
"asgiref>=3.6",
"coverage[toml]",
"django",
"pytest",
"pytest-django",
"pytest-randomly",
]
django42 = [ "django>=4.2a1,<5; python_version>='3.8'" ]
django50 = [ "django>=5.0a1,<5.1; python_version>='3.10'" ]
django51 = [ "django>=5.1a1,<5.2; python_version>='3.10'" ]
django52 = [ "django>=5.2a1,<6; python_version>='3.10'" ]

[tool.isort]
add_imports = [
"from __future__ import annotations",
Expand Down Expand Up @@ -105,3 +119,13 @@ allow_untyped_defs = true

[tool.rstcheck]
report_level = "ERROR"

[tool.uv]
conflicts = [
[
{ group = "django42" },
{ group = "django50" },
{ group = "django51" },
{ group = "django52" },
],
]
173 changes: 0 additions & 173 deletions tests/requirements/compile.py

This file was deleted.

151 changes: 0 additions & 151 deletions tests/requirements/py310-django42.txt

This file was deleted.

Loading

0 comments on commit c93470f

Please sign in to comment.