Skip to content

Commit 5bb4899

Browse files
authored
Drop support for Python 3.9 (#9781)
1 parent f0ba887 commit 5bb4899

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version:
17-
- '3.9'
1817
- '3.10'
1918
- '3.11'
2019
- '3.12'
@@ -39,7 +38,7 @@ jobs:
3938
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d . | cut -f 1 -d '-')
4039

4140
- name: Run extra tox targets
42-
if: ${{ matrix.python-version == '3.9' }}
41+
if: ${{ matrix.python-version == '3.13' }}
4342
run: |
4443
tox -e base,dist,docs
4544
@@ -56,7 +55,7 @@ jobs:
5655

5756
- uses: actions/setup-python@v6
5857
with:
59-
python-version: '3.9'
58+
python-version: '3.13'
6059

6160
- name: Install dependencies
6261
run: pip install -r requirements/requirements-documentation.txt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Some reasons you might want to use REST framework:
5454

5555
# Requirements
5656

57-
* Python 3.9+
57+
* Python 3.10+
5858
* Django 4.2, 5.0, 5.1, 5.2
5959

6060
We **highly recommend** and only officially support the latest patch release of

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ continued development by **[signing up for a paid plan][funding]**.
8888
REST framework requires the following:
8989

9090
* Django (4.2, 5.0, 5.1, 5.2)
91-
* Python (3.9, 3.10, 3.11, 3.12, 3.13)
91+
* Python (3.10, 3.11, 3.12, 3.13)
9292

9393
We **highly recommend** and only officially support the latest patch release of
9494
each Python and Django series.

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = "Web APIs for Django, made easy."
88
readme = "README.md"
99
license = "BSD-3-Clause"
1010
authors = [ { name = "Tom Christie", email = "[email protected]" } ]
11-
requires-python = ">=3.9"
11+
requires-python = ">=3.10"
1212
classifiers = [
1313
"Development Status :: 5 - Production/Stable",
1414
"Environment :: Web Environment",
@@ -21,7 +21,6 @@ classifiers = [
2121
"Operating System :: OS Independent",
2222
"Programming Language :: Python",
2323
"Programming Language :: Python :: 3 :: Only",
24-
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",
2726
"Programming Language :: Python :: 3.12",

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[tox]
22
envlist =
3-
{py39}-{django42}
43
{py310}-{django42,django51,django52}
54
{py311}-{django42,django51,django52}
65
{py312}-{django42,django51,django52,djangomain}

0 commit comments

Comments
 (0)