eth-cscs / stackinator

https://eth-cscs.github.io/stackinator/
BSD 3-Clause "New" or "Revised" License
19 stars 15 forks source link

Make spack `config:deprecated` configuration accessible in environment #153

Closed albestro closed 10 months ago

albestro commented 11 months ago

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.