See [https://docs.djangoproject.com/en/dev/faq/install/#what-python-
version-can-i-use-with-django our policy about Python version support] and
discussions regarding the Python version support policy:
- https://groups.google.com/forum/#!topic/django-
developers/YDJwI7uvgxU/discussion
- https://groups.google.com/forum/#!msg/django-
developers/ezUpskYAcyo/discussion
--
Ticket URL: <https://code.djangoproject.com/ticket/34233>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Mariusz Felisiak):
This ticket should be "Someday/Maybe" until we start working on Django
5.0.
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:1>
* stage: Unreviewed => Someday/Maybe
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:2>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/16467 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"3bbe22dafcc69c5ffa79707f5a74eb1faf466e12" 3bbe22da]:
{{{
#!CommitTicketReference repository=""
revision="3bbe22dafcc69c5ffa79707f5a74eb1faf466e12"
Fixed #34233 -- Dropped support for Python 3.8 and 3.9.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:4>
Comment (by GitHub <noreply@…>):
In [changeset:"a04565845ae3e766a1a4ec827a6e1f4fac335c3a" a045658]:
{{{
#!CommitTicketReference repository=""
revision="a04565845ae3e766a1a4ec827a6e1f4fac335c3a"
Refs #34233 -- Referenced isocalendar() results by names not indexes.
isocalendar() returns a namedtuple() instead of tuple in Python 3.9+
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:5>
Comment (by GitHub <noreply@…>):
In [changeset:"26a395f27d86bbf65f330851c8136c33694ac867" 26a395f]:
{{{
#!CommitTicketReference repository=""
revision="26a395f27d86bbf65f330851c8136c33694ac867"
Refs #34233 -- Used aiter() and anext().
Available since Python 3.10.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:6>
Comment (by GitHub <noreply@…>):
In [changeset:"fd21f82aa82b0d75a161f618ef944ebe0923e0ab" fd21f82a]:
{{{
#!CommitTicketReference repository=""
revision="fd21f82aa82b0d75a161f618ef944ebe0923e0ab"
Refs #34233 -- Used types.NoneType.
Available since Python 3.10 where it was reintroduced.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:7>
Comment (by GitHub <noreply@…>):
In [changeset:"23e886886249ebe8f80a48b0d25fbb5308eeb06f" 23e88688]:
{{{
#!CommitTicketReference repository=""
revision="23e886886249ebe8f80a48b0d25fbb5308eeb06f"
Refs #34233 -- Used str.removeprefix()/removesuffix().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:8>
Comment (by GitHub <noreply@…>):
In [changeset:"4470c2405c8dbb529501f9d78753e2aa4e9653a2" 4470c24]:
{{{
#!CommitTicketReference repository=""
revision="4470c2405c8dbb529501f9d78753e2aa4e9653a2"
Refs #34233 -- Used @functools.cache.
Python 3.9+ supports @functools.cache as an alias for
@functools.lru_cache(maxsize=None).
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:9>
Comment (by GitHub <noreply@…>):
In [changeset:"e9bd5b4876a05efa078962aa8c51f8357e747156" e9bd5b48]:
{{{
#!CommitTicketReference repository=""
revision="e9bd5b4876a05efa078962aa8c51f8357e747156"
Refs #34233 -- Updated black target-version to Python 3.10.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:10>
Comment (by GitHub <noreply@…>):
In [changeset:"370a021780b25123a410ffa771ed7d88b8760570" 370a0217]:
{{{
#!CommitTicketReference repository=""
revision="370a021780b25123a410ffa771ed7d88b8760570"
Refs #34233 -- Bumped minimum supported version of Selenium to 4.8.0.
This bumps minimum supported versions of selenium to the first release
to support Python 3.10.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:11>
Comment (by GitHub <noreply@…>):
In [changeset:"80a5667c50d12b27a031a9ce0408a5b81bc4e684" 80a5667c]:
{{{
#!CommitTicketReference repository=""
revision="80a5667c50d12b27a031a9ce0408a5b81bc4e684"
Refs #34233 -- Bumped required cx_Oracle to 8.3.
This bumps minimum supported versions of cx_Oracle to the first release
to support Python 3.10.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:12>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"6c6606aa014862f1a5c112d688d5e91c0cd9a8d8" 6c6606aa]:
{{{
#!CommitTicketReference repository=""
revision="6c6606aa014862f1a5c112d688d5e91c0cd9a8d8"
Refs #34233 -- Bumped minimum supported version of docutils to 0.19.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:13>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"170b0a47b09d735132bcfdcc9b303397eb03b34b" 170b0a47]:
{{{
#!CommitTicketReference repository=""
revision="170b0a47b09d735132bcfdcc9b303397eb03b34b"
Refs #34233 -- Used @staticmethod with
TextChoices._generate_next_value_().
Now that Python 3.10 is the minimum supported version, we can decorate
_generate_next_value_() with @staticmethod. It wasn't possible before
as Python < 3.10 does not support calling static methods direct from
the class body.
https://docs.python.org/3/library/enum.html#enum.Enum._generate_next_value_
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34233#comment:14>