summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-10-08 08:14:54 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-10-09 09:27:33 +0200
commit2e3bc59fd3760de87952ec8fd6cd3694e8d9dc1c (patch)
tree62b10f7bebaa751bf7a9e41568002665f20f750b
parentf07eeff3a2d7ff0955410bf7e3f1ff197ef1ecf7 (diff)
Refs #34900 -- Doc'd Python 3.13 compatibility.
-rw-r--r--docs/faq/install.txt2
-rw-r--r--docs/howto/windows.txt4
-rw-r--r--docs/intro/reusable-apps.txt1
-rw-r--r--docs/releases/5.1.3.txt3
-rw-r--r--docs/releases/5.1.txt5
-rw-r--r--pyproject.toml1
-rw-r--r--tox.ini2
7 files changed, 11 insertions, 7 deletions
diff --git a/docs/faq/install.txt b/docs/faq/install.txt
index ddb84d6d9c..4623e288fb 100644
--- a/docs/faq/install.txt
+++ b/docs/faq/install.txt
@@ -52,7 +52,7 @@ Django version Python versions
============== ===============
4.2 3.8, 3.9, 3.10, 3.11, 3.12 (added in 4.2.8)
5.0 3.10, 3.11, 3.12
-5.1 3.10, 3.11, 3.12
+5.1 3.10, 3.11, 3.12, 3.13 (added in 5.1.3)
5.2 3.10, 3.11, 3.12, 3.13
============== ===============
diff --git a/docs/howto/windows.txt b/docs/howto/windows.txt
index 83aa8d0655..235b18a24f 100644
--- a/docs/howto/windows.txt
+++ b/docs/howto/windows.txt
@@ -2,7 +2,7 @@
How to install Django on Windows
================================
-This document will guide you through installing Python 3.12 and Django on
+This document will guide you through installing Python 3.13 and Django on
Windows. It also provides instructions for setting up a virtual environment,
which makes it easier to work on Python projects. This is meant as a beginner's
guide for users working on Django projects and does not reflect how Django
@@ -18,7 +18,7 @@ Install Python
==============
Django is a Python web framework, thus requiring Python to be installed on your
-machine. At the time of writing, Python 3.12 is the latest version.
+machine. At the time of writing, Python 3.13 is the latest version.
To install Python on your machine go to https://www.python.org/downloads/. The
website should offer you a download button for the latest Python version.
diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt
index 98f21c9d91..e2c25f3525 100644
--- a/docs/intro/reusable-apps.txt
+++ b/docs/intro/reusable-apps.txt
@@ -237,6 +237,7 @@ this. For a small app like polls, this process isn't too difficult.
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]
diff --git a/docs/releases/5.1.3.txt b/docs/releases/5.1.3.txt
index 9cb48dc2f3..5541a8824a 100644
--- a/docs/releases/5.1.3.txt
+++ b/docs/releases/5.1.3.txt
@@ -4,7 +4,8 @@ Django 5.1.3 release notes
*Expected November 5, 2024*
-Django 5.1.3 fixes several bugs in 5.1.2.
+Django 5.1.3 fixes several bugs in 5.1.2 and adds compatibility with Python
+3.13.
Bugfixes
========
diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt
index bc868fddda..037c76fd54 100644
--- a/docs/releases/5.1.txt
+++ b/docs/releases/5.1.txt
@@ -18,8 +18,9 @@ project.
Python compatibility
====================
-Django 5.1 supports Python 3.10, 3.11, and 3.12. We **highly recommend** and
-only officially support the latest release of each series.
+Django 5.1 supports Python 3.10, 3.11, 3.12, and 3.13 (as of 5.1.3). We
+**highly recommend** and only officially support the latest release of each
+series.
.. _whats-new-5.1:
diff --git a/pyproject.toml b/pyproject.toml
index 540bc47439..86ea7393ec 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -30,6 +30,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI",
diff --git a/tox.ini b/tox.ini
index c635a129b2..7a76693f21 100644
--- a/tox.ini
+++ b/tox.ini
@@ -26,7 +26,7 @@ setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
-e .
- py{3,310,311,312,py3}: -rtests/requirements/py3.txt
+ py{3,310,311,312,313,py3}: -rtests/requirements/py3.txt
postgres: -rtests/requirements/postgres.txt
mysql: -rtests/requirements/mysql.txt
oracle: -rtests/requirements/oracle.txt