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

Make spack config:deprecated configuration accessible in environment #153

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

albestro
Copy link
Contributor

Sometimes there's no other way than dealing with deprecated packages. Spack by default does not allow anymore to fetch packages version marked as deprecated, but it still keeps the door open for such edge cases allowing to control the behavior via config:deprecated.

This PR exposes this option in environments.yaml keeping the default spack behavior (i.e. false = don't allow to install deprecated versions).

I didn't had the chance to fully test it, yet. In case this work is in the right direction, I will take care of updating the related documentation too before merging this PR.

@albestro albestro marked this pull request as ready for review January 23, 2024 15:50
Copy link
Member

@bcumming bcumming left a comment

Choose a reason for hiding this comment

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

looks good to me!

@bcumming bcumming merged commit db66c7d into eth-cscs:master Jan 25, 2024
7 checks passed
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