-
Notifications
You must be signed in to change notification settings - Fork 53
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
Parallel builds of environments #392
Comments
You can get the package cache directory via the following. This will help determine where packages are downloaded an extracted.
There are two formats that I know of for packages that are downloaded and need to be handled.
|
@aktech was there any progress in implementing this? Happy to meet and discuss further if this is still a priority. |
Closing as implemented in #417 |
See notes form a matrix conversation https://matrix.to/#/!SgckMCYyQUhdyooKZe:gitter.im/$U5CYJdRgHFBF6pqWSmP_h2HbY8mHTTl7wX-F1Po1JkI?via=gitter.im&via=matrix.org&via=tum.de |
A conda environment install can be broken into several steps:
Currently all of this is done in https://github.com/Quansight/conda-store/blob/main/conda-store-server/conda_store_server/build.py#L97-L110 via
conda env create -f environment.yaml -p <prefix>
in one monolithic approach. As a first approach (which can be improved later) we need to break this function into several steps.Replace
conda env create -f environment.yaml -p <prefix>
withconda-lock -f environment.yml -p linux-64
this will generate a yaml file for the lockmanager: conda
to the conda package cache directory and extract. This step must use locking using filelock https://github.com/Quansight/conda-store/blob/main/conda-store-server/conda_store_server/build.py#L135-L137.conda-lock install -p <prefix>
The text was updated successfully, but these errors were encountered: