Skip to content

Commit 625969b

Browse files
authored
Confirm support for Django 4.2 and 5.0, drop support for 4.0 and 4.1 (#166)
* Ignore coverage.xml from source control It appeared after running tests, but should probably not be tracked * Confirm support for Django 4.2 and 5.0 * Drop support for Django 4.0 and 4.1 * Drop support for Django < 4.2
1 parent 17fc0b6 commit 625969b

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ docs/_build
44
*.egg-info
55
*.egg
66
.coverage
7+
coverage.xml
78
reports/
89
build/
910
dist/

docs/changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Changelog
44
X.Y (unreleased)
55
----------------
66

7+
- **BACKWARD-INCOMPATIBLE** Dropped support Django < 4.2.
8+
9+
- Confirmed support for Django 4.2 and 5.0 (no code changes were required).
10+
711
6.0 (2023-10-27)
812
----------------
913

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import codecs
22
from os import path
3-
from setuptools import setup, find_packages
3+
4+
from setuptools import find_packages, setup
45

56

67
def read(*parts):
@@ -28,9 +29,8 @@ def read(*parts):
2829
'Development Status :: 5 - Production/Stable',
2930
'Environment :: Web Environment',
3031
'Framework :: Django',
31-
'Framework :: Django :: 3.2',
32-
'Framework :: Django :: 4.0',
33-
'Framework :: Django :: 4.1',
32+
'Framework :: Django :: 4.2',
33+
'Framework :: Django :: 5.0',
3434
'Intended Audience :: Developers',
3535
'License :: OSI Approved :: BSD License',
3636
'Operating System :: OS Independent',

tox.ini

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@
22
downloadcache = {distshare}
33
args_are_paths = false
44
envlist =
5-
py{38,39,310}-dj32
6-
py{38,39,310}-dj40
7-
py{38,39,310,311}-dj41
5+
py{38,39,310,311,312}-dj42
6+
py{310,311,312}-dj50
87
py{310,311,312}-djmain
98

109
[testenv]
1110
usedevelop = true
1211
commands = make test
1312
allowlist_externals = make
1413
deps =
15-
dj32: Django>=3.2a1,<4.0
16-
dj40: Django>=4.0a1,<4.1
17-
dj41: Django>=4.1a1,<4.2
14+
dj42: Django>=4.2,<5.0
15+
dj50: Django>=5.0,<5.1
1816
djmain: https://github.com/django/django/tarball/main
1917
coverage
2018
flake8

0 commit comments

Comments
 (0)