Skip to content

Commit

Permalink
Add Django 5.x, drop 4.1 (#267)
Browse files Browse the repository at this point in the history
* Add Django 5 support, drop 4.1 support

* Update README

* Update changelog
  • Loading branch information
bennylope authored Jan 18, 2024
1 parent 86490ea commit c458405
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Contributors:
* `Seb Vetter <https://github.com/elbaschid>`_
* `KimSia Sim <https://github.com/simkimsia>`_
* `Dan Moore <https://github.com/mgrdcm>`_
* `Sky <https://github.com/skyarrow87>`_

If your name is missing as a contributor that's my oversight, let me know at
[email protected]
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
History
=======


2.4.0
-----

* Adopted Hatch as packaging tool with pyproject.toml
* Updated Japanese translations (thanks @skyarrow87!)
* Officially add support for Django 5.0
* Drop support for Django 4.1 (Django 3.2 LTS and Django 4.2 LTS are still actively tested against)

2.3.1
-----
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ Targets & testing
The codebase is targeted and tested against:

* Django 3.2.x against Python 3.8, 3.9, 3.10
* Django 4.1.x against Python 3.8, 3.9, 3.10, 3.11
* Django 4.2.x against Python 3.8, 3.9, 3.10, 3.11, 3.12
* Django 5.0.x against Python 3.10, 3.11, 3.12

To run the tests against all target environments, install `tox
<https://testrun.org/tox/latest/>`_ and then execute the command::
Expand Down
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
envlist =
flake8,
py{38,39,310}-django{32},
py{38,39,310,311}-django{41},
py{38,39,310,311}-django{42},
py{312}-django{42}
py{38,39}-django{42},
py{310,311,312}-django{42,50}

[gh-actions]
python =
Expand Down Expand Up @@ -32,8 +31,8 @@ basepython =
deps =
hatch>=1.7.0
django32: Django>=3.2,<4
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
extras = tests

[testenv:flake8]
Expand Down

0 comments on commit c458405

Please sign in to comment.