In this release, the
test.support module was moved from
python3-libs to the
This change aims to discover what packages are dependent on
test.support and what parts of this module are useful, and could be moved to the standard library.
The packages and sub-packages providing Python 2 support for Sphinx have been removed. See the System Utilities section for details.
In package and command names,
Python will mean
Python 3, that is, users installing and running
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
Running pytest will run the
Python 3version of
pytest, and similarly for
pylint, and so on.
dnf install pythonwill install
Package-x-generic-16.pngpython3, and similarly for other
python-*provides, that is,
dnf install python-requestswill install
Python 3modules will provide the unversioned
/usr/bin/pythoncommand will be a symbolic link to
/usr/bin/python3living in the Package-x-generic-16.pngpython-unversioned-command subpackage of Package-x-generic-16.pngpython3.
Pythonpackage maintainers need no change, but there are several exceptions, such as:
Packages with ambiguous names.
Packages with ambiguous provides.
Packages with missing
Packages with Python versioned commands and tools.
Packages that need unversioned
Custom scripts with python shebangs will invoke
Python 3by default, whereas previosuly they invoked
Python 2by default.
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.
Version 3.8 of the Python programming language and interpreter is now available in Fedora. You can install it from the
Note that the Python stack still uses Python 3.7 by default.
Python 3.8 has also been released as an asynchronous update for Fedora 30 and 29.
For more information, see:
An article describing how you can install multiple Python versions in Fedora: https://developer.fedoraproject.org/tech/languages/python/multiple-pythons.html
The Python 3.8 release notes: https://docs.python.org/3.8/whatsnew/3.8.html
Want to help? Learn how to contribute to Fedora Docs ›