Opened 3 weeks ago

Last modified 2 weeks ago

#37483 assigned New feature

Python 3.16 compatibility.

Reported by: Mariusz Felisiak Owned by: Mariusz Felisiak
Component: Core (Other) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Someday/Maybe
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Python 3.16 final is scheduled for October 2027 (see ​​​​PEP 826). This is a tracking ticket for compatibility fixes for Django submitted in the meantime.

Django 6.2 will be the first version to support Python 3.16, because Django 6.1 will end the mainstream support in April 2027.

Change History (2)

comment:1 by Jacob Walls, 3 weeks ago

Triage Stage: Unreviewed → Someday/Maybe

comment:2 by Jacob Walls <jacobtylerwalls@…>, 2 weeks ago

In a868478:

Refs #37483, #34118 -- Used inspect.iscoroutinefunction() instead of deprecated asyncio alias.

asyncio.iscoroutinefunction() was removed in Python 3.16.

Note: See TracTickets for help on using tickets.
Back to Top