Skip to content

Commit 251fcfc

Browse files
author
Harald Nezbeda
committed
Update supported Python, Django and DRF support versions
1 parent 09517ba commit 251fcfc

File tree

6 files changed

+31
-21
lines changed

6 files changed

+31
-21
lines changed

.github/workflows/test-postgres.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,37 @@ jobs:
55
test:
66
services:
77
postgres:
8-
image: postgres:13
8+
image: postgres:14
99
env:
1010
POSTGRES_USER: user
1111
POSTGRES_PASSWORD: password
1212
POSTGRES_DB: postgres
1313
ports:
1414
- 5432:5432
1515
options: >-
16-
--health-cmd pg_isready
17-
--health-interval 10s
18-
--health-timeout 5s
16+
--health-cmd pg_isready
17+
--health-interval 10s
18+
--health-timeout 5s
1919
--health-retries 5
2020
runs-on: ubuntu-latest
2121
strategy:
2222
fail-fast: false
2323
matrix:
2424
python-version:
25-
- "3.9"
2625
- "3.10"
2726
- "3.11"
2827
- "3.12"
2928
- "3.13"
3029
django-version:
3130
- "4.2"
32-
- "5.0"
3331
- "5.1"
32+
- "5.2"
3433
drf-version:
3534
- "3.15"
3635
exclude:
37-
- python-version: "3.9"
38-
django-version: "5.0"
39-
- python-version: "3.9"
40-
django-version: "5.1"
36+
# Django 4.2 does not support Python 3.13
37+
- python-version: "3.13"
38+
django-version: "4.2"
4139

4240
steps:
4341
- uses: actions/checkout@v4

.github/workflows/test.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,20 @@ jobs:
88
fail-fast: false
99
matrix:
1010
python-version:
11-
- "3.9"
1211
- "3.10"
1312
- "3.11"
1413
- "3.12"
1514
- "3.13"
1615
django-version:
1716
- "4.2"
18-
- "5.0"
1917
- "5.1"
18+
- "5.2"
2019
drf-version:
21-
- "3.15"
20+
- "3.16"
2221
exclude:
23-
- python-version: "3.9"
24-
django-version: "5.0"
25-
- python-version: "3.9"
26-
django-version: "5.1"
22+
# Django 4.2 does not support Python 3.13
23+
- python-version: "3.13"
24+
django-version: "4.2"
2725

2826
steps:
2927
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ PyPi: [https://pypi.org/project/django-rest-passwordreset/](https://pypi.org/pro
88

99
## [Unreleased]
1010

11+
### Added
12+
- Added Python 3.14 support (in classifiers for forward compatibility)
13+
- Added Django 5.2 LTS support
14+
- Added Django Rest Framework 3.16 support
15+
16+
### Changed
17+
- Removed Python 3.9 support (end of life)
18+
- Removed Django 5.0 support (end of life)
19+
- Updated CI/CD pipelines to test against currently supported Python and Django versions
20+
- Updated PostgreSQL test service to version 14 (required by Django 5.2)
21+
1122
## [1.5.0]
1223

1324
- Added Python 3.13 support

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ django-rest-passwordreset Version | Django Versions | Django Rest Framework
285285
1.3 | 3.2, 4.0, 4.1 | 3.12, 3.13, 3.14 | 3.7 - 3.10
286286
1.4 | 3.2, 4.2, 5.0 | 3.13, 3.14 | 3.8 - 3.12
287287
1.5 | 4.2, 5.0, 5.1 | 3.15 | 3.9 - 3.13
288+
1.6 (current) | 4.2, 5.1, 5.2 | 3.15 - 3.16 | 3.10 - 3.13*
289+
290+
*Note: Python 3.14 is listed in classifiers for forward compatibility but is not yet officially supported by current Django versions.
288291

289292
## Documentation / Browsable API
290293

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@
2525
'Environment :: Web Environment',
2626
'Framework :: Django',
2727
'Framework :: Django :: 4.2',
28-
'Framework :: Django :: 5.0',
2928
'Framework :: Django :: 5.1',
29+
'Framework :: Django :: 5.2',
3030
'Intended Audience :: Developers',
3131
'License :: OSI Approved :: BSD License',
3232
'Operating System :: OS Independent',
3333
'Programming Language :: Python',
3434
'Programming Language :: Python :: 3',
35-
'Programming Language :: Python :: 3.9',
3635
'Programming Language :: Python :: 3.10',
3736
'Programming Language :: Python :: 3.11',
3837
'Programming Language :: Python :: 3.12',
3938
'Programming Language :: Python :: 3.13',
39+
'Programming Language :: Python :: 3.14',
4040
'Topic :: Internet :: WWW/HTTP',
4141
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
4242
],

tests/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
django>=2.2,<3.3
2-
djangorestframework>=3.12.4,<3.13
1+
django>=4.2
2+
djangorestframework>=3.16

0 commit comments

Comments
 (0)