python 3.9 package leaks CFLAGS into user packages via sysconfig
Fri Dec 31 21:22:23 GMT 2021
On 31.12.2021 20:33, Matthias Koeppe wrote:
> On Mon, Dec 27, 2021 at 5:27 PM Matthias Koeppe <firstname.lastname@example.org>
>> $ python3.9 -m sysconfig | grep CFLAGS
>> CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall
>> These flags will end up in builds of user Python packages with extensions
>> via sysconfig/distutils.
>> This should be fixed by putting the necessary flags for the Python build
>> into CFLAGS_NODIST instead [...]
> Thanks, Marco, for the python-3.9.9-3 test package.
> It has been reported to work well for us (
> https://trac.sagemath.org/ticket/33078#comment:34), solving the reported
for the testing.
I expect to promote it from test to current in few days.
More information about the Cygwin