Skip to content

Commit

Permalink
Merge pull request #230 from romgar/django_51
Browse files Browse the repository at this point in the history
Test with Django 5.1
  • Loading branch information
LincolnPuzey authored Sep 4, 2024
2 parents b66ddf1 + b1dc58a commit 95ec4cf
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ jobs:
strategy:
matrix:
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
django: ['2.2', '3.0', '3.1', '3.2', '4.0', '4.1', '4.2', '5.0']
django: ['2.2', '3.0', '3.1', '3.2', '4.0', '4.1', '4.2', '5.0', '5.1']
database: ['postgres', 'sqlite']
exclude:
- python: '3.8'
django: '5.0'
- python: '3.8'
django: '5.1'
- python: '3.9'
django: '5.0'
- python: '3.9'
django: '5.1'
- python: '3.10'
django: '2.2'
- python: '3.10'
Expand Down Expand Up @@ -59,7 +63,7 @@ jobs:
services:
# as far as I can see, no way to make this conditional on the matrix database
postgres:
image: postgres:12
image: postgres:13
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
Expand Down
2 changes: 2 additions & 0 deletions ChangeLog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ ChangeLog
unreleased
----------

*New:*
- Confirm support for Django 5.1


.. _v1.9.3:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This package is compatible and tested with the following Python & Django version
+------------------------+-----------------------------------+
| 4.2 | 3.8, 3.9, 3.10, 3.11, 3.12 |
+------------------------+-----------------------------------+
| 5.0 | 3.10, 3.11, 3.12 |
| 5.0, 5.1 | 3.10, 3.11, 3.12 |
+------------------------+-----------------------------------+


Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ classifiers =
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Framework :: Django :: 5.0
Framework :: Django :: 5.1
license = BSD
license_files = LICENSE
description = Tracking dirty fields on a Django model instance.
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ envlist =
py{38,39,310}-django{32,40}-{postgresql,sqlite}
py{38,39,310,311}-django{41}-{postgresql,sqlite}
py{38,39,310,311,312}-django{42}-{postgresql,sqlite}
py{310,311,312}-django{50}-{postgresql,sqlite}
py{310,311,312}-django{50,51}-{postgresql,sqlite}
py{38,39,310,311,312}-flake8

[testenv]
Expand All @@ -24,6 +24,7 @@ deps =
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
-rtests-requirements.txt
commands =
python --version
Expand Down

0 comments on commit 95ec4cf

Please sign in to comment.