diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 54e062b..70722a2 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9, "3.10", "3.11", "3.12"] + python-version: [3.9, "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/README.rst b/README.rst index 08c418d..96b6979 100644 --- a/README.rst +++ b/README.rst @@ -324,9 +324,9 @@ certain pattern. Compatibility ============= -* Python 3.8, 3.9, 3.10 & 3.11 +* Python 3.9, 3.10, 3.11, 3.12 & 3.13 -* Django 3.2, 4.1 & 4.2 +* Django 3.2, 4.1, 4.2, 5.0, 5.1 & 5.2 Check out the `tox.ini`_ file for more up-to-date compatibility by test coverage. diff --git a/setup.py b/setup.py index 2a8cf39..b75e96a 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ url="https://github.com/peterbe/django-cache-memoize", packages=find_packages(where="src"), package_dir={"": "src"}, - python_requires=">=3.8", + python_requires=">=3.9", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment :: Mozilla", @@ -27,10 +27,11 @@ "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "License :: OSI Approved :: MIT License", "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", "Programming Language :: Python :: 3 :: Only", "Topic :: Internet :: WWW/HTTP", ], diff --git a/tox.ini b/tox.ini index 7161aaf..04d8aad 100644 --- a/tox.ini +++ b/tox.ini @@ -4,9 +4,10 @@ envlist = readme-py311, docs-py311, py39-django{32,41,42}, - py310-django{32,41,42}, - py311-django{41,42}, - py312-django{41,42}, + py310-django{32,41,42,50,51,52}, + py311-django{41,42,50,51,52}, + py312-django{41,42,50,51,52}, + py313-django{51,52}, [gh-actions] python = @@ -14,6 +15,7 @@ python = 3.10: py310 3.11: py311, lint, restlint 3.12: py312 + 3.13: py313 [testenv] usedevelop = true @@ -25,6 +27,9 @@ deps = django32: Django>=3.2,<4.0 django41: Django>=4.1,<4.2 django42: Django>=4.2,<4.3 + django50: Django>=5.0,<5.1 + django51: Django>=5.1,<5.2 + django52: Django>=5.2,<6.0 commands = pytest {posargs:tests}