-
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
Install on Heroku fails with pip error #4297
Comments
This seems somewhat similar to #2658 |
Hello @cfra, please try to delete this fin swimmer |
@finswimmer this is a build on Heroku, not an interactive environment. I cannot modify the environment and rerun from a specific step, I can just rerun the complete build. Also, I cannot delete the As for where the Pip uses a class That class creates a temporary directory adjacent to another path. For this, it replaces the first character of the path with Specifically, looking at my error log above, Also, note that immediately prior to the error that happens when attempting to install So my assumption would be that the update and the install are being run in parallel which is apparently unsafe. I think the pip updating |
Just stopping by to corroborate a similar error, however, not using
a hacky
requirements.txt
|
Thank you for providing this input. I believe your error to be unrelated to this on though. |
Fixed by #6186 |
@neersighted I don't think this is addressed by #6186. |
Ah, shoot, clicked on the wrong tab. Indeed this is not fixed by #6186, however, I don't think it should be happening with the new installer as we now invoke pip with a single dep and |
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.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name:
Poetry version: 1.1.7
pyproject.toml
Issue
We use Poetry on Heroku to install our packages. For this, we list
poetry==1.1.7
as sole dependency in ourrequirements.txt
, and have a post-compile hook that looks like this:Additionally, we invalidate the cache in the pre-compile hook to ensure we always start with a clean environment and don't have any old packages lying around:
All in all this seems to work fine, however, we spuriously encounter errors like these:
This error is not specific to a single package, we saw it happen for different packages.
The error always is the
No such file or directory
for the.dist-info
.The file/directory that is not found always has the first character substituted by
~
which might be a name constructed by pip'sAdjacentTempDirectory
.As the error is only occurring spuriously and as I have no interactive access to the build environment, I am not really sure how I should best debug this further.
The text was updated successfully, but these errors were encountered: