-
Notifications
You must be signed in to change notification settings - Fork 3k
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
'wheel' not detected when building wheel for legacy setup.py project #11362
Comments
Uh, no, the message is shown exactly because So the question is why
|
And this isn’t because the package didn’t publish a wheel — it could be why pip tried to generate a wheel, but the fatal issue from pip’s perspective is that the package cannot be built without the wheel package being installed. |
Oh interesting, I misunderstood wheels then. I though Currently Closing since this was my error, however a quick clarification question: If |
The main misunderstanding here was that |
Thanks @uranusjr ! |
Note this warning is being turned into a deprecation in #11331. If a better formulation can be found, now is a good time. |
Thanks @sbidoul for the heads up. But IIUC, as long as we explicitly install If I misunderstand, please correct me. |
Yes that is correct. |
As pointed out in dependabot/dependabot-core#5587, it appears that rather than explicitly manually install I'm planning to merge that fix into Dependabot, but if for some reason this is a bad idea, please comment on that PR. |
That's a valid solution as well, yes. That might interact weirdly with certain redistributions of Python, such as the one that Debian ships (but IIUC, dependabot doesn't use the Debian-provided Python, so it should be fine). + |
Thanks @pradyunsg ! |
Description
Context including links to CI job logs: dependabot/dependabot-core#5478
The
pipfile
package doesn't publish a wheel: https://pypi.org/project/pipfile/#filesHowever, when installing the package, I got the following error message:
This implies that I need to install the
wheel
package, which is extremely confusing, because I had installedwheel
, and other packages were successfully installing wheel.It took some digging before I realized the problem was that the target package had never published their wheel.
Expected behavior
Please reword the error message to make it clear that the problem is the target package hasn't published a wheel... maybe:
pip version
22.0.4
Python version
3.10.5
OS
Ubuntu 20.04
How to Reproduce
pip install pipfile
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: