Skip to content

Commit a8c9b5b

Browse files
committed
[5.2.x] Refs #35844 -- Doc'd Python 3.14 compatibility.
Backport of 56977b4 from main.
1 parent 83f6fe8 commit a8c9b5b

File tree

14 files changed

+26
-22
lines changed

14 files changed

+26
-22
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Set up Python
3030
uses: actions/setup-python@v5
3131
with:
32-
python-version: '3.13'
32+
python-version: '3.14'
3333
cache: 'pip'
3434
cache-dependency-path: 'docs/requirements.txt'
3535
- run: python -m pip install -r docs/requirements.txt
@@ -47,7 +47,7 @@ jobs:
4747
- name: Set up Python
4848
uses: actions/setup-python@v5
4949
with:
50-
python-version: '3.13'
50+
python-version: '3.14'
5151
- run: python -m pip install blacken-docs
5252
- name: Build docs
5353
run: |

.github/workflows/linters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Python
2828
uses: actions/setup-python@v5
2929
with:
30-
python-version: '3.13'
30+
python-version: '3.14'
3131
- run: python -m pip install flake8
3232
- name: flake8
3333
# Pinned to v3.0.0.
@@ -44,7 +44,7 @@ jobs:
4444
- name: Set up Python
4545
uses: actions/setup-python@v5
4646
with:
47-
python-version: '3.13'
47+
python-version: '3.14'
4848
- run: python -m pip install "isort<6"
4949
- name: isort
5050
# Pinned to v3.0.0.

.github/workflows/schedule_tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- '3.11'
2121
- '3.12'
2222
- '3.13'
23-
- '3.14-dev'
23+
- '3.14'
2424
name: Windows, SQLite, Python ${{ matrix.python-version }}
2525
continue-on-error: true
2626
steps:
@@ -47,7 +47,7 @@ jobs:
4747
- name: Set up Python
4848
uses: actions/setup-python@v5
4949
with:
50-
python-version: '3.13'
50+
python-version: '3.14'
5151
cache: 'pip'
5252
- name: Install libmemcached-dev for pylibmc
5353
run: sudo apt-get install libmemcached-dev
@@ -146,7 +146,7 @@ jobs:
146146
- name: Set up Python
147147
uses: actions/setup-python@v5
148148
with:
149-
python-version: '3.13'
149+
python-version: '3.14'
150150
cache: 'pip'
151151
cache-dependency-path: 'tests/requirements/py3.txt'
152152
- name: Install libmemcached-dev for pylibmc
@@ -182,7 +182,7 @@ jobs:
182182
- name: Set up Python
183183
uses: actions/setup-python@v5
184184
with:
185-
python-version: '3.13'
185+
python-version: '3.14'
186186
cache: 'pip'
187187
cache-dependency-path: 'tests/requirements/py3.txt'
188188
- name: Install libmemcached-dev for pylibmc
@@ -227,7 +227,7 @@ jobs:
227227
- name: Set up Python
228228
uses: actions/setup-python@v5
229229
with:
230-
python-version: '3.13'
230+
python-version: '3.14'
231231
cache: 'pip'
232232
cache-dependency-path: 'tests/requirements/py3.txt'
233233
- name: Install libmemcached-dev for pylibmc

.github/workflows/selenium.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Python
2525
uses: actions/setup-python@v5
2626
with:
27-
python-version: '3.13'
27+
python-version: '3.14'
2828
cache: 'pip'
2929
cache-dependency-path: 'tests/requirements/py3.txt'
3030
- name: Install libmemcached-dev for pylibmc
@@ -61,7 +61,7 @@ jobs:
6161
- name: Set up Python
6262
uses: actions/setup-python@v5
6363
with:
64-
python-version: '3.13'
64+
python-version: '3.14'
6565
cache: 'pip'
6666
cache-dependency-path: 'tests/requirements/py3.txt'
6767
- name: Install libmemcached-dev for pylibmc

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
python-version:
26-
- '3.13'
26+
- '3.14'
2727
name: Windows, SQLite, Python ${{ matrix.python-version }}
2828
steps:
2929
- name: Checkout

docs/faq/install.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Django version Python versions
5353
4.2 3.8, 3.9, 3.10, 3.11, 3.12 (added in 4.2.8)
5454
5.0 3.10, 3.11, 3.12
5555
5.1 3.10, 3.11, 3.12, 3.13 (added in 5.1.3)
56-
5.2 3.10, 3.11, 3.12, 3.13
56+
5.2 3.10, 3.11, 3.12, 3.13, 3.14 (added in 5.2.8)
5757
============== ===============
5858

5959
For each version of Python, only the latest micro release (A.B.C) is officially

docs/howto/windows.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
How to install Django on Windows
33
================================
44

5-
This document will guide you through installing Python 3.13 and Django on
5+
This document will guide you through installing Python 3.14 and Django on
66
Windows. It also provides instructions for setting up a virtual environment,
77
which makes it easier to work on Python projects. This is meant as a beginner's
88
guide for users working on Django projects and does not reflect how Django
@@ -18,7 +18,7 @@ Install Python
1818
==============
1919

2020
Django is a Python web framework, thus requiring Python to be installed on your
21-
machine. At the time of writing, Python 3.13 is the latest version.
21+
machine. At the time of writing, Python 3.14 is the latest version.
2222

2323
To install Python on your machine go to https://www.python.org/downloads/. The
2424
website should offer you a download button for the latest Python version.

docs/intro/reusable-apps.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ this. For a small app like polls, this process isn't too difficult.
238238
"Programming Language :: Python :: 3.11",
239239
"Programming Language :: Python :: 3.12",
240240
"Programming Language :: Python :: 3.13",
241+
"Programming Language :: Python :: 3.14",
241242
"Topic :: Internet :: WWW/HTTP",
242243
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
243244
]

docs/releases/5.2.8.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Django 5.2.8 release notes
44

55
*Expected November 5, 2025*
66

7-
Django 5.2.8 fixes several bugs in 5.2.7.
7+
Django 5.2.8 fixes several bugs in 5.2.7 and adds compatibility with Python
8+
3.14.
89

910
Bugfixes
1011
========

docs/releases/5.2.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ end in April 2026.
2323
Python compatibility
2424
====================
2525

26-
Django 5.2 supports Python 3.10, 3.11, 3.12, and 3.13. We **highly recommend**
27-
and only officially support the latest release of each series.
26+
Django 5.2 supports Python 3.10, 3.11, 3.12, 3.13, and 3.14 (as of 5.2.8). We
27+
**highly recommend** and only officially support the latest release of each
28+
series.
2829

2930
.. _whats-new-5.2:
3031

0 commit comments

Comments
 (0)