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

GitHub actions miniforge setup should be updated to avoid CI tests #1125

Open
nstelter-slac opened this issue Nov 4, 2024 · 0 comments · May be fixed by #1126
Open

GitHub actions miniforge setup should be updated to avoid CI tests #1125

nstelter-slac opened this issue Nov 4, 2024 · 0 comments · May be fixed by #1126
Assignees

Comments

@nstelter-slac
Copy link
Collaborator

nstelter-slac commented Nov 4, 2024

github action setup was failing a few days ago b/c of miniconda setup (ex: https://github.com/slaclab/pydm/actions/runs/11633527143/attempts/1?pr=1120)

Failing 'Setup cona' step of github actions
 
Run conda-incubator/setup-miniconda@v2
Gathering Inputs...
Creating bootstrap condarc file in /home/runner/.condarc...
Ensuring installer...
Running installer...

...
...

Warning: Future Miniforge releases will NOT build Mambaforge installers. We advise you switch to Miniforge at your earliest convenience. More details at https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/.
Warning: ERROR: executing pre_install.sh failed
  
ERROR: executing pre_install.sh failed
Error: The process '/usr/bin/bash' failed with exit code 1

but now setup is successful and just gives warning (ex: https://github.com/slaclab/pydm/actions/runs/11633527143?pr=1120)

Warning: Mambaforge is now deprecated! Future Miniforge releases will NOT build Mambaforge installers. We advise you switch to Miniforge at your earliest convenience. More details at https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/. If you require Mambaforge, you may pin your installer to one found in https://github.com/conda-forge/miniforge/releases/tag/24.7.1-0

to avoid potential future failures we should update the github miniforge setup here

- name: Setup conda
to install 'Miniforge3' instead of 'Mambaforge':

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant