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

feat(ci): Remove defaults channel from conda setup and use strict channel prio #1554

Merged
merged 2 commits into from
Feb 26, 2025

Conversation

coroa
Copy link
Member

@coroa coroa commented Feb 25, 2025

With the default settings the generated pinned environments may still contain references to the defaults channel in certain cases (currently to zstandard), and the test workflow does not fail because it also falls back to the defaults channel.

Was able to reproduce locally the creation of a locked environment with conda
which could not be installed by mamba (unless the defaults channel was explicitly
configured). Ensuring the defaults channel does not appear in ~/.condarc is
enough to create locked environments which work with my current mamba setup.

Strict channel priority should improve the situation further.

@coroa coroa requested a review from lkstrp February 25, 2025 20:33
…nnel prio

With the default settings the generated pinned environments may still contain
references to the defaults channel in certain cases (currently to zstandard),
and the test workflow does not fail because it also falls back to the
defaults channel.
@coroa coroa force-pushed the feat/remove-defaults-from-conda-environments branch from 67d3016 to 676b3b8 Compare February 25, 2025 20:36
Avoids dependencies on proprietary anaconda pkgs channels
@coroa
Copy link
Member Author

coroa commented Feb 25, 2025

Success 🤡

https://github.com/PyPSA/pypsa-eur/actions/runs/13530573076/job/37811548433#step:10:21 failed with the desired nomkl=3.0 complaint for the current broken linux-pinned.yml.

Copy link
Member

@fneum fneum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not opposed :)

@coroa coroa merged commit d8be330 into master Feb 26, 2025
11 of 12 checks passed
@coroa coroa deleted the feat/remove-defaults-from-conda-environments branch February 26, 2025 18:36
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 this pull request may close these issues.

2 participants