Skip to content

Commit 9510431

Browse files
authored
Support Django 4.2 & drop support for Python 3.7. (#102)
1 parent ac91c0d commit 9510431

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: python -m pip install pyupgrade==2.31.1 flake8==4.0.1 black==22.3.0 isort==5.10.1
2525

2626
- name: "Run pyupgrade"
27-
run: pyupgrade --py37-plus **/*.py
27+
run: pyupgrade --py38-plus **/*.py
2828

2929
- name: "Run flake8"
3030
run: flake8
@@ -56,7 +56,7 @@ jobs:
5656

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

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

CHANGELOG.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ Maintenance
2424
-----------
2525

2626
* Support Python 3.11. (`#101 <https://github.com/clokep/django-querysetsequence/pull/101>`_)
27-
* Support Django 4.0 and 4.1. (`#83 <https://github.com/clokep/django-querysetsequence/pull/83>`_)
27+
* Support Django 4.0, 4.1, and 4.2. (`#83 <https://github.com/clokep/django-querysetsequence/pull/83>`_,
28+
`#102 <https://github.com/clokep/django-querysetsequence/pull/102>`_)
2829
* Support Django REST Framework 3.14. (`#101 <https://github.com/clokep/django-querysetsequence/pull/101>`_)
30+
* Drop support for Python 3.7. (`#102 <https://github.com/clokep/django-querysetsequence/pull/102>`_)
2931
* Drop support for Django 2.2 and 3.1. (`#98 <https://github.com/clokep/django-querysetsequence/pull/98>`_)
3032
* Drop support for Django REST Framework < 3.11. (`#98 <https://github.com/clokep/django-querysetsequence/pull/98>`_)
3133

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, and is optionally compatible with
78+
supports Python 3.7+, Django 3.2/4.0/4.1/4.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: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ classifiers =
2020
Framework :: Django :: 4.0
2121
Framework :: Django :: 4.1
2222
Programming Language :: Python
23-
Programming Language :: Python :: 3.7
2423
Programming Language :: Python :: 3.8
2524
Programming Language :: Python :: 3.9
2625
Programming Language :: Python :: 3.10
@@ -37,7 +36,7 @@ project_urls =
3736
packages =
3837
queryset_sequence
3938
install_requires = django>=3.2
40-
python_requires = >=3.7
39+
python_requires = >=3.8
4140

4241
[flake8]
4342
extend-ignore = E203

tox.ini

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,17 @@
99
# versions.
1010
envlist =
1111
# Without Django REST Framework.
12-
py{37,38,39,310}-django32,
12+
py{38,39,310}-django{32,40,41,42,main},
1313
# Django REST Framework 3.11 added support for Django 3.0.
14-
py{37,38,39,310}-django32-drf{311,312,313,314,master},
15-
# Django 4.0 drops support for Python 3.7.
16-
py{38,39,310}-django{40,41,main},
14+
py{38,39,310}-django32-drf{311,312,313,314,master},
1715
# Django REST Framework 3.13 added support for Django 4.0.
18-
py{38,39,310}-django{40,41,main}-drf313,
16+
py{38,39,310}-django{40,41,42,main}-drf313,
1917
# Django 4.1 adds support for Python 3.11.
20-
py311-django41,
18+
py311-django{41,42},
2119
# Django REST Framework 3.14 added support for Django 4.1.
22-
py311-django{41,main}-drf{314,master},
20+
py311-django{41,42,main}-drf{314,master},
2321
# Only run a subset against postgres.
24-
py310-django{40,41}-drf313-postgres
22+
py310-django{41,42}-drf313-postgres
2523
isolated_build = True
2624
skip_missing_interpreters = True
2725

@@ -35,12 +33,13 @@ deps =
3533
django32: Django>=3.2,<3.3
3634
django40: Django>=4.0,<4.1
3735
django41: Django>=4.1,<4.2
36+
django42: Django>=4.2,<4.3
3837
djangomain: https://codeload.github.com/django/django/zip/main
3938
drf311: djangorestframework>=3.11,<3.12
4039
drf312: djangorestframework>=3.12,<3.13
4140
drf313: djangorestframework>=3.13,<3.14
4241
drf314: djangorestframework>=3.14,<3.15
43-
drfmaster: https://codeload.github.com/tomchristie/django-rest-framework/zip/master
42+
drfmaster: https://codeload.github.com/encode/django-rest-framework/zip/master
4443
postgres: psycopg2
4544
setenv =
4645
postgres: POSTGRES_HOST=127.0.0.1

0 commit comments

Comments
 (0)