Skip to content

Commit

Permalink
Merge pull request #117 from adamchainz/django_5.0
Browse files Browse the repository at this point in the history
Test on Django 5.0
  • Loading branch information
willbarton authored Jul 5, 2024
2 parents ec4fc18 + 675c8ca commit 724edb5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- py39-dj40
- py39-dj41
- py39-dj42
- py310-dj50
include:
- toxenv: py37-dj22
python-version: 3.7
Expand All @@ -54,6 +55,8 @@ jobs:
python-version: 3.9
- toxenv: py39-dj42
python-version: 3.9
- toxenv: py310-dj50
python-version: '3.10'
steps:
- uses: actions/checkout@v4

Expand Down
1 change: 1 addition & 0 deletions docs/releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### What's new?

- Added Django 5.0 support (thanks [@adamchainz](https://github.com/adamchainz)!)

## 5.0.13

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
"License :: Public Domain",
"Programming Language :: Python",
Expand Down
14 changes: 9 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
[tox]
skipsdist=True
envlist=lint,py{37,39}-dj{22,32},py39-dj40,py39-dj41,py39-dj42,coverage
envlist=
lint
py{37,39}-dj{22,32}
py39-dj40
py39-dj41
py39-dj42
py310-dj50
coverage

[testenv]
install_command=pip install -e ".[testing]" -U {opts} {packages}
Expand All @@ -9,16 +16,13 @@ commands=
setenv=
DJANGO_SETTINGS_MODULE=flags.tests.settings

basepython=
py37: python3.7
py39: python3.9

deps=
dj22: Django>=2.2,<2.3
dj32: Django>=3.2,<3.3
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<4.3
dj50: Django>=5.0a1,<5.1

[testenv:lint]
basepython=python3.12
Expand Down

0 comments on commit 724edb5

Please sign in to comment.