-
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 depends on setuptools #5964
Comments
What if you were to remove the "wheel" from build requirements? |
@Secrus is right
ie this is user error and can be closed |
Having said which, I don't reproduce this problem even with Using the provided pyproject.toml, with setuptools absent from the virtual environment:
|
I'll try to remove Isn't |
news to me, if you have a source and think that poetry is Doing It Wrong then please raise an issue |
I guess this is the closest to an official source as possible: https://packaging.python.org/en/latest/discussions/wheel-vs-egg/ |
that is not even close to saying "all build environments must include the wheel package". Do you still have a problem here or can this be closed? Per last week I can't reproduce your problem anyway so if you are still hitting an issue you'll have to provide more detail on what you're doing differently. |
I'm away from the machine it happened on for now. What kind of information would you need? |
A way to reproduce the problem. I've seen a few issues recently where folk have submitted Dockerfiles reproducing issues. That's a sensible approach. |
Try to update your version of |
My version of pip was already up to date. Removing |
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. |
If an exception occurs when executing a command, I executed it again in debug mode (The exception doesn't occur in Poetry itself-vvv
option).Issue
After creating a simple project with the default configuration using
poetry init
, it is not possible to install it with pip.Solution
Adding
"setuptools"
as abuild-system.requires
fixes the issue.If setuptools is required by Poetry, why doesn't
poetry init
add it?Also, I thought the goal of Poetry was to avoid using setuptools?
The text was updated successfully, but these errors were encountered: