-
-
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
[BUG] Setuptools/wheel PEP517 Build requirements compliance #2986
Comments
@jaraco, can this be solved by using the existing |
Hmm, another interesting solution would be to switch wheel (and other vendored dependencies) to flit_core. It has much fewer dependencies and can be bootstrapped easily, so it would pave a clean way to bootstrapping setuptools without the necessity to bundle anything. |
Getting rid of this seems to be the desired outcome. (In this context pypa/packaging#498 might be relevant). |
I'm all for long term solutions but I think we need an immediate solution too, if only temporary. |
Sorry @mgorny, I completely misunderstood your first comment in this thread, I thought you were interested in giving an alternative implementation a try 😅, so I went around collecting some links that could help...
I completely understand that, would you or @jameshilliard like to help implementing this temporary solution and helping to maintain it until we migrate to the long term vision? |
Sure, I just wanted to know if the That said, I'm currently a bit busy but I can give it a try once I manage some free time. No promises, though. |
Description
The PEP517 build requirements state:
Currently wheel is not able to use setuptools for its PEP517 build due to a dependency cycle violation with wheel. Setuptools can also thus not use a PEP517 based wheel dependency as that would also violate the PEP517 build requirements.
It appears setuptools probably needs to vendor wheel as recommended in PEP517:
Expected behavior
Setuptools should not have a dependency cycle with wheel.
How to Reproduce
I have been writing a dependency cycle checker that can catch the wheel violation.
Output
ERROR Failed to validate `build-system` in pyproject.toml, dependency cycle detected: `wheel` -> `setuptools.build_meta` -> `wheel`
Code of Conduct
The text was updated successfully, but these errors were encountered: