Skip to content

Commit

Permalink
CI: Enable testing Python 3.13 and Django 5.1 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
intgr authored Jan 21, 2025
1 parent 3fac214 commit 356f74e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ therefore safe to use in production.
Changelog
---------

Unreleased
Unreleased (2025-01-21)

* Dropped Python 3.7 support, now requires Python 3.8+.
* Enabled CI testing with Python 3.13 and Django 5.1.

2.0.1 (2023-12-08)

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def long_description():
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
(
"License :: OSI Approved :: "
Expand All @@ -38,6 +39,7 @@ def long_description():
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Debuggers",
"Topic :: Utilities",
],
Expand Down
11 changes: 7 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
envlist =
py{38,39,310,311}-dj{22,30,32}
py{38,39,310,311,312}-dj{40,41,42}
py{310,311,312}-dj50
py{310,311,312}-dj{50,51}
py313-dj51

[gh-actions]
python =
3.8: py38-dj{22,30,32,40,41,42}
3.9: py39-dj{22,30,32,40,41,42}
3.10: py310-dj{22,30,32,40,41,42,50}
3.11: py311-dj{22,30,32,40,41,42,50}
3.12: py312-dj{22,30,32,40,41,42,50}
3.10: py310-dj{22,30,32,40,41,42,50,51}
3.11: py311-dj{22,30,32,40,41,42,50,51}
3.12: py312-dj{22,30,32,40,41,42,50,51}
3.13: py312-dj{40,41,42,50,51}

[pytest]
python_files = tests.py
Expand All @@ -28,4 +30,5 @@ deps =
dj41: Django~=4.1.0
dj42: Django~=4.2.0
dj50: Django~=5.0.0
dj51: Django~=5.1.0
commands = pytest

0 comments on commit 356f74e

Please sign in to comment.