-
Notifications
You must be signed in to change notification settings - Fork 2.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
Poetry won't install 'wheel' package (1.0.10 -> 1.1.0 regression) #3075
Comments
@brechtm this was an intentional change introduced via b92e681 since it is currently a base package in virtual environments. The removal seems to happen because it is removed from the lock, since it is now an unsafe package. I need to check if we can make it safe without impacting anything. The CI jobs you pointed to indicate the use of |
What does it mean that wheel is a base package in virtual environments? That sounds like it is always available, without the need to install it. However, after a After a
I simply haven't investigated converting from |
That is what I would expect if you were using a cached venv created prior to I will take a look to see if we "really" need wheel to be marked unsafe. But I suspect we will since otherwhise wheel building for sdist dependencies might fail today in certain scenarios. |
Note that the issue was not fixed by deleting the venv and then doing a |
I think that what led to the: https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments |
For what it's worth, I don't think a fix for this should be high priority as it will only occur in a very specific situation. The problem can be manually fixed without too much fuss and there are probably more urgent issues to address. For anyone running into the same problem, this should fix it:
|
Yep you are right. It's probably not worth fixing this. |
Update: seems my problem is unrelated, I'd better switch to
Why does Now I'm not able to build the virtual environment. |
This should not happen with 1.2.
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
(N/A) If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: Linux, MacOS, Windows
Poetry version: 1.1.0
Link to your pyproject.toml file: brechtm/rinohtype/pyproject.toml
Issue
Since updating to 1.1.0, Poetry will no longer install the wheel dependency. See the "Install development dependencies" section of any "unit tests (wheel)" jobs on rinohtype's CI tests. After creating a new virtual environment, instead of installing wheel, Poetry prints:
I can reproduce this locally. Removing and adding 'wheel' manually does not help.
The text was updated successfully, but these errors were encountered: