-
Notifications
You must be signed in to change notification settings - Fork 157
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
version 0.45.0: convert command generates file name not supported by pip #644
Comments
I am also running into this problem. |
How can I reproduce this problem? |
We have a dummy egg package we use for testing some things that we've hit this issue on, so maybe that would be useful for reproducing this. Folder structure:
setup.pyfrom setuptools import find_packages, setup
setup(name="egg-package", version="0.1.3", packages=find_packages()) egg_package/init.py__version__ = "0.1.3"
name = "egg_package" If you install the dummy package using If you then try to install that wheel via
If you rename the file to |
Disregard this. It is consistent. The environment where I could no longer reproduce was because I downgraded wheel to 0.44.0 in it. |
I can only blame this on the lack of real-world eggs to test against (maybe I should've built my own). But I never thought so many people would still be converting eggs in this day and age. |
I hear ya on that. That's why we have that dummy egg package for testing I shared above. At @coiled we replicate people's local Python environments on a cluster, and it is surprising how often people still have things installed with eggs even now. |
The problem line is: |
I think this branch will fix your problem: https://github.com/pypa/wheel/tree/fix-644 |
Yup! Just tested locally and that does the trick. Thanks for the quick fix! |
Hi,
with wheel 0.45.0 when executing the convert command I get a wheel file named myproject-1.0.0-py39-cp39-any.whl
with wheel 0.44.0 the file generated was named myproject-1.0.0-py39-none-any.whl
I had to rollback to wheel 0.44.0 because with wheel 0.45.0 pip complained with the error message "myproject-1.0.0-py39-cp39-any.whl is not a supported wheel on this platform"
Regards
The text was updated successfully, but these errors were encountered: