-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Cache pip packages per version rather than per project #5685
Comments
What are these problems? |
Different versions have different requirements, dependencies of another dependencies, etc. |
Also if the cache gets corrupted, users need to wipe in order to get it working again. And we can't clean the cache in #5680 |
I don't think we are having this problem.
There is no need to save a cache if we are going to clean it after use it once. If that's what we want, we just don't need to save the cache at all. We can use,
Having a per-version pip cache does not makes too much sense to me. |
I'm going to close this, I think it goes against our goal of removing caching entirely. If we weren't on this path, it would be a helpful feature, but I think the benefits ephemeral build process bring will trump any gains by tuning caching |
We are currently saving the pip cache per project, which can lead to some weird deps problems when building from different versions.
https://github.com/rtfd/readthedocs.org/blob/768856e3f72fd0ec1e4fbe9eab8913cb5f01b490/readthedocs/projects/models.py#L616-L621
Ref #5680 (comment)
The text was updated successfully, but these errors were encountered: