Skip to content

Commit feade1f

Browse files
authored
Support Python 3.12 and Django 5.0 (#499)
* Support Python 3.12 * Support Django 5.0
1 parent 8f32a28 commit feade1f

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
15+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Set up Python ${{ matrix.python-version }}

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def get_test_requirements():
5353
"Framework :: Django :: 4.0",
5454
"Framework :: Django :: 4.1",
5555
"Framework :: Django :: 4.2",
56+
"Framework :: Django :: 5.0",
5657
"Intended Audience :: Developers",
5758
"Intended Audience :: System Administrators",
5859
"License :: OSI Approved :: BSD License",
@@ -64,6 +65,7 @@ def get_test_requirements():
6465
"Programming Language :: Python :: 3.9",
6566
"Programming Language :: Python :: 3.10",
6667
"Programming Language :: Python :: 3.11",
68+
"Programming Language :: Python :: 3.12",
6769
"Topic :: Database",
6870
"Topic :: System :: Archiving",
6971
"Topic :: System :: Archiving :: Backup",

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{37,38,39}-django22,py{37,38,39,310,311}-django{32,40,41,42,master},lint,docs,functional
2+
envlist = py{37,38,39}-django22,py{37,38,39,310,311,312}-django{32,40,41,42,50,master},lint,docs,functional
33

44
[testenv]
55
passenv = *
@@ -12,6 +12,7 @@ deps =
1212
django40: django>=4.0,<4.1
1313
django41: django>=4.1,<4.2
1414
django42: django>=4.2,<4.3
15+
django50: django>=5.0,<5.1
1516
djangomaster: https://github.com/django/django/archive/master.zip
1617
commands = {posargs:coverage run runtests.py}
1718

@@ -21,8 +22,9 @@ python =
2122
3.7: py37-django{22,32},functional
2223
3.8: py38-django{22,32,40,41,42},functional
2324
3.9: py39-django{22,32,40,41,42},functional
24-
3.10: py310-django{22,32,40,41,42},functional
25-
3.11: py311-django{40,41,42},functional
25+
3.10: py310-django{22,32,40,41,42,50},functional
26+
3.11: py311-django{40,41,42,50},functional
27+
3.12: py312-django{42,50},functional
2628

2729
[testenv:lint]
2830
basepython = python

0 commit comments

Comments
 (0)