diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cfa4bdc44..fe31e727a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,6 @@ jobs: strategy: matrix: python-version: - - '3.8' - '3.9' - '3.10' - '3.11' diff --git a/README.md b/README.md index 95fb1b012..be6619b4e 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Some reasons you might want to use REST framework: # Requirements -* Python 3.8+ +* Python 3.9+ * Django 4.2, 5.0, 5.1, 5.2 We **highly recommend** and only officially support the latest patch release of diff --git a/docs/index.md b/docs/index.md index 2638b05fa..d590d2c04 100644 --- a/docs/index.md +++ b/docs/index.md @@ -88,7 +88,7 @@ continued development by **[signing up for a paid plan][funding]**. REST framework requires the following: * Django (4.2, 5.0, 5.1, 5.2) -* Python (3.8, 3.9, 3.10, 3.11, 3.12, 3.13) +* Python (3.9, 3.10, 3.11, 3.12, 3.13) We **highly recommend** and only officially support the latest patch release of each Python and Django series. diff --git a/setup.py b/setup.py index f80dcff2c..952b5f50a 100755 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ import sys from setuptools import find_packages, setup CURRENT_PYTHON = sys.version_info[:2] -REQUIRED_PYTHON = (3, 8) +REQUIRED_PYTHON = (3, 9) # This check and everything above must remain compatible with Python 2.7. if CURRENT_PYTHON < REQUIRED_PYTHON: @@ -82,7 +82,7 @@ setup( packages=find_packages(exclude=['tests*']), include_package_data=True, install_requires=["django>=4.2", 'backports.zoneinfo;python_version<"3.9"'], - python_requires=">=3.8", + python_requires=">=3.9", zip_safe=False, classifiers=[ 'Development Status :: 5 - Production/Stable', @@ -97,7 +97,6 @@ setup( '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', diff --git a/tox.ini b/tox.ini index b0bd54219..032d4a18e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - {py38,py39}-{django42} + {py39}-{django42} {py310}-{django42,django51,django52,djangomain} {py311}-{django42,django51,django52,djangomain} {py312}-{django42,django51,django52,djangomain}