-
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
Non-wheel, non-cached installation fails in poetry >= 1.4.1 for certain setuptools versions? #8320
Comments
you forgot to provide a way to reproduce this
|
@dimbleby thanks, after some more investigation it happens in the following scenario (probably more, but that's my scenario):
I am not sure why it happens, but in this scenario it overrides the
See contents of the tar.gz here Changed the title to reflect the actual state of the issue. Updated the issue template to include a reproducing Thanks |
I see a completely different error than the one you have reported, which is that the build fails with a stack ending
but that's not what you've reported and I suppose the answer to that is simply to use a newer setuptools. |
also the above isn't a poetry problem, or anyway not one that anyone is likely to be interested in fixing. Just use newer setuptools! |
the thing you're reporting looks likely to have been fixed at pypa/setuptools#1745
so propose that the solution is again: just use newer setuptools, nothing to do here |
@dimbleby I don't really agree with you it isn't a poetry problem, it was introduced in the PR I mentioned as the behavior changed there. Will use a new setuptools, but it's not always depends on me, it depends on the package that is being installed. |
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. |
-vvv
option) and have included the output below.Issue
I encounter a reproducible bug with non-cached, non-wheel archived installations.
I suspect the following PR is when it started.
It happens when the cache is empty (a.k.a no tar.gz and no .whl cached) at all (in CI environments for example).
What happens is (links are to relevant lines in source code in v1.5.1 for example):
I think the wanted fix would be to be able to convert the tar.gz to a wheel without overriding the tar.gz in the process. That way it won't be downloaded again and again and also it won't break when no cache exists. I couldn't debug it as it goes deeply into some inner scripts running in subprocesses. I can open a PR but I need some guidance in understanding how to approach it and why the .whl is overridden.
@quantum-byte your help would be appreciated too as you are familiar with this area.
Thanks a lot!
The text was updated successfully, but these errors were encountered: