Skip to content

Commit 7f300a2

Browse files
Drop Django <4.2, DRF <3.14, Python <3.9 (jazzband#839)
1 parent 59ae4b6 commit 7f300a2

File tree

4 files changed

+20
-27
lines changed

4 files changed

+20
-27
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ jobs:
1515
fail-fast: false
1616
max-parallel: 5
1717
matrix:
18-
python-version: [ '3.8', '3.9', '3.10', '3.11']
19-
django-version: ['3.2', '4.1', '4.2']
20-
drf-version: ['3.12', '3.13', '3.14']
18+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
19+
django-version: ['4.2', '5.0', '5.1']
20+
drf-version: ['3.14', '3.15']
2121
exclude:
22-
# DRF 3.13 is not compatible with Django 4.2.
23-
- django-version: '4.2'
24-
drf-version: '3.13'
22+
- drf-version: '3.14'
23+
django-version: '5.0'
24+
- drf-version: '3.14'
25+
django-version: '5.1'
2526

2627
steps:
2728
- uses: actions/checkout@v2

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 2
44
build:
55
os: ubuntu-20.04
66
tools:
7-
python: "3.9"
7+
python: "3.12"
88

99
python:
1010
install:

setup.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@
5656
author="David Sanders",
5757
author_email="[email protected]",
5858
install_requires=[
59-
"django>=3.2",
60-
"djangorestframework>=3.12",
59+
"django>=4.2",
60+
"djangorestframework>=3.14",
6161
"pyjwt>=1.7.1,<3",
6262
],
63-
python_requires=">=3.8",
63+
python_requires=">=3.9",
6464
extras_require=extras_require,
6565
packages=find_packages(exclude=["tests", "tests.*", "licenses", "requirements"]),
6666
include_package_data=True,
@@ -69,20 +69,19 @@
6969
"Development Status :: 5 - Production/Stable",
7070
"Environment :: Web Environment",
7171
"Framework :: Django",
72-
"Framework :: Django :: 3.2",
73-
"Framework :: Django :: 4.1",
7472
"Framework :: Django :: 4.2",
7573
"Framework :: Django :: 5.0",
74+
"Framework :: Django :: 5.1",
7675
"Intended Audience :: Developers",
7776
"License :: OSI Approved :: MIT License",
7877
"Operating System :: OS Independent",
7978
"Programming Language :: Python",
8079
"Programming Language :: Python :: 3",
81-
"Programming Language :: Python :: 3.8",
8280
"Programming Language :: Python :: 3.9",
8381
"Programming Language :: Python :: 3.10",
8482
"Programming Language :: Python :: 3.11",
8583
"Programming Language :: Python :: 3.12",
84+
"Programming Language :: Python :: 3.13",
8685
"Topic :: Internet :: WWW/HTTP",
8786
],
8887
)

tox.ini

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
[tox]
22
envlist=
3-
py{38,39,310}-dj32-drf{312,313,314,315}-pyjwt{171,2}-tests
4-
py{38,39,310,311}-dj41-drf{314,315}-pyjwt{171,2}-tests
5-
py{38,39,310,311,312}-dj42-drf{314,315}-pyjwt{171,2}-tests
6-
py{310, 311, 312}-dj50-drf315-pyjwt{171,2}-tests
3+
py{39,310,311,312}-dj42-drf{314,315}-pyjwt{171,2}-tests
4+
py{310,311,312}-dj50-drf315-pyjwt{171,2}-tests
5+
py{310,311,312,313}-dj51-drf315-pyjwt{171,2}-tests
76
docs
87

98
[gh-actions]
109
python=
11-
3.8: py38, docs
1210
3.9: py39
1311
3.10: py310
1412
3.11: py311
15-
3.12: py312
13+
3.12: py312, docs
14+
3.13: py313
1615

1716
[gh-actions:env]
1817
DJANGO=
19-
3.2: dj32
20-
4.1: dj41
2118
4.2: dj42
2219
5.0: dj50
20+
5.1: dj51
2321
DRF=
24-
3.12: drf312
25-
3.13: drf313
2622
3.14: drf314
2723
3.15: drf315
2824

@@ -34,12 +30,9 @@ extras=
3430
setenv=
3531
PYTHONDONTWRITEBYTECODE=1
3632
deps=
37-
dj32: Django>=3.2,<3.3
38-
dj41: Django>=4.1,<4.2
3933
dj42: Django>=4.2,<4.3
4034
dj50: Django>=5.0,<5.1
41-
drf312: djangorestframework>=3.12,<3.13
42-
drf313: djangorestframework>=3.13,<3.14
35+
dj51: Django>=5.1,<5.2
4336
drf314: djangorestframework>=3.14,<3.15
4437
drf315: djangorestframework>=3.15,<3.16
4538
pyjwt171: pyjwt>=1.7.1,<1.8

0 commit comments

Comments
 (0)