Skip to content

Environmet cache: breaks when using build.tools #8604

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

Closed
humitos opened this issue Oct 20, 2021 · 1 comment
Closed

Environmet cache: breaks when using build.tools #8604

humitos opened this issue Oct 20, 2021 · 1 comment
Labels
Bug A bug Needed: design decision A core team decision is required

Comments

@humitos
Copy link
Member

humitos commented Oct 20, 2021

We have a half-backed feature called Cache the environment (virtualenv, conda, pip cache, repository) in storage feature that can be enabled via a feature flag. With the usage of build.tools it fails with

$ python -mvirtualenv /home/docs/checkouts/readthedocs.org/user_builds/read-the-docs-test-builds/envs/build-tools 

FileExistsError: [Errno 17] File exists: '/home/docs/.asdf/installs/python/3.10.0/bin/python' -> '/home/docs/checkouts/readthedocs.org/user_builds/read-the-docs-test-builds/envs/build-tools/bin/python' 

Example build (private): https://readthedocs.com/projects/read-the-docs-test-builds/builds/750425/

We haven't used this feature enough yet. We should probably decide first what to do with it: kill it or improve it.

@humitos humitos added Needed: design decision A core team decision is required Bug A bug labels Oct 20, 2021
@humitos
Copy link
Member Author

humitos commented Jan 27, 2022

We killed this for now in #8815

@humitos humitos closed this as completed Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug Needed: design decision A core team decision is required
Projects
None yet
Development

No branches or pull requests

1 participant