The translation is temporarily closed for contributions due to maintenance, please come back later.
The translation was automatically locked due to following alerts: Could not merge the repository. Could not push the repository.
English Italian
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.
The `progressbar` package has been updated to use the `progressbar2` fork, which is newer and better maitained.
The `python3-devel` package will lose its runtime dependency on `redhat-rpm-config` (which was only required for annobin support and GCC spec files).
This link:https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md#support-for-extension-builders[currently means] that no GCC plugins (such as annobin) are activated and no GCC spec files (`-specs=` arguments) are used by default when building Python extension modules (e.g. with `python3 setup.py build`).
to
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.
When extension modules are built, the `distutils` module provides a set of compilation and link flags to ensure that modules are compiled in a way which is compatible with Python executable itself. When building modules in Fedora, the same set of flags was used for modules which are part of the distribution (i.e. part of an RPM package) and for modules compiled by users *using* Fedora. Those flags included custom GCC plugins and additional linker options to "harden" the code and add `annobin` annotations, which is appropriate for the distribution, but unexpected and unnecessary for user code. A distinct and smaller set of flags is now provided for extension modules compiled by users.
While this change should not affect regular users, it will affect developers that use system-packaged Python modules.