From 7f657bb07e6c54f4d34b9d32d9a20fb7fe81800d Mon Sep 17 00:00:00 2001 From: Petr Bokoc Date: Apr 29 2019 14:08:32 +0000 Subject: 286 - Avoid Fedora-specific build flags in non-RPM Python extensions --- diff --git a/modules/release-notes/pages/developers/Development_Python.adoc b/modules/release-notes/pages/developers/Development_Python.adoc index c3473f4..75ad48d 100644 --- a/modules/release-notes/pages/developers/Development_Python.adoc +++ b/modules/release-notes/pages/developers/Development_Python.adoc @@ -35,7 +35,22 @@ 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. -== Build flags for user extension modules are reverted to upstream defaults +== Python progressbar replaced with progressbar2 + +The `progressbar` package has been updated to use the `progressbar2` fork, +which is newer and better maitained. + +== Nautilus extensions now use Python 3 + +As part of the general move to Python 3, extensions for the file +browser and graphical shell Nautilus are now executed using Python 3, +and extensions compatible only with Python 2 are no longer supported. +Extensions packaged in the distribution have been updated for Python 3 +compatiblity. Users who have installed their own extensions should +check that they are compatible with Python 3 or remove them. + +[[python-build-flags]] +== Avoid Fedora-specific build flags in non-RPM Python extensions When extension modules are built, the `distutils` module provides a set of compilation and link flags to ensure that modules are compiled @@ -49,14 +64,6 @@ distribution, but unexpected and unnecessary for user code. A distinct and smaller set of flags is now provided for extension modules compiled by users. -== Python progressbar replaced with progressbar2 - -The `progressbar` package has been updated to use the `progressbar2` fork, -which is newer and better maitained. - -[[python-build-flags]] -== Avoid Fedora-specific build flags in non-RPM Python extensions - The build flags (`CFLAGS`, `CXXFLAGS` and `LDFLAGS`) saved in the Python's distutils module for building extension modules are switched from: * `%\{build_cflags}`, @@ -78,12 +85,3 @@ The change affects building extension modules by users, outside of the RPM envir Only Python 3.7 and 3.6 will be changed. For detailed information about this change, including justification and impact on Python developers and packages, see the link:https://fedoraproject.org/wiki/Changes/Python_Extension_Flags[Change page on the Wiki]. - -== Nautilus extensions now use Python 3 - -As part of the general move to Python 3, extensions for the file -browser and graphical shell Nautilus are now executed using Python 3, -and extensions compatible only with Python 2 are no longer supported. -Extensions packaged in the distribution have been updated for Python 3 -compatiblity. Users who have installed their own extensions should -check that they are compatible with Python 3 or remove them.