spack/lib/spack
Harmen Stoppels 98c08ce5c6
repo.py: enable search paths when spack.repo.PATH is assigned (#50370)
Fixes a bug where `custom_repo.get_pkg_class("foo")` failed executing `import spack_repo.builtin` even if the builtin repo was configured globally.

Instead of assignment of `spack.repo.PATH`, the `spack.repo.enable_repo` function now assigns and enables the repo, meaning that also Python module search paths are modified.
2025-05-08 13:42:20 +02:00
..
docs binary_distribution: content addressable tarballs (#48713) 2025-05-06 12:32:15 -06:00
external external: list licensing in init summary (#46042) 2025-04-18 21:28:23 -06:00
llnl lang.py: make HashableMap generic, and use in Spec (#50229) 2025-05-05 10:45:11 +02:00
spack repo.py: enable search paths when spack.repo.PATH is assigned (#50370) 2025-05-08 13:42:20 +02:00
spack_installable Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00