Django 4.1 will be the first version to support Python 3.11, because
Django 4.0 will end the mainstream support in August 2022.
--
Ticket URL: <https://code.djangoproject.com/ticket/33173>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: Adam Johnson (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:1>
* cc: Abhyudai (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:2>
* cc: אורי (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:3>
Comment (by GitHub <noreply@…>):
In [changeset:"fac3dd7f390d372736e05974cc5c3ef1a3768fbb" fac3dd7f]:
{{{
#!CommitTicketReference repository=""
revision="fac3dd7f390d372736e05974cc5c3ef1a3768fbb"
Refs #33173 -- Fixed MailTests.test_backend_arg() on Windows and Python
3.11+.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:4>
Comment (by GitHub <noreply@…>):
In [changeset:"d4fd31684ad5a7b9be8a9d26c5a8796f96c8d80b" d4fd316]:
{{{
#!CommitTicketReference repository=""
revision="d4fd31684ad5a7b9be8a9d26c5a8796f96c8d80b"
Refs #33173 -- Used locale.getlocale() instead of getdefaultlocale().
locale.getdefaultlocale() was deprecated in Python 3.11, see
https://bugs.python.org/issue46659.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:5>
Comment (by GitHub <noreply@…>):
In [changeset:"2ee4caf56b8e000cabbb73ad81ff05738d6d0a35" 2ee4caf5]:
{{{
#!CommitTicketReference repository=""
revision="2ee4caf56b8e000cabbb73ad81ff05738d6d0a35"
Refs #33173 -- Fixed test_runner/test_utils tests on Python 3.11+.
Python 3.11 uses fully qualified test name in unittest output. See
https://github.com/python/cpython/commit/755be9b1505af591b9f2ee424a6525b6c2b65ce9
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:6>
Comment (by GitHub <noreply@…>):
In [changeset:"439cd73c1670a2af25837149a68526fe5555399d" 439cd73c]:
{{{
#!CommitTicketReference repository=""
revision="439cd73c1670a2af25837149a68526fe5555399d"
Refs #33173 -- Fixed test_dateparse tests on Python 3.11+.
date/datetime/time.fromisoformat() support any valid ISO 8601 format
in Python 3.11+, see https://github.com/python/cpython/issues/80010.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:7>
Comment (by GitHub <noreply@…>):
In [changeset:"441103a04d1d167dc870eaaf90e3fba974f67c93" 441103a]:
{{{
#!CommitTicketReference repository=""
revision="441103a04d1d167dc870eaaf90e3fba974f67c93"
Refs #33173, Refs #30451 -- Fixed ResourceWarning from unclosed body files
in ASGI handler on Python 3.11+.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:8>
Comment (by Carlton Gibson <carlton@…>):
In [changeset:"34e2148fc725e7200050f74130d7523e3cd8507a" 34e2148f]:
{{{
#!CommitTicketReference repository=""
revision="34e2148fc725e7200050f74130d7523e3cd8507a"
Refs #33173 -- Removed use of deprecated cgi module.
https://peps.python.org/pep-0594/#cgi
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:9>
Comment (by Carlton Gibson <carlton@…>):
In [changeset:"f476c8847a0bf1a4e20becfb3dc66f4da0dbf579" f476c884]:
{{{
#!CommitTicketReference repository=""
revision="f476c8847a0bf1a4e20becfb3dc66f4da0dbf579"
Refs #33173, Refs #33755 -- Fixed ResourceWarning from unclosed files in
ASGI tests.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:10>
Comment (by Carlton Gibson <carlton.gibson@…>):
In [changeset:"7b0ed458d960f1b0bf5c46a74b2fef0e0def71b8" 7b0ed458]:
{{{
#!CommitTicketReference repository=""
revision="7b0ed458d960f1b0bf5c46a74b2fef0e0def71b8"
[4.1.x] Refs #33173, Refs #33755 -- Fixed ResourceWarning from unclosed
files in ASGI tests.
Backport of f476c8847a0bf1a4e20becfb3dc66f4da0dbf579 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:11>
* cc: bcail (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:12>
* owner: nobody => Mariusz Felisiak
* status: new => assigned
* stage: Someday/Maybe => Accepted
Comment:
https://www.python.org/downloads/release/python-3110/
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:13>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"80777d30b34968c39479d943822d2d335aba1571" 80777d3]:
{{{
#!CommitTicketReference repository=""
revision="80777d30b34968c39479d943822d2d335aba1571"
Refs #33173 -- Fixed destroying test databases when running tests in
parallel using spawn on Windows.
Thanks Simon Willison for inspiration.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:14>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"2e82fa54ca732948f3ad3f723acb341f60e45f19" 2e82fa5]:
{{{
#!CommitTicketReference repository=""
revision="2e82fa54ca732948f3ad3f723acb341f60e45f19"
Refs #33173 -- Used Python 3.11 for GitHub actions.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:15>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/16228 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:16>
Comment (by GitHub <noreply@…>):
In [changeset:"e51c998f8d6fbc9421e4a1226c144d8035c126e0" e51c998]:
{{{
#!CommitTicketReference repository=""
revision="e51c998f8d6fbc9421e4a1226c144d8035c126e0"
Refs #33173 -- Added Python 3.11 to classifiers and tox.ini.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:17>
* status: assigned => closed
* resolution: => fixed
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:18>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"7b208d7e933bb72d09d289af173712338443ccb7" 7b208d7e]:
{{{
#!CommitTicketReference repository=""
revision="7b208d7e933bb72d09d289af173712338443ccb7"
[4.1.x] Refs #33173 -- Added Python 3.11 to classifiers and tox.ini.
Backport of e51c998f8d6fbc9421e4a1226c144d8035c126e0 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:20>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"72f08f35755c62cdd9f049d4440fa7f5cd9a0171" 72f08f35]:
{{{
#!CommitTicketReference repository=""
revision="72f08f35755c62cdd9f049d4440fa7f5cd9a0171"
[4.1.x] Refs #33173 -- Fixed destroying test databases when running tests
in parallel using spawn on Windows.
Thanks Simon Willison for inspiration.
Backport of 80777d30b34968c39479d943822d2d335aba1571 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:19>
Comment (by GitHub <noreply@…>):
In [changeset:"eb6cc01d0f62c73441a3610193ba210176d0935f" eb6cc01d]:
{{{
#!CommitTicketReference repository=""
revision="eb6cc01d0f62c73441a3610193ba210176d0935f"
Refs #33173 -- Doc'd Python 3.11 compatibility in Django 4.1.x.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:21>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"ddf3ee6f9e6a0b87dd3ce498f53d7c9d7756f486" ddf3ee6f]:
{{{
#!CommitTicketReference repository=""
revision="ddf3ee6f9e6a0b87dd3ce498f53d7c9d7756f486"
[4.1.x] Refs #33173 -- Doc'd Python 3.11 compatibility in Django 4.1.x.
Backport of eb6cc01d0f62c73441a3610193ba210176d0935f from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33173#comment:22>