From 55e1a2122d34d1b6884de7604d17f3bf7798e58b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 01 2019 12:05:05 +0000 Subject: Merge #843 `Python 2 is forbidden only on Fedora 30+` --- diff --git a/guidelines/modules/ROOT/pages/Python.adoc b/guidelines/modules/ROOT/pages/Python.adoc index 91b032e..92c254b 100644 --- a/guidelines/modules/ROOT/pages/Python.adoc +++ b/guidelines/modules/ROOT/pages/Python.adoc @@ -3,7 +3,16 @@ == Python Version Support -In Fedora we have multiple Python runtimes, one for each supported major Python release. At this point that's one for python3.x and one for python2.7 However the python2 stack will be removed from Fedora and is xref:deprecating-packages.adoc[deprecated]. Upstream support for the python2 interpreter officially ends in 2020. If a piece of software supports python3, it MUST be packaged for python3. Software using python2 MUST NOT be newly packaged without FESCo exception. +In Fedora we have multiple Python runtimes, +one for each supported major Python release. +At this point that's one for python3.x and one for python2.7. +However the python2 stack will be removed from Fedora and is xref:deprecating-packages.adoc[deprecated]. +Upstream support for the python2 interpreter officially ends in 2020. +If a piece of software supports python3, +it MUST be packaged for python3. +Software using python2 MUST NOT be newly packaged into Fedora 30 or newer without FESCo exception. +Packaging new python2 based packages into older Fedoras is discouraged, +but doesn't need an exception. For guidelines on maintaining already existing python2 packages, see the xref:Python_Appendix.adoc[appendix].