| |
@@ -15,3 +15,28 @@
|
| |
== 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.
|
| |
+
|
| |
+
|
| |
+
|
| |
Fixes #359