-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Micromamba seems to be taking a really long time to run the install packages step.
Here are two examples of successful, but really slow install steps .
Dataviz, took 3 hours to install on Ubuntu:
https://github.com/choderalab/drugforge/actions/runs/22459598605/job/65067697532
Workflows, took 2 hours to install on Ubuntu:
https://github.com/choderalab/drugforge/actions/runs/22459598695/job/65067493154?pr=132 two hours for this to install.
In both cases, Install packages is calling micromamba several times in sequence, to install the environment files for the all the sub packages it depends on, e.g. in the dataviz:
`
- name: Install packages
run: |
micromamba install -n dataviz --file devtools/conda-envs/${{ matrix.os }}/data.yaml
micromamba install -n dataviz --file devtools/conda-envs/${{ matrix.os }}/docking.yaml
micromamba install -n dataviz --file devtools/conda-envs/${{ matrix.os }}/simulation.yaml
micromamba install -n dataviz --file devtools/conda-envs/${{ matrix.os }}/modeling.yaml
micromamba install -n dataviz --file devtools/conda-envs/${{ matrix.os }}/spectrum.yaml
python -m pip install -e ./drugforge-data --no-deps
python -m pip install -e ./drugforge-modeling --no-deps
python -m pip install -e ./drugforge-cli --no-deps
python -m pip install -e ./drugforge-dataviz --no-deps
python -m pip install -e ./drugforge-docking --no-deps
python -m pip install -e ./drugforge-simulation --no-deps
python -m pip install -e ./drugforge-spectrum --no-deps
micromamba list
`
Interestingly, the CLI only took half an hour and called all of the various yaml files
Obviously, this was not happening previously, so it could be a GitHub issue (there are a bunch of warnings that seem to have shown up in some of the tests about caching services unavailable, but those repos ran efficiently).
Is there a better/more efficient way to streamline this?
Could this issue be with some of the pins not being consistent across the various .yaml files making it harder to solve each time?