-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
--symlink-app-data: causes pip / wheel / setuptools to link to random tmp dir #2000
Comments
so I notice that it skips the appdir if it isn't writeable -- I would like to be able to reuse a readonly cache so I guess there's both a bug and a feature request here:
|
If the app data is read only we must fallback to copy or just raise error? |
Ideally I would like it to raise an error only if it needs to write to the cache, but allow symlinking into a readonly cache directory |
Feel free to raise a PR 👍 achieving this. |
cool cool, I'll see what I can do -- will probably do two passes (1) fix the bug (2) add the feature |
Issue
I expect
--symlink-app-data
to work when creating a virtualenvEnvironment
I've got a docker image for you :)
Output of the virtual environment creation
Make sure to run the creation with
-vvv --with-traceback
:Note here that I'm trying to populate the cache using the root user, and then having an unprivileged user utilize that cache later on. I'd like to use this to speed up pre-commit.ci by ~80-90% for python environment upload/download
The text was updated successfully, but these errors were encountered: