-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v45 is still set to build a universal wheel, but doesn't support Python 2 #1976
Comments
by setting universal = 0
by removing the [bdist_wheel] section
I believe this is a dupe of #1974. |
Ensure bdist_wheel no longer creates a universal wheel [remove bdist_wheel block], close #1976
@bennuttall Thanks for your PRs, but you should probably be aware that this is only a temporary workaround for your problem. The bigger issue is that piwheels.org does not expose the Shipping a |
Thanks @pganssle I'll open an issue on piwheels |
If you run
this yields the file
setuptools-45.0.0-py2.py3-none-any.whl
but if you try to use it with Python 2, it fails with the error
This arose in my piwheels project. We build wheels of everything on PyPI on Raspberry Pi hardware. Some users have reported their Python 2 projects suffering for this. See piwheels/packages#74. We don't build for Python 2 (we never have) and generally, pure Python wheels get built with a
py3
Python version tag. Only when a project specifies "universal" in their setup do we end up with apy2.py3
tag.Example: if I have
/etc/pip.conf
configured to use piwheels.org as an additional index, then trying to create a Python 2 virtualenv fails:setuptools still has
universal = 1
insetup.cfg
I guess this should either be set to
0
or that section removed. I'll open a PR.The text was updated successfully, but these errors were encountered: