Skip to content

Commit 6851829

Browse files
author
Harald Nezbeda
committed
SIANXKE-470: Update supported Python, Django and DRF support versions
1 parent 09517ba commit 6851829

File tree

6 files changed

+26
-24
lines changed

6 files changed

+26
-24
lines changed

.github/workflows/test-postgres.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,34 @@ 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"
29+
- "3.14"
3030
django-version:
3131
- "4.2"
32-
- "5.0"
3332
- "5.1"
33+
- "5.2"
3434
drf-version:
35-
- "3.15"
36-
exclude:
37-
- python-version: "3.9"
38-
django-version: "5.0"
39-
- python-version: "3.9"
40-
django-version: "5.1"
35+
- "3.16"
4136

4237
steps:
4338
- uses: actions/checkout@v4

.github/workflows/test.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,17 @@ 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"
15+
- "3.14"
1616
django-version:
1717
- "4.2"
18-
- "5.0"
1918
- "5.1"
19+
- "5.2"
2020
drf-version:
21-
- "3.15"
22-
exclude:
23-
- python-version: "3.9"
24-
django-version: "5.0"
25-
- python-version: "3.9"
26-
django-version: "5.1"
21+
- "3.16"
2722

2823
steps:
2924
- 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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ 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.14
288289

289290
## Documentation / Browsable API
290291

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)