Skip to content

Commit

Permalink
Confirm support for Django 4.2 and 5.0, drop support for 4.0 and 4.1 (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
browniebroke committed May 9, 2024
1 parent 17fc0b6 commit 625969b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ docs/_build
*.egg-info
*.egg
.coverage
coverage.xml
reports/
build/
dist/
Expand Down
4 changes: 4 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Changelog
X.Y (unreleased)
----------------

- **BACKWARD-INCOMPATIBLE** Dropped support Django < 4.2.

- Confirmed support for Django 4.2 and 5.0 (no code changes were required).

6.0 (2023-10-27)
----------------

Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import codecs
from os import path
from setuptools import setup, find_packages

from setuptools import find_packages, setup


def read(*parts):
Expand Down Expand Up @@ -28,9 +29,8 @@ def read(*parts):
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
Expand Down
10 changes: 4 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@
downloadcache = {distshare}
args_are_paths = false
envlist =
py{38,39,310}-dj32
py{38,39,310}-dj40
py{38,39,310,311}-dj41
py{38,39,310,311,312}-dj42
py{310,311,312}-dj50
py{310,311,312}-djmain

[testenv]
usedevelop = true
commands = make test
allowlist_externals = make
deps =
dj32: Django>=3.2a1,<4.0
dj40: Django>=4.0a1,<4.1
dj41: Django>=4.1a1,<4.2
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
djmain: https://github.com/django/django/tarball/main
coverage
flake8
Expand Down

0 comments on commit 625969b

Please sign in to comment.