Skip to content
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

Document shared cache dir #11032

Open
1 task done
sabik opened this issue Apr 13, 2022 · 1 comment
Open
1 task done

Document shared cache dir #11032

sabik opened this issue Apr 13, 2022 · 1 comment
Labels
help wanted For requesting inputs from other members of the community type: docs Documentation related type: feature request Request for a new feature

Comments

@sabik
Copy link

sabik commented Apr 13, 2022

What's the problem this feature will solve?

Background: pip caches various information in the pip cache dir. Potentially, a user could configure this to reside on a shared filesystem (network mount, container/VM bound volume). Some attention appears to be paid to making this configuration work in the source (building wheel, then moving it into place) and issues with this configuration appear to be accepted in the project (for example, #11012 or #1969).

However, there is no documentation on whether configuring the cache dir on a shared filesystem is supported, or any limits or caveats of this configuration.

Describe the solution you'd like

Document (probably in https://pip.pypa.io/en/latest/topics/caching/) that configuring the cache dir on a shared filesystem is supported, as well as any limits or caveats of such configuration.

Alternative Solutions

As an alternative, document (probably in https://pip.pypa.io/en/latest/topics/caching/) that configuring the cache dir on a shared filesystem is not supported.

Additional context

Some of the limitation or caveats of configuring the cache dir on a shared filesystem may also apply to one user running multiple instances of pip on the same machine on separate environments.

Code of Conduct

@sabik sabik added S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature labels Apr 13, 2022
@uranusjr uranusjr added type: docs Documentation related and removed S: needs triage Issues/PRs that need to be triaged labels Apr 13, 2022
@uranusjr
Copy link
Member

Sounds reasonable, but we’ll need someone with real experience using shared cache directory to do this. As far as I know, no maintainers do this in real life, we only react to bug reports.

@uranusjr uranusjr added the help wanted For requesting inputs from other members of the community label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted For requesting inputs from other members of the community type: docs Documentation related type: feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants