From 1ac008c5b1a8b9900f6f26cae4d91400f0c08e40 Mon Sep 17 00:00:00 2001 From: Eliane Pereira Date: Oct 20 2019 00:09:49 +0000 Subject: [PATCH 1/2] Issue #359 F31 System-Wide Change: Python means Python 3 --- diff --git a/modules/release-notes/pages/developers/Development_Python.adoc b/modules/release-notes/pages/developers/Development_Python.adoc index eab635c..6f40ac2 100644 --- a/modules/release-notes/pages/developers/Development_Python.adoc +++ b/modules/release-notes/pages/developers/Development_Python.adoc @@ -15,3 +15,28 @@ This change aims to discover what packages are dependent on `test.support` and w == Python 2 support was dropped from Sphinx The packages and sub-packages providing Python 2 support for Sphinx have been removed. See the xref:sysadmin/System_Utilities.adoc#sphinx-update[System Utilities section] for details. + +[[python-means-python3]] +== Python means Python 3 + +In package and command names, `Python` will mean `Python 3`, that is, users installing and running `Python` or `Python` packages without specifying a version will get `Python 3`. As a result, the name `Python` will not refer to a software that will be unmaintained upstream for most of Fedora 31's lifetime and retired from Fedora 32. + +Notable new changes include: + +* Running python will run `python3`. +* Running pytest will run the `Python 3` version of `pytest`, and similarly for `pydoc`, `pylint`, and so on. +* The `dnf install python` will install `Package-x-generic-16.pngpython3`, and similarly for other `python-*` provides, that is, `dnf install python-requests` will install `Package-x-generic-16.pngpython3-requests`. +* Packages with `Python 3` modules will provide the unversioned `python-` name. +* The `/usr/bin/python` command will be a symbolic link to `/usr/bin/python3` living in the Package-x-generic-16.pngpython-unversioned-command subpackage of Package-x-generic-16.pngpython3. +* `Python` package maintainers need no change, but there are several exceptions, such as: +** Packages with ambiguous names. +** Packages with ambiguous provides. +** Packages with missing `%python_provide`. +** Packages with Python versioned commands and tools. +** Packages that need unversioned Python to be Python 2 +* Custom scripts with python shebangs will invoke `Python 3` by default, whereas previosuly they invoked `Python 2` by default. + +NOTE: The final upstream release of `Python 2` is planned for January 2020. No further fixes will be made upstream. Most of Fedora 31's lifetime is after that date. `Python 2` will be maintained only by its Fedora maintainers. + + + From a245aa40520124d0d629935268da8f5865ea7b96 Mon Sep 17 00:00:00 2001 From: Eliane Pereira Date: Oct 20 2019 06:59:09 +0000 Subject: [PATCH 2/2] Add Release Notes for #366 F31 Self-Contained Change: IBus 1.5.21 --- diff --git a/modules/release-notes/pages/developers/Development_Python.adoc b/modules/release-notes/pages/developers/Development_Python.adoc index 6f40ac2..4167dbf 100644 --- a/modules/release-notes/pages/developers/Development_Python.adoc +++ b/modules/release-notes/pages/developers/Development_Python.adoc @@ -33,7 +33,7 @@ Notable new changes include: ** Packages with ambiguous provides. ** Packages with missing `%python_provide`. ** Packages with Python versioned commands and tools. -** Packages that need unversioned Python to be Python 2 +** Packages that need unversioned `Python` to be `Python 2`. * Custom scripts with python shebangs will invoke `Python 3` by default, whereas previosuly they invoked `Python 2` by default. NOTE: The final upstream release of `Python 2` is planned for January 2020. No further fixes will be made upstream. Most of Fedora 31's lifetime is after that date. `Python 2` will be maintained only by its Fedora maintainers.