periareon / req-compile

Python requirements compilation
MIT License
14 stars 4 forks source link

req-compile returning wheels for the "any" wheel rather than the platform-specific wheel #12

Closed NSchrading closed 3 years ago

NSchrading commented 3 years ago

req-compile is installing the "any" platform wheel over the more platform-specific wheel, at least on my windows 10 enterprise machine:

Simple repro:

$ req-candidates pyenchant==3.2.1
WHEEL pyenchant-3.2.1-py3-None-any
WHEEL pyenchant-3.2.1-py3-None-win_amd64
WHEEL pyenchant-3.2.1-None-None-any

This appears to have started happening after 0.10.15. On 0.10.15 I get the expected ordering:

$ req-candidates pyenchant==3.2.1
WHEEL pyenchant-3.2.1-py3-None-win_amd64
WHEEL pyenchant-3.2.1-py3-None-any
WHEEL pyenchant-3.2.1-None-None-any

0.10.16 crashes with an error LoadLibrary() argument 1 must be str, not None and 0.10.17 and higher give the any wheel before the platform specific wheel.