| |
@@ -3,3 +3,39 @@
|
| |
|
| |
[[sect-python]]
|
| |
= Python
|
| |
+
|
| |
+ == Python 2 is deprecated in Fedora 30
|
| |
+
|
| |
+ Many Python 2 modules were removed from the distribution: packages
|
| |
+ that only provide Python 2 importable modules, if they are not used by
|
| |
+ any other package (leaf packages).
|
| |
+
|
| |
+ While this change should not affect regular users, it will affect
|
| |
+ developers that use system-packaged Python modules.
|
| |
+
|
| |
+ If you are developing software that needs to run with Python 2, we
|
| |
+ recommend using a virtual environment and installing dependencies from
|
| |
+ the Python Package index (PyPI). See details at:
|
| |
+ https://developer.fedoraproject.org/tech/languages/python/python-installation.html
|
| |
+
|
| |
+ We also recommend using a virtual environment (venv) for Python 3, if
|
| |
+ your software targets the wider Python ecosystem rather than Fedora
|
| |
+ specifically. Using venv will decouple your development environment
|
| |
+ from the system.
|
| |
+
|
| |
+ If you are developing for a Fedora package, please port to Python 3 as
|
| |
+ soon as possible. Almost complete Python 2 removal is planned for the next
|
| |
+ release.
|
| |
+
|
| |
+ == Automatically generated dependencies for Python packages
|
| |
+
|
| |
+ The generator which generates Provides and Requires for Python RPM
|
| |
+ packages based on the setup.py file has been enabled by default. This
|
| |
+ makes the packaging of Python packages easier and more automatic by
|
| |
+ reusing information provided by the upstream project, and should result
|
| |
+ in fewer unecessary or missing dependencies in rpms.
|
| |
+
|
| |
+ == Python progressbar replaced with progressbar2
|
| |
+
|
| |
+ The progressbar package has been updated to use the progressbar2 fork,
|
| |
+ which is newer and better maitained.
|
| |