Skip to content

Commit 13e1476

Browse files
authored
Bump to Django 5.2 & Python 3.13 (#109)
1 parent 3fe2994 commit 13e1476

File tree

5 files changed

+29
-23
lines changed

5 files changed

+29
-23
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656

5757
strategy:
5858
matrix:
59-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
59+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
6060

6161
steps:
6262
- uses: actions/checkout@v2

CHANGELOG.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ next
99
Maintenance
1010
-----------
1111

12-
* Support Python 3.12. (`#106 <https://github.com/clokep/django-querysetsequence/pull/106>`_)
13-
* Support Django 5.0 and 5.1. (`#106 <https://github.com/clokep/django-querysetsequence/pull/106>`_)
14-
* Support Django REST Framework 3.15. (`#106 <https://github.com/clokep/django-querysetsequence/pull/106>`_)
15-
* Drop support for Django 3.2, 4.0, and 4.1. (`#106 <https://github.com/clokep/django-querysetsequence/pull/106>`_)
12+
* Support Python 3.12 and 3.13. (`#106 <https://github.com/clokep/django-querysetsequence/pull/106>`_,
13+
`#106 <https://github.com/clokep/django-querysetsequence/pull/109>`_)
14+
* Support Django 5.1 and 5.2. (`#106 <https://github.com/clokep/django-querysetsequence/pull/106>`_,
15+
`#109 <https://github.com/clokep/django-querysetsequence/pull/109>`_)
16+
* Support Django REST Framework 3.15 and 3.16. (`#106 <https://github.com/clokep/django-querysetsequence/pull/106>`_,
17+
`#109 <https://github.com/clokep/django-querysetsequence/pull/109>`_)
18+
* Drop support for Python 3.8. (`#109 <https://github.com/clokep/django-querysetsequence/pull/109>`_)
19+
* Drop support for Django 3.2, 4.0, 4.1 and 5.0. (`#106 <https://github.com/clokep/django-querysetsequence/pull/106>`_,
20+
`#109 <https://github.com/clokep/django-querysetsequence/pull/109>`_)
1621
* Drop support for Django REST Framework 3.11, 3.12 and 3.13. (`#106 <https://github.com/clokep/django-querysetsequence/pull/106>`_)
1722

1823

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Project Information
7575

7676
django-querysetsequence is released under the ISC license, its documentation lives
7777
on `Read the Docs`_, the code on `GitHub`_, and the latest release on `PyPI`_. It
78-
supports Python 3.7+, Django 3.2/4.0/4.1/4.2, and is optionally compatible with
78+
supports Python 3.9+, Django 4.2/5.1/5.2, and is optionally compatible with
7979
`Django REST Framework`_ 3.11+.
8080

8181
.. _Read the Docs: https://django-querysetsequence.readthedocs.io/

setup.cfg

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ classifiers =
1717
Environment :: Web Environment
1818
Topic :: Internet
1919
Framework :: Django
20-
Framework :: Django :: 3.2
21-
Framework :: Django :: 4.0
22-
Framework :: Django :: 4.1
2320
Framework :: Django :: 4.2
21+
Framework :: Django :: 5.1
22+
Framework :: Django :: 5.2
2423
Programming Language :: Python
25-
Programming Language :: Python :: 3.8
2624
Programming Language :: Python :: 3.9
2725
Programming Language :: Python :: 3.10
2826
Programming Language :: Python :: 3.11
27+
Programming Language :: Python :: 3.12
28+
Programming Language :: Python :: 3.13
2929
License :: OSI Approved :: ISC License (ISCL)
3030
project_urls =
3131
Documentation = https://django-querysetsequence.readthedocs.io
@@ -37,8 +37,8 @@ project_urls =
3737
[options]
3838
packages =
3939
queryset_sequence
40-
install_requires = django>=3.2
41-
python_requires = >=3.8
40+
install_requires = django>=4.2
41+
python_requires = >=3.9
4242

4343
[flake8]
4444
extend-ignore = E203

tox.ini

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
# versions.
1010
envlist =
1111
# Without Django REST Framework.
12-
py{38,39,310,311,312}-django42,
13-
# Django 5.0 drops support for Python < 3.10.
14-
py{310,311}-django{50,51,main},
15-
# Django 5.1 adds support for Python 3.13.
16-
py313-django{51,main},
12+
py{39,310,311,312}-django42,
13+
# Django 5.1 adds support for Python 3.13 and drops Python 3.9.
14+
py{310,311,312,313}-django{51,52,main},
1715
# Django REST Framework 3.14 added support for Django 4.1.
18-
py{38,39,310,311}-django42-drf314,
19-
# Django REST Framework 3.15 added support for Django 5.0 and Python 3.12.
20-
py{310,311,312}-django{42,50,51,main}-drf{315,master},
16+
py{39,310,311}-django42-drf{314,315},
17+
# Django REST Framework 3.15 added support for Python 3.12.
18+
py312-django42-drf315,
19+
# Django REST Framework 3.16 added support for Django 5.1 & 5.2 and Python 3.13.
20+
py{310,311,312,313}-django{42,51,52,main}-drf{316,master},
2121
# Only run a subset against postgres.
22-
py310-django{42,51}-drf315-postgres
22+
py313-django{42,52}-drf315-postgres
2323
isolated_build = True
2424
skip_missing_interpreters = True
2525

@@ -31,11 +31,12 @@ commands =
3131
deps =
3232
coverage
3333
django42: Django>=4.2,<4.3
34-
django50: Django>=5.0,<5.1
35-
django51: Django>=5.1b1,<5.2
34+
django51: Django>=5.1,<5.2
35+
django52: Django>=5.2,<5.3
3636
djangomain: https://codeload.github.com/django/django/zip/main
3737
drf314: djangorestframework>=3.14,<3.15
3838
drf315: djangorestframework>=3.15,<3.16
39+
drf316: djangorestframework>=3.16,<3.17
3940
drfmaster: https://codeload.github.com/encode/django-rest-framework/zip/master
4041
postgres: psycopg2
4142
setenv =

0 commit comments

Comments
 (0)