Churchyard (talk | contribs) |
No edit summary |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
= Retire Python 2.7 <!-- The name of your change proposal --> = | = Retire Python 2.7 <!-- The name of your change proposal --> = | ||
== Summary == | == Summary == | ||
Line 25: | Line 24: | ||
== Current status == | == Current status == | ||
[[Category: | [[Category:ChangeAcceptedF41]] | ||
<!-- When your change proposal page is completed and ready for review and announcement --> | <!-- When your change proposal page is completed and ready for review and announcement --> | ||
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler --> | <!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler --> | ||
Line 43: | Line 42: | ||
ON_QA -> change is fully code complete | ON_QA -> change is fully code complete | ||
--> | --> | ||
* [Announced] | * [https://discussion.fedoraproject.org/t/f41-change-proposal-retire-python-2-7-system-wide/124331/2 Announced] | ||
* [ | * [https://discussion.fedoraproject.org/t/f41-change-proposal-retire-python-2-7-system-wide/124331/2 Discussion thread] | ||
* FESCo issue: | * FESCo issue: [https://pagure.io/fesco/issue/3244 #3244] | ||
* Tracker bug: | * Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2300341 #2300341] | ||
* Release notes tracker: <will be assigned by the Wrangler> | * Release notes tracker: <will be assigned by the Wrangler> | ||
Line 63: | Line 62: | ||
* {{package|email2trac}} runtime and buidltime. [https://bugzilla.redhat.com/1738907 rhbz#1738907] -- no response from package maintainers since 2019. This package will be retired if not fixed. | * {{package|email2trac}} runtime and buidltime. [https://bugzilla.redhat.com/1738907 rhbz#1738907] -- no response from package maintainers since 2019. This package will be retired if not fixed. | ||
* {{package|flowcanvas}} buidltime only. [https://bugzilla.redhat.com/1805233 rhbz#1805233] -- no response from package maintainers since 2021. This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed. | * {{package|flowcanvas}} buidltime only. [https://bugzilla.redhat.com/1805233 rhbz#1805233] -- no response from package maintainers since 2021. This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed. | ||
* {{package|kdissert}} buidltime only. [https://bugzilla.redhat.com/1807513 rhbz#1807513] -- no response from package maintainers since 2020. This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed. | * {{package|kdissert}} buidltime only. [https://bugzilla.redhat.com/1807513 rhbz#1807513] -- no response from package maintainers since 2020. This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed. | ||
* {{package|qt5-qtwebengine}} buidltime only. No bugzilla. Package bundles Python 2 for build in EPEL 9 and can probably do the same on Fedora. Alternativelly, can use PyPy (untested assumption). This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed. | * {{package|qt5-qtwebengine}} buidltime only. No bugzilla. Package bundles Python 2 for build in EPEL 9 and can probably do the same on Fedora. Alternativelly, can use PyPy (untested assumption). [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RGFGIYRX5ZQANVU4AAOG7SHJBAHJWDOU/ There is now a patch from Arch Linux to make it build with Python 3.] This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed. | ||
* {{package|qtwebkit}} buidltime only. [https://bugzilla.redhat.com/1807543 rhbz#1807543] -- no response from package maintainers since 2021. The latest meaningful response: "The plan is still to try to sunset Qt4WebKit entirely". This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed. | * {{package|qtwebkit}} buidltime only. [https://bugzilla.redhat.com/1807543 rhbz#1807543] -- no response from package maintainers since 2021. The latest meaningful response: "The plan is still to try to sunset Qt4WebKit entirely". This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed. | ||
Line 154: | Line 152: | ||
<!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
Unless Python 2 stops being installable, we do not plan to Obsolete it. | Unless Python 2 stops being installable, we do not plan to Obsolete it. | ||
Users who upgrade to Fedora Linux 41+ from earlier releases with Python 2 installed, will likely still get it, but they will receive no support. | |||
== Early Testing (Optional) == | == Early Testing (Optional) == | ||
Line 177: | Line 175: | ||
<!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
Try installing {{package|python2.7}} on Fedora Linux 41+. It should fail. | |||
== User Experience == | == User Experience == | ||
Line 189: | Line 188: | ||
- Green has been scientifically proven to be the most relaxing color. The move to a default background color of green with green text will result in Fedora users being the most relaxed users of any operating system. | - Green has been scientifically proven to be the most relaxing color. The move to a default background color of green with green text will result in Fedora users being the most relaxed users of any operating system. | ||
--> | --> | ||
Some users might be unhappy about this, but we decided to do it anyway. We cannot keep legacy software forever, Fedora Linux is not that kind of Linux. | |||
== Dependencies == | == Dependencies == | ||
Line 194: | Line 194: | ||
<!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
* [[Changes/Gimp_3]] | |||
== Contingency Plan == | == Contingency Plan == | ||
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan? This might be as simple as "Revert the shipped configuration". Or it might not (e.g. rebuilding a number of dependent packages). If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy. --> | <!-- If you cannot complete your feature by the final development freeze, what is the backup plan? This might be as simple as "Revert the shipped configuration". Or it might not (e.g. rebuilding a number of dependent packages). If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy. --> | ||
* Contingency mechanism: | * Contingency mechanism: postpone to Fedora 42 <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
<!-- When is the last time the contingency mechanism can be put in place? This will typically be the beta freeze. --> | <!-- When is the last time the contingency mechanism can be put in place? This will typically be the beta freeze. --> | ||
* Contingency deadline: | * Contingency deadline: A week after Beta Freeze <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? --> | <!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? --> | ||
* Blocks release? | * Blocks release? No <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
== Documentation == | == Documentation == | ||
Line 210: | Line 209: | ||
<!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
There is no more Python 2 in Fedora Linux 41+. | |||
== Release Notes == | == Release Notes == | ||
Line 218: | Line 217: | ||
Release Notes are not required for initial draft of the Change Proposal but has to be completed by the Change Freeze. | Release Notes are not required for initial draft of the Change Proposal but has to be completed by the Change Freeze. | ||
--> | --> | ||
There is no more Python 2 in Fedora Linux 41+. |
Latest revision as of 12:26, 29 July 2024
Retire Python 2.7
Summary
The python2.7
package will be retired without replacement from Fedora Linux 41.
There will be no Python 2 in Fedora 41+ other than PyPy.
Packages requiring python2.7
on runtime or buildtime will have to deal with the retirement or be retired as well.
Owner
- Name: Miro Hrončok
- Email: mhroncok@redhat.com
Current status
- Targeted release: Fedora Linux 41
- Last updated: 2024-07-29
- Announced
- Discussion thread
- FESCo issue: #3244
- Tracker bug: #2300341
- Release notes tracker: <will be assigned by the Wrangler>
Detailed Description
The python2.7
package with the Python interpreter in version 2.7 was kept in Fedora after upstream EOL (2020-01-01) only to make it possible for Fedora users to test their software against the Python version shipped in RHEL 7, CentOS 7 and RHEL 8 and to support remaining packages that could not be ported.
- Fedora 41 is to be released in October 2024, nearly 5 years after the upstream EOL of Python 2.
- RHEL 7 will reach the end of its maintenance support 2 phase on 2024-06-30.
- CentOS Linux 7 will reach end of life (EOL) on 2024-06-30.
- RHEL 8 Python 2.7 application stream retirement date is June 2024.
Dependent packages
Based on repoquery --repo=rawhide{,-source} --whatrequires python2.7
, the following packages still depend on python2.7
:
email2trac
runtime and buidltime. rhbz#1738907 -- no response from package maintainers since 2019. This package will be retired if not fixed.flowcanvas
buidltime only. rhbz#1805233 -- no response from package maintainers since 2021. This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed.kdissert
buidltime only. rhbz#1807513 -- no response from package maintainers since 2020. This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed.qt5-qtwebengine
buidltime only. No bugzilla. Package bundles Python 2 for build in EPEL 9 and can probably do the same on Fedora. Alternativelly, can use PyPy (untested assumption). There is now a patch from Arch Linux to make it build with Python 3. This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed.qtwebkit
buidltime only. rhbz#1807543 -- no response from package maintainers since 2021. The latest meaningful response: "The plan is still to try to sunset Qt4WebKit entirely". This package will fail to build and will be eventually retired when Fedora 41 goes EOL if not fixed.
GIMP
The rest of the dependents exist merely for GIMP.
GIMP will be updated to GIMP 3 with Python 3 support. Python 2 dependencies of GIMP will be retired.
If by the time of the Fedora 41 Beta Freeze (2024-08-20) no Release Candidate of GIMP 3 has come around, we will postpone the retirement of Python 2 to Fedora 42.
Feedback
See the GIMP 3 discussion for feedback from the GIMP maintainer.
Benefit to Fedora
The Python maintainers will no longer regularly backport security fixes to Python 2.7 in RHEL, due to the the end of maintenance of RHEL 7 and the retirement of the Python 2.7 application stream in RHEL 8. We provided this obsolete package for 5 years beyond its retirement date and will continue to provide it until Fedora 40 goes end of life. Enough has been enough.
We do not wish to simply orphan the package, as we are afraid it would not receive proper care if taken by somebody else. If there are potential maintainers interested in maintaining Python 2 in Fedora beyond Fedora 41, they can talk to us and demonstrate their ability and will to take care of Python 2 by joining the maintenance early.
Users who need to run their application in Python 2 should do so on a platform that offers support for it. Running applications on unsupported Python is dangerous.
Developers who still need to test their software on Python 2 can use containers with older Fedora releases or unsupported CentOS/RHEL versions.
Scope
- Proposal owners:
- Other developers:
- Retire or fix the remaining dependent packages.
- Release engineering: #12175
- Policies and guidelines: Using Python 2 is already forbidden for Fedora packages.
- Trademark approval: not needed for this Change
- Alignment with the Fedora Strategy: nope?
Upgrade/compatibility impact
Unless Python 2 stops being installable, we do not plan to Obsolete it. Users who upgrade to Fedora Linux 41+ from earlier releases with Python 2 installed, will likely still get it, but they will receive no support.
Early Testing (Optional)
Do you require 'QA Blueprint' support? N
How To Test
Try installing python2.7
on Fedora Linux 41+. It should fail.
User Experience
Some users might be unhappy about this, but we decided to do it anyway. We cannot keep legacy software forever, Fedora Linux is not that kind of Linux.
Dependencies
Contingency Plan
- Contingency mechanism: postpone to Fedora 42
- Contingency deadline: A week after Beta Freeze
- Blocks release? No
Documentation
There is no more Python 2 in Fedora Linux 41+.
Release Notes
There is no more Python 2 in Fedora Linux 41+.