diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-01-17 22:09:56 +0100 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-01-20 14:07:28 +0100 |
| commit | f5772de69679efb54129ac1cbca3579b512778af (patch) | |
| tree | ab215760e2e77124bbb8970b0913c2a99ae68743 /docs | |
| parent | 61dae11df52fae71fc3050974ac459f362c9dfd7 (diff) | |
Fixed #36005 -- Dropped support for Python 3.10 and 3.11.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/contributing/writing-code/unit-tests.txt | 10 | ||||
| -rw-r--r-- | docs/intro/reusable-apps.txt | 4 | ||||
| -rw-r--r-- | docs/intro/tutorial01.txt | 2 | ||||
| -rw-r--r-- | docs/ref/django-admin.txt | 4 | ||||
| -rw-r--r-- | docs/releases/6.0.txt | 2 | ||||
| -rw-r--r-- | docs/topics/performance.txt | 3 | ||||
| -rw-r--r-- | docs/topics/testing/advanced.txt | 1 |
7 files changed, 11 insertions, 15 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index 446d896abe..f4342f69aa 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -92,14 +92,14 @@ In addition to the default environments, ``tox`` supports running unit tests for other versions of Python and other database backends. Since Django's test suite doesn't bundle a settings file for database backends other than SQLite, however, you must :ref:`create and provide your own test settings -<running-unit-tests-settings>`. For example, to run the tests on Python 3.10 +<running-unit-tests-settings>`. For example, to run the tests on Python 3.12 using PostgreSQL: .. console:: - $ tox -e py310-postgres -- --settings=my_postgres_settings + $ tox -e py312-postgres -- --settings=my_postgres_settings -This command sets up a Python 3.10 virtual environment, installs Django's +This command sets up a Python 3.12 virtual environment, installs Django's test suite dependencies (including those for PostgreSQL), and calls ``runtests.py`` with the supplied arguments (in this case, ``--settings=my_postgres_settings``). @@ -114,14 +114,14 @@ above: .. code-block:: console - $ DJANGO_SETTINGS_MODULE=my_postgres_settings tox -e py310-postgres + $ DJANGO_SETTINGS_MODULE=my_postgres_settings tox -e py312-postgres Windows users should use: .. code-block:: doscon ...\> set DJANGO_SETTINGS_MODULE=my_postgres_settings - ...\> tox -e py310-postgres + ...\> tox -e py312-postgres Running the JavaScript tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt index 5acf8c2b18..8c12a36284 100644 --- a/docs/intro/reusable-apps.txt +++ b/docs/intro/reusable-apps.txt @@ -220,7 +220,7 @@ this. For a small app like polls, this process isn't too difficult. ] description = "A Django app to conduct web-based polls." readme = "README.rst" - requires-python = ">= 3.10" + requires-python = ">= 3.12" authors = [ {name = "Your Name", email = "yourname@example.com"}, ] @@ -234,8 +234,6 @@ this. For a small app like polls, this process isn't too difficult. "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Internet :: WWW/HTTP", diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 26cc241f35..0a766f9099 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -23,7 +23,7 @@ in a shell prompt (indicated by the $ prefix): If Django is installed, you should see the version of your installation. If it isn't, you'll get an error telling "No module named django". -This tutorial is written for Django |version|, which supports Python 3.10 and +This tutorial is written for Django |version|, which supports Python 3.12 and later. If the Django version doesn't match, you can refer to the tutorial for your version of Django by using the version switcher at the bottom right corner of this page, or update Django to the newest version. If you're using an older diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index c393154d88..93726fb9d6 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1583,10 +1583,6 @@ Outputs timings, including database setup and total run time. Shows the N slowest test cases (N=0 for all). -.. admonition:: Python 3.12 and later - - This feature is only available for Python 3.12 and later. - ``testserver`` -------------- diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index ccb01d2d1a..1496b1ef0e 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -21,6 +21,8 @@ Python compatibility Django 6.0 supports Python 3.12 and 3.13. We **highly recommend** and only officially support the latest release of each series. +The Django 5.2.x series is the last to support Python 3.10 and 3.11. + Third-party library support for older version of Django ======================================================= diff --git a/docs/topics/performance.txt b/docs/topics/performance.txt index 1075d6e0ad..f3342453cc 100644 --- a/docs/topics/performance.txt +++ b/docs/topics/performance.txt @@ -419,7 +419,8 @@ performance gains, typically for heavyweight applications. A key aim of the PyPy project is `compatibility <https://www.pypy.org/compat.html>`_ with existing Python APIs and libraries. -Django is compatible, but you will need to check the compatibility of other +Django is compatible with versions of PyPy corresponding to the supported +Python versions, but you will need to check the compatibility of other libraries you rely on. C implementations of Python libraries diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 1b0c172ef9..d3822f0920 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -608,7 +608,6 @@ and tear down the test suite. ``durations`` will show a list of the N slowest test cases. Setting this option to ``0`` will result in the duration for all tests being shown. - Requires Python 3.12+. Django may, from time to time, extend the capabilities of the test runner by adding new arguments. The ``**kwargs`` declaration allows for this |
