This is a tracking bug for Change: Python Extension Flags Reduction For more details, see: https://fedoraproject.org/wiki/Changes/Python_Extension_Flags_Reduction Continuing the work started with https://fedoraproject.org/wiki/Changes/Python_Extension_Flags, this change is about further reducing the build and linker flags (CFLAGS and LDFLAGS) saved internally in the Python interpreter for use by distutils and other build systems. Compiling non-RPM Python extension modules will carry only the compiler flags required for binary compatibility with the interpreter they were built against and not Fedora specific ones. Practically that means the only Fedora derived flags will be -fexceptions and -fcf-protection and Python will apply its own upstream hardcoded ones, making the final flag set for a non-RPM compiled Python extension as follows: -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection Python C extensions built as rpm's will not be affected. The current main Python interpreter on Fedora 39 will be modified (Python 3.12) and Python 3.6-3.11 will follow. This change will affect every package that provides support for extension builders via utilizing the %{extension...flags} macros which at the time being is only Python. If you encounter a bug related to this Change, please do not comment here. Instead create a new bug and set it to block this bug. Reproducible: Always
F39 was released on November 7th, so I am closing this tracker. If this Change was not completed, please notify me ASAP.