Drop support for Python 3.9 (#9781)

This commit is contained in:
Asif Saif Uddin {"Auvi":"অভি"} 2025-10-07 15:27:55 +06:00 committed by GitHub
parent f0ba887761
commit 5bb4899467
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 8 deletions

View File

@ -14,7 +14,6 @@ jobs:
strategy: strategy:
matrix: matrix:
python-version: python-version:
- '3.9'
- '3.10' - '3.10'
- '3.11' - '3.11'
- '3.12' - '3.12'
@ -39,7 +38,7 @@ jobs:
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d . | cut -f 1 -d '-') run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d . | cut -f 1 -d '-')
- name: Run extra tox targets - name: Run extra tox targets
if: ${{ matrix.python-version == '3.9' }} if: ${{ matrix.python-version == '3.13' }}
run: | run: |
tox -e base,dist,docs tox -e base,dist,docs
@ -56,7 +55,7 @@ jobs:
- uses: actions/setup-python@v6 - uses: actions/setup-python@v6
with: with:
python-version: '3.9' python-version: '3.13'
- name: Install dependencies - name: Install dependencies
run: pip install -r requirements/requirements-documentation.txt run: pip install -r requirements/requirements-documentation.txt

View File

@ -54,7 +54,7 @@ Some reasons you might want to use REST framework:
# Requirements # Requirements
* Python 3.9+ * Python 3.10+
* Django 4.2, 5.0, 5.1, 5.2 * Django 4.2, 5.0, 5.1, 5.2
We **highly recommend** and only officially support the latest patch release of We **highly recommend** and only officially support the latest patch release of

View File

@ -88,7 +88,7 @@ continued development by **[signing up for a paid plan][funding]**.
REST framework requires the following: REST framework requires the following:
* Django (4.2, 5.0, 5.1, 5.2) * Django (4.2, 5.0, 5.1, 5.2)
* Python (3.9, 3.10, 3.11, 3.12, 3.13) * Python (3.10, 3.11, 3.12, 3.13)
We **highly recommend** and only officially support the latest patch release of We **highly recommend** and only officially support the latest patch release of
each Python and Django series. each Python and Django series.

View File

@ -8,7 +8,7 @@ description = "Web APIs for Django, made easy."
readme = "README.md" readme = "README.md"
license = "BSD-3-Clause" license = "BSD-3-Clause"
authors = [ { name = "Tom Christie", email = "tom@tomchristie.com" } ] authors = [ { name = "Tom Christie", email = "tom@tomchristie.com" } ]
requires-python = ">=3.9" requires-python = ">=3.10"
classifiers = [ classifiers = [
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"Environment :: Web Environment", "Environment :: Web Environment",
@ -21,7 +21,6 @@ classifiers = [
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",

View File

@ -1,6 +1,5 @@
[tox] [tox]
envlist = envlist =
{py39}-{django42}
{py310}-{django42,django51,django52} {py310}-{django42,django51,django52}
{py311}-{django42,django51,django52} {py311}-{django42,django51,django52}
{py312}-{django42,django51,django52,djangomain} {py312}-{django42,django51,django52,djangomain}