Opened 2 days ago

Last modified 27 hours ago

#35844 assigned New feature

Python 3.14 compatibility.

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

Description

Python 3.14 final is scheduled for October 2025 (see ​PEP 745). This is a tracking ticket for compatibility fixes for Django submitted in the meantime.

Django 5.2 will be the first version to support Python 3.14, because Django 5.1 will end the mainstream support in April 2024.

Change History (4)

comment:1 by Claude Paroz, 2 days ago

Triage Stage: UnreviewedAccepted
Version: 5.0dev

comment:2 by Mariusz Felisiak, 46 hours ago

Initial PRs:

After applying these 3 changes we'll have one more deprecation warning, 49 test failures, and 24 test errors. All of them are under investigation of Team Venus of the 3rd Djangonauts cohort, PRs will be submitted soonish :)

comment:3 by GitHub <noreply@…>, 39 hours ago

In 48fa531:

Refs #35844 -- Added Python 3.14 to daily builds.

comment:4 by GitHub <noreply@…>, 27 hours ago

In bd3b1dfa:

Refs #35844 -- Used asgiref.sync.iscoroutinefunction() instead of deprecated asyncio.iscoroutinefunction().

Fixes DeprecationWarning:

'asyncio.iscoroutinefunction' is deprecated and slated for removal in
Python 3.16; use inspect.iscoroutinefunction() instead.

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