Opened 2 months ago
Last modified 4 weeks 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 (13)
comment:1 by , 2 months ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Version: | 5.0 → dev |
comment:2 by , 2 months ago
follow-up: 12 comment:7 by , 8 weeks ago
FYI: urljoin()
behavior change has been accepted as a regression in Python 3.14, https://github.com/python/cpython/issues/125926.
comment:12 by , 4 weeks ago
Replying to Mariusz Felisiak:
FYI:
urljoin()
behavior change has been accepted as a regression in Python 3.14, https://github.com/python/cpython/issues/125926.
Fixed in https://github.com/python/cpython/commit/dbb6e22cb1f533bba00a61a5b63ec68af9d48836.
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 :)