-
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 caching issue #7718
Comments
looks duplicate #4210 anyway no-one will care to debug poetry 1.3, sorry. please close |
Corrected the version, It is indeed on 1.4.1, not 1.3 |
clear your cache directory |
We don't use cache. |
your stack trace and your issue title both disagree. If you mean that you don't want to use the cache, try |
When I say no cache, because this is run in a GitHub action without any poetry cache/pip cache enabled. We don't explicitly set --no-cache (but I will try) as the container is freshly created and poetry install is the first command we run. |
Whatever the root cause is, we can make some improvements to the error message itself. The non-verbose version is just:
This error doesn't report anything valuable here, not even the package name that failed to be installed. |
Has anyone looked into how it gets corrupted. I can't really image much more than it being an empty file - that can happen for example if there are two write-mode file objects writing to the same file. |
@Syffe Could you reduce the |
We're seeing this too, in a fresh container that should have no preexisting cache. |
I recently spotted this in one of our pipeline where we do I think this is fixed on master already in #7453. I've worked around it for now using |
as above = #7453, now released - please close |
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. |
Poetry version: 1.4.1
Python version: 3.11.0
OS version and name: Ubuntu 20.04.6 LTS
pyproject.toml: https://gist.github.com/Syffe/80bc7fe55dc2dcb7d59dd295b8e9c7c0
I am on the latest stable Poetry version, installed using a recommended method.
I have searched the issues of this repo and believe that this is not a duplicate.
I have consulted the FAQ and blog for any relevant entries or release notes.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option) and have included the output below.Issue
Poetry seems to be flaky when executing our test suite.
We're running a GitHub Actions workflow where we use poetry to install our dependencies based on pyproject.toml
The text was updated successfully, but these errors were encountered: