diff --git a/.github/workflows/test-postgres.yml b/.github/workflows/test-postgres.yml index fe877f3..cd955f8 100644 --- a/.github/workflows/test-postgres.yml +++ b/.github/workflows/test-postgres.yml @@ -5,7 +5,7 @@ jobs: test: services: postgres: - image: postgres:13 + image: postgres:14 env: POSTGRES_USER: user POSTGRES_PASSWORD: password @@ -13,31 +13,26 @@ jobs: ports: - 5432:5432 options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s --health-retries 5 runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: - - "3.9" - "3.10" - "3.11" - "3.12" - "3.13" + - "3.14" django-version: - "4.2" - - "5.0" - "5.1" + - "5.2" drf-version: - - "3.15" - exclude: - - python-version: "3.9" - django-version: "5.0" - - python-version: "3.9" - django-version: "5.1" + - "3.16" steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1ac1ba0..b7683b4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,22 +8,17 @@ jobs: fail-fast: false matrix: python-version: - - "3.9" - "3.10" - "3.11" - "3.12" - "3.13" + - "3.14" django-version: - "4.2" - - "5.0" - "5.1" + - "5.2" drf-version: - - "3.15" - exclude: - - python-version: "3.9" - django-version: "5.0" - - python-version: "3.9" - django-version: "5.1" + - "3.16" steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 04d8518..632511b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,17 @@ PyPi: [https://pypi.org/project/django-rest-passwordreset/](https://pypi.org/pro ## [Unreleased] +### Added +- Added Python 3.14 support (in classifiers for forward compatibility) +- Added Django 5.2 LTS support +- Added Django Rest Framework 3.16 support + +### Changed +- Removed Python 3.9 support (end of life) +- Removed Django 5.0 support (end of life) +- Updated CI/CD pipelines to test against currently supported Python and Django versions +- Updated PostgreSQL test service to version 14 (required by Django 5.2) + ## [1.5.0] - Added Python 3.13 support diff --git a/README.md b/README.md index dbec704..c143c15 100644 --- a/README.md +++ b/README.md @@ -285,6 +285,7 @@ django-rest-passwordreset Version | Django Versions | Django Rest Framework 1.3 | 3.2, 4.0, 4.1 | 3.12, 3.13, 3.14 | 3.7 - 3.10 1.4 | 3.2, 4.2, 5.0 | 3.13, 3.14 | 3.8 - 3.12 1.5 | 4.2, 5.0, 5.1 | 3.15 | 3.9 - 3.13 +1.6 (current) | 4.2, 5.1, 5.2 | 3.15 - 3.16 | 3.10 - 3.14 ## Documentation / Browsable API diff --git a/setup.py b/setup.py index 86de479..2cafd56 100644 --- a/setup.py +++ b/setup.py @@ -25,18 +25,18 @@ 'Environment :: Web Environment', 'Framework :: Django', 'Framework :: Django :: 4.2', - 'Framework :: Django :: 5.0', 'Framework :: Django :: 5.1', + 'Framework :: Django :: 5.2', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], diff --git a/tests/requirements.txt b/tests/requirements.txt index 2d6ddf3..60efb67 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,2 +1,2 @@ -django>=2.2,<3.3 -djangorestframework>=3.12.4,<3.13 +django>=4.2 +djangorestframework>=3.16