Skip to content

Commit ac91c0d

Browse files
authored
Support Django REST Framework 3.14 & Python 3.11. (#101)
By adding them to the test matrix.
1 parent 0d65b09 commit ac91c0d

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
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.7", "3.8", "3.9", "3.10"]
59+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
6060

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

CHANGELOG.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ Improvements
2323
Maintenance
2424
-----------
2525

26+
* Support Python 3.11. (`#101 <https://github.com/clokep/django-querysetsequence/pull/101>`_)
2627
* Support Django 4.0 and 4.1. (`#83 <https://github.com/clokep/django-querysetsequence/pull/83>`_)
27-
* Support Django REST Framework 4.14. (`#101 <https://github.com/clokep/django-querysetsequence/pull/101>`_)
28+
* Support Django REST Framework 3.14. (`#101 <https://github.com/clokep/django-querysetsequence/pull/101>`_)
2829
* Drop support for Django 2.2 and 3.1. (`#98 <https://github.com/clokep/django-querysetsequence/pull/98>`_)
2930
* Drop support for Django REST Framework < 3.11. (`#98 <https://github.com/clokep/django-querysetsequence/pull/98>`_)
3031

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers =
2424
Programming Language :: Python :: 3.8
2525
Programming Language :: Python :: 3.9
2626
Programming Language :: Python :: 3.10
27+
Programming Language :: Python :: 3.11
2728
License :: OSI Approved :: ISC License (ISCL)
2829
project_urls =
2930
Documentation = https://django-querysetsequence.readthedocs.io

tox.ini

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,17 @@ envlist =
1111
# Without Django REST Framework.
1212
py{37,38,39,310}-django32,
1313
# Django REST Framework 3.11 added support for Django 3.0.
14-
py{37,38,39,310}-django32-drf{311,312,313,master},
14+
py{37,38,39,310}-django32-drf{311,312,313,314,master},
1515
# Django 4.0 drops support for Python 3.7.
1616
py{38,39,310}-django{40,41,main},
1717
# Django REST Framework 3.13 added support for Django 4.0.
18-
py{38,39,310}-django{40,41,main}-drf{313,master}
18+
py{38,39,310}-django{40,41,main}-drf313,
19+
# Django 4.1 adds support for Python 3.11.
20+
py311-django41,
21+
# Django REST Framework 3.14 added support for Django 4.1.
22+
py311-django{41,main}-drf{314,master},
1923
# Only run a subset against postgres.
20-
py310-{django40,41}-drf313-postgres
24+
py310-django{40,41}-drf313-postgres
2125
isolated_build = True
2226
skip_missing_interpreters = True
2327

@@ -35,6 +39,7 @@ deps =
3539
drf311: djangorestframework>=3.11,<3.12
3640
drf312: djangorestframework>=3.12,<3.13
3741
drf313: djangorestframework>=3.13,<3.14
42+
drf314: djangorestframework>=3.14,<3.15
3843
drfmaster: https://codeload.github.com/tomchristie/django-rest-framework/zip/master
3944
postgres: psycopg2
4045
setenv =

0 commit comments

Comments
 (0)