diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2018-08-15 22:55:51 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-08-16 16:00:44 -0700 |
commit | 39c9bbfbbb26d35be44fa69b2b7d536f9539d435 (patch) | |
tree | 3a02aa39820becf1c55630f0abc65a0d922dafd7 /.github/issue_template.md | |
parent | f838b5e8c093b60916beb7d62d177301688088b2 (diff) | |
download | spack-39c9bbfbbb26d35be44fa69b2b7d536f9539d435.tar.gz spack-39c9bbfbbb26d35be44fa69b2b7d536f9539d435.tar.bz2 spack-39c9bbfbbb26d35be44fa69b2b7d536f9539d435.tar.xz spack-39c9bbfbbb26d35be44fa69b2b7d536f9539d435.zip |
imports: spack uses importlib instead of imp when available
- `imp` is deprecated and seems to have started having some weird
issues on certain Linux versions.
- In particular, the file argument to `load_source` is ignored on
arch linux with Python 3.7.
- `imp` is the only way to do imports in 2.6, so we'll keep it around for
now and use it if importlib won't work.
- `importlib` is the new import system, and it allows us to get
lower-level access to the import implementation.
- This consolidates all import logic into `spack.util.imp`, and make it
use `importlib` if it's avialable.
Diffstat (limited to '.github/issue_template.md')
0 files changed, 0 insertions, 0 deletions