Skip to content

Commit

Permalink
Add Django 5.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaoming committed Aug 21, 2024
1 parent 98250c5 commit 938d1f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ workflows:
- hatch:
hatch_env: "py3.10-dj5.0"
python_version: "3.10"
- hatch:
hatch_env: "py3.10-dj5.1"
python_version: "3.10"
- hatch:
hatch_env: "py3.11-dj4.1"
python_version: "3.11"
Expand All @@ -99,4 +102,13 @@ workflows:
- hatch:
hatch_env: "py3.11-dj5.0"
python_version: "3.11"
- hatch:
hatch_env: "py3.11-dj5.1"
python_version: "3.11"
- hatch:
hatch_env: "py3.11-dj5.0"
python_version: "3.12"
- hatch:
hatch_env: "py3.11-dj5.1"
python_version: "3.12"
- lint
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Application Frameworks",
]
dependencies = [
"django>=2.2,<5.1",
"django>=2.2,<5.2",
]
dynamic = ["version"]

Expand Down Expand Up @@ -124,8 +124,8 @@ python = ["3.8", "3.9", "3.10", "3.11"]
django = ["4.1", "4.2"]

[[tool.hatch.envs.test.matrix]]
python = ["3.10", "3.11"]
django = ["5.0"]
python = ["3.10", "3.11", "3.12"]
django = ["5.0", "5.1"]

[tool.hatch.envs.test.scripts]
all = [
Expand Down

0 comments on commit 938d1f9

Please sign in to comment.