[Distutils] Python 3.6 new warnings

Daniel Holth dholth at gmail.com
Thu Jan 5 15:12:42 EST 2017


sysconfig has a lot less information on Windows, bdist_wheel uses a
different mechanism to detect "debug", "pymalloc", and "4-byte unicode",
and newer versions of bdist_wheel warn about using the fallback mechanism.

You might see fewer 'none' if you make sure bdist_wheel is up to date in
all your build environments.

On Wed, Jan 4, 2017 at 7:47 AM Robin Becker <robin at reportlab.com> wrote:

After the recent 3.6 release I started to build reportlab wheels for the new
release on windows amd_x64 etc etc.

A new warning which I haven't seen before is

> C:\ux\XB33\py36_x86\lib\site-packages\wheel\pep425tags.py:77:
RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be
>   warn=(impl == 'cp')):
> C:\ux\XB33\py36_x86\lib\site-packages\wheel\pep425tags.py:81:
RuntimeWarning: Config variable 'WITH_PYMALLOC' is unset,
> Python ABI tag may be incorrect
>   warn=(impl == 'cp')):

the windows wheels come out named like this

> reportlab-3.3.26-cp27-none-win32.whl
> reportlab-3.3.26-cp27-none-win_amd64.whl
> reportlab-3.3.26-cp33-none-win32.whl
> reportlab-3.3.26-cp33-none-win_amd64.whl
> reportlab-3.3.26-cp34-none-win32.whl
> reportlab-3.3.26-cp34-none-win_amd64.whl
> reportlab-3.3.26-cp35-none-win32.whl
> reportlab-3.3.26-cp35-none-win_amd64.whl
> reportlab-3.3.26-cp36-cp36m-win32.whl
> reportlab-3.3.26-cp36-cp36m-win_amd64.whl


1) should I be attempting to make the none's correct using code in setup.py
2) is the tagging correct for cp36? Looking at pep 425 I don't see any
definitions of the suffices other than d being debug.
Robin Becker
Distutils-SIG maillist  -  Distutils-SIG at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170105/1dd65954/attachment-0001.html>

More information about the Distutils-SIG mailing list