Skip to content

Commit

Permalink
Adds 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 4bd1cdc commit bb2fef6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ workflows:
name: "Python 3.10, Django 5.0"
hatch_env: "py3.10-dj5.0"
python_version: "3.10"
- hatch:
name: "Python 3.10, Django 5.1"
hatch_env: "py3.10-dj5.1"
python_version: "3.10"
- hatch:
name: "Python 3.11, Django 4.1"
hatch_env: "py3.11-dj4.1"
Expand All @@ -84,8 +88,16 @@ workflows:
name: "Python 3.11, Django 5.0"
hatch_env: "py3.11-dj5.0"
python_version: "3.11"
- hatch:
name: "Python 3.11, Django 5.1"
hatch_env: "py3.11-dj5.1"
python_version: "3.11"
- hatch:
name: "Python 3.12, Django 5.0"
hatch_env: "py3.12-dj5.0"
python_version: "3.12"
- hatch:
name: "Python 3.12, Django 5.1"
hatch_env: "py3.12-dj5.1"
python_version: "3.12"
- lint
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ classifiers = [
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
Expand All @@ -41,7 +42,7 @@ classifiers = [
]
dependencies = [
# Django version support is added one minor release at a time
"Django>=3.2,<5.1",
"Django>=3.2,<5.2",
# bleach has been pretty stable, hence the loose pin
"bleach[css]>=6,<7",
# Pillow is used very little and has never broken
Expand Down Expand Up @@ -194,7 +195,7 @@ django = ["4.1", "4.2"]

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

[tool.hatch.envs.transifex]
dependencies = []
Expand Down

0 comments on commit bb2fef6

Please sign in to comment.