Wiki: https://fedoraproject.org/wiki/Changes/Django_6.x

Discussion Thread: https://discussion.fedoraproject.org/t/179396

**This is a proposed Change for Fedora Linux.**
This document represents a proposed Change. As part of the Changes process,
proposals are publicly announced in order to receive community feedback.
This proposal will only be implemented if approved by the Fedora
Engineering Steering Committee.

== Summary ==

Update the default Django stack in Fedora from 5.x to 6.x

== Owner ==

* Name: [[User:salimma|Michel Lind]], [[User:carlwgeorge|Carl George]]
* Email: [email protected], [email protected]

== Detailed Description ==

Following the plan laid out in [[Changes/Django_5x]], we will package
`python-django6` for the upcoming Fedora 44 and look into branching it for
Fedora EPEL 10. On Fedora 44 this will simply be installable as
`python3-django` and users on previous Fedora releases will be upgraded; on
older Fedora releases (if we decide to release) this will be installable as
`python3-django6`, and likewise on EPEL 10. Some dependencies will be
updated. `python-django5` which currently provides the default
`python3-django` on Fedora 42 and Fedora 43 will be modified to produce
`python3-django5` instead.

While 6.0 is not an LTS, Django does not break compatibility within a major
version and the upcoming 6.2 LTS will be supported until April 2030, while
5.2 LTS will only be supported until April 2028; see upstream's [
https://www.djangoproject.com/download/#supported-versions supported
versions] documentation.

== Feedback ==



== Benefit to Fedora ==

Users can make use of the latest Django version; users who use Django
add-ons that are not ready for 6.0 yet can switch it out for
`python3-django5`.

Our mailing list infrastructure currently runs on EL9 with Django 4.2, and
skipping 5.2 to go straight to Django 6 for EL10 buys us two more years of
support - it will be supported until comfortably after EL 11 comes out.

== Scope ==

* Proposal owners: update Django 6 dependencies ([
https://src.fedoraproject.org/rpms/python-aiosmtpd/pull-request/4
aiosmtpd], asgiref) and review Django 6. We plan to upgrade asgiref step by
step in Rawhide to allow us to pick an appropriate branching point for EPEL
10.
* Other developers: N/A, though we will be working with the infra team
should try testing this on EL10 and make sure the Django add-ons we need
are compatible or made compatible before switching over to EL10.
* Release engineering: [https://pagure.io/releng/issues #Releng issue
number]
* Policies and guidelines: N/A (not needed for this Change)
* Trademark approval: N/A (not needed for this Change)
* Alignment with the Fedora Strategy:

== Upgrade/compatibility impact ==

Fedora systems with `python3-django` installed and no incompatible Django
add-ons will upgrade just fine. If you have incompatible add-ons you should
get upgraded to `python3-django5` instead - we will test this update path.

If we hit unexpected issues we can make `python-django6` provide
`python3-django6` instead on Fedora 44 and delay making it the default for
a release.

== Early Testing (Optional) ==

Do you require 'QA Blueprint' support? N/A

== How To Test ==

* Install `python3-django` on Fedora 43, try upgrading to Rawhide, make
sure it works
* Install additional packages dependent on Django, repeat
* Install additional packages compatible only with Django 5.x, repeat, make
sure you end up with `python3-django5` installed on Rawhide

== User Experience ==

Users can benefit from [
https://docs.djangoproject.com/en/6.0/releases/6.0/#whats-new-6-0 new
Django 6.x features]

== Dependencies ==

N/A

== Contingency Plan ==

* Contingency mechanism: (What to do?  Who will do it?) Make
`python-django6` produce `python3-django6` instead and defer making it the
default
* Contingency deadline: N/A (not a System Wide Change)
* Blocks release? N/A (not a System Wide Change), Yes/No

== Documentation ==

N/A (not a System Wide Change)

== Release Notes ==

\n
-- 
_______________________________________________
devel-announce mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue
-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to