You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a way to disable cache like PIP_NO_CACHE_DIR=off #3997
I have searched the issues of this repo and believe that this is not a duplicate.
I have searched the documentation and believe that my question is not covered.
Feature Request
Use case
Building a container for a project with lots of big dependencies.
The issue
We had >1GB of data in ~/.cache/pypoetry
The current solution
Run rm -rf ~/.cache/pypoetry/ after each call to poetry
The requested feature
A setting to disable cache completely, juste like we can use PIP_NO_CACHE_DIR=off for pip.
Poetry already has a setting for cache-dir, poetry config cache-dir /dev/null doesn't work (NotADirectoryError).
Maybe we could set cache-dir to none or something like that ?
Activity
abn commentedon Apr 30, 2021
We should really add
--no-cache | --disable-cacheoptions to commands that need them.mkniewallner commentedon Jul 9, 2022
Since #5519 has been merged and released in 1.2.0b2, I believe that this issue can be closed?
github-actions commentedon Mar 1, 2024
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.