diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ce5e28aa..613fb79d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,13 +15,14 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11'] - django-version: ['3.2', '4.1', '4.2'] - drf-version: ['3.12', '3.13', '3.14'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + django-version: ['4.2', '5.0', '5.1'] + drf-version: ['3.14', '3.15'] exclude: - # DRF 3.13 is not compatible with Django 4.2. - - django-version: '4.2' - drf-version: '3.13' + - drf-version: '3.14' + django-version: '5.0' + - drf-version: '3.14' + django-version: '5.1' steps: - uses: actions/checkout@v2 diff --git a/.readthedocs.yml b/.readthedocs.yml index 8896b7862..07c55dbde 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,7 +4,7 @@ version: 2 build: os: ubuntu-20.04 tools: - python: "3.9" + python: "3.12" python: install: diff --git a/setup.py b/setup.py index 995e63533..4f4693d0e 100755 --- a/setup.py +++ b/setup.py @@ -56,11 +56,11 @@ author="David Sanders", author_email="davesque@gmail.com", install_requires=[ - "django>=3.2", - "djangorestframework>=3.12", + "django>=4.2", + "djangorestframework>=3.14", "pyjwt>=1.7.1,<3", ], - python_requires=">=3.8", + python_requires=">=3.9", extras_require=extras_require, packages=find_packages(exclude=["tests", "tests.*", "licenses", "requirements"]), include_package_data=True, @@ -69,20 +69,19 @@ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", - "Framework :: Django :: 3.2", - "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "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", "Topic :: Internet :: WWW/HTTP", ], ) diff --git a/tox.ini b/tox.ini index c95258209..109266c2f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,28 +1,24 @@ [tox] envlist= - py{38,39,310}-dj32-drf{312,313,314,315}-pyjwt{171,2}-tests - py{38,39,310,311}-dj41-drf{314,315}-pyjwt{171,2}-tests - py{38,39,310,311,312}-dj42-drf{314,315}-pyjwt{171,2}-tests - py{310, 311, 312}-dj50-drf315-pyjwt{171,2}-tests + py{39,310,311,312}-dj42-drf{314,315}-pyjwt{171,2}-tests + py{310,311,312}-dj50-drf315-pyjwt{171,2}-tests + py{310,311,312,313}-dj51-drf315-pyjwt{171,2}-tests docs [gh-actions] python= - 3.8: py38, docs 3.9: py39 3.10: py310 3.11: py311 - 3.12: py312 + 3.12: py312, docs + 3.13: py313 [gh-actions:env] DJANGO= - 3.2: dj32 - 4.1: dj41 4.2: dj42 5.0: dj50 + 5.1: dj51 DRF= - 3.12: drf312 - 3.13: drf313 3.14: drf314 3.15: drf315 @@ -34,12 +30,9 @@ extras= setenv= PYTHONDONTWRITEBYTECODE=1 deps= - dj32: Django>=3.2,<3.3 - dj41: Django>=4.1,<4.2 dj42: Django>=4.2,<4.3 dj50: Django>=5.0,<5.1 - drf312: djangorestframework>=3.12,<3.13 - drf313: djangorestframework>=3.13,<3.14 + dj51: Django>=5.1,<5.2 drf314: djangorestframework>=3.14,<3.15 drf315: djangorestframework>=3.15,<3.16 pyjwt171: pyjwt>=1.7.1,<1.8