summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-10-29py-slurm-pipeline: Add 4.0.4, Fix base.py: import six for @:3 (#26968)Bernhard Kaindl1-3/+5
* py-slurm-pipeline: Add 4.0.4, Fix base.py: import six for @:3 Before 4.0.0, slurm_pipeline/base.py has: `from six import string_types` * Added depends_on('py-pytest@6.2.2:', type='build') as requested by Adam * remove comment requested to be removed
2021-10-29trilinos: add MPICH and HPE MPT MPI environment variables (#27070)Jon Rood1-0/+2
2021-10-29py-ipyparallel: add 7.1.0 (#26984)genric1-13/+23
2021-10-29sirius: add mpi datatypes patch for recent cray mpich (#27065)Simon Pintarelli2-0/+23
2021-10-29py-torch: Add a breakpad variant, disable it for ppc64 and ppc64le (#26990)Baptiste Jonglez1-0/+6
2021-10-29config add: infer type based on JSON schema validation errors (#27035)Massimiliano Culpo3-19/+45
- [x] Allow dding enumerated types and types whose default value is forbidden by the schema - [x] Add a test for using enumerated types in the tests for `spack config add` - [x] Make `config add` tests use the `mutable_config` fixture so they do not affect other tests Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2021-10-29r-cli: add 3.0.1 (#27047)Manuela Kuhn1-6/+6
2021-10-29r-afex: add 1.0-1 (#27032)Manuela Kuhn1-0/+1
2021-10-29curl: fix mbedtls versions and certs config (#26877)Thomas Madlener1-4/+12
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2021-10-29m4: set times of m4.texi to fix build on Summit GPFS (#26994)Jon Rood1-2/+3
Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
2021-10-29libssh2: skip the testsuite when docker is not installed (#26962)Bernhard Kaindl1-0/+5
The build-time testsuite which would be run when building with tests needs docker. Check that it exists before attempting to execute the tests. Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-10-29Fix exit codes posix shell wrapper (#27012)Harmen Stoppels2-6/+21
* Correct exit code in sh wrapper * Fix tests * SC2069
2021-10-29elfio: add minimum version requirements to cmake (#27033)Harmen Stoppels1-1/+3
2021-10-29WarpX & HiPACE++: Constrain FFTW for No-MPI (#27043)Axel Huebl2-0/+2
Contrain FFTW for no-MPI to simplify builds and logic to handle.
2021-10-29add Julia 1.7.0-rc2 (#27016)Valentin Churavy1-2/+3
2021-10-29r-gargle: add new (#27046)Manuela Kuhn1-0/+31
2021-10-29r-openssl: add 1.4.5 (#27045)Manuela Kuhn1-2/+2
2021-10-29r-car: add 3.0-11 (#27044)Manuela Kuhn1-2/+3
2021-10-29r-future: add 1.22.1 (#27041)Manuela Kuhn1-2/+4
2021-10-29r-pillar: add 1.6.4 (#27040)Manuela Kuhn1-2/+4
2021-10-29r-digest: add 0.6.28 (#27039)Manuela Kuhn1-2/+2
2021-10-29r-farver: add 2.1.0 (#27038)Manuela Kuhn1-2/+2
2021-10-29r-ggplot2: add 3.3.5 (#27037)Manuela Kuhn1-2/+4
2021-10-29r-generics: add 0.1.1 (#27034)Manuela Kuhn1-2/+3
2021-10-29Fix exit codes in fish (#27028)Harmen Stoppels2-13/+29
2021-10-28r-rappdirs: add 0.3.3 (#26989)Manuela Kuhn1-2/+3
2021-10-28r-emmeans: add 1.7.0 (#26987)Manuela Kuhn1-1/+3
2021-10-28r-fansi: add 0.5.0 (#26986)Manuela Kuhn1-2/+2
2021-10-28r-lifecycle: add 1.0.1 (#26975)Manuela Kuhn1-2/+3
2021-10-28r-parallelly: add 1.28.1 (#26974)Manuela Kuhn1-2/+2
2021-10-28r-vctrs: add 0.3.8 (#26966)Manuela Kuhn1-3/+4
2021-10-28bugfix: config edit should work with a malformed `spack.yaml`Todd Gamblin4-10/+106
If you don't format `spack.yaml` correctly, `spack config edit` still fails and you have to edit your `spack.yaml` manually. - [x] Add some code to `_main()` to defer `ConfigFormatError` when loading the environment, until we know what command is being run. - [x] Make `spack config edit` use `SPACK_ENV` instead of the config scope object to find `spack.yaml`, so it can work even if the environment is bad. Co-authored-by: scheibelp <scheibel1@llnl.gov>
2021-10-28bugfix: `spack config get <section>` in environmentsTodd Gamblin1-4/+4
`spack config get <section>` was erroneously returning just the `spack.yaml` for the environment. It should return the combined configuration for that section (including anything from `spack.yaml`), even in an environment. - [x] reorder conditions in `cmd/config.py` to fix
2021-10-28config: ensure that options like `--debug` are set firstTodd Gamblin1-17/+38
`spack --debug config edit` was not working properly -- it would not do show a stack trace for configuration errors. - [x] Rework `_main()` and add some notes for maintainers on where things need to go for configuration to work properly. - [x] Move config setup to *after* command-line parsing is done. Co-authored-by: scheibelp <scheibel1@llnl.gov>
2021-10-28errors: Rework error handling in `main()`Todd Gamblin1-23/+48
`main()` has grown, and in some cases code that can generate errors has gotten outside the top-level try/catch in there. This means that simple errors like config issues give you large stack traces, which shouldn't happen without `--debug`. - [x] Split `main()` into `main()` for the top-level error handling and `_main()` with all logic.
2021-10-28r-ellipsis: add 0.3.2 (#26965)Manuela Kuhn1-2/+2
2021-10-28r-rlang: add 0.4.12 (#26963)Manuela Kuhn1-2/+2
2021-10-28r-mvtnorm: add 1.1-3 (#26957)Manuela Kuhn1-2/+2
2021-10-28r-lme4: add 1.1-27.1 (#26955)Manuela Kuhn1-3/+3
* r-lme4: add 1.1-27.1 * Use cran instead of explicit url
2021-10-28llvm: fix gcc11 build for @11 (#27013)Manuela Kuhn1-1/+1
2021-10-28New versions of py-flake8 and py-pyflakes (#27008)iarspider2-26/+41
* New versions of py-flake8 and py-pyflakes * Changes from review
2021-10-28config: fix `SPACK_DISABLE_LOCAL_CONFIG`, remove `$user_config_path` (#27022)Todd Gamblin7-19/+15
There were some loose ends left in ##26735 that cause errors when using `SPACK_DISABLE_LOCAL_CONFIG`. - [x] Fix hard-coded `~/.spack` references in `install_test.py` and `monitor.py` Also, if `SPACK_DISABLE_LOCAL_CONFIG` is used, there is the issue that `$user_config_path`, when used in configuration files, makes no sense, because there is no user config scope. Since we already have `$user_cache_path` in configuration files, and since there really shouldn't be *any* data stored in a configuration scope (which is what you'd configure in `config.yaml`/`bootstrap.yaml`/etc., this just removes `$user_config_path`. There will *always* be a `$user_cache_path`, as Spack needs to write files, but we shouldn't rely on the existence of a particular configuration scope in the Spack code, as scopes are configurable, both in number and location. - [x] Remove `$user_config_path` substitution. - [x] Fix reference to `$user_config_path` in `etc/spack/deaults/bootstrap.yaml` to refer to `$user_cache_path`, which is where it was intended to be.
2021-10-28depend on libevent when +pmix (#27020)Daryl W. Grunau1-1/+2
Co-authored-by: Daryl W. Grunau <dwg@lanl.gov>
2021-10-28mochi-margo: add version 0.9.6 (#26951)Phil Carns1-0/+1
2021-10-28add MPItrampoline 2.0.0 (#27019)Valentin Churavy1-0/+1
2021-10-28New version: py-distro 1.6.0 (#27003)iarspider1-0/+1
2021-10-28New versions: docutils 0.17, 0.17.1, 0.18 (#27005)iarspider1-0/+3
2021-10-28Deactivate previous env before activating new one (#25409)Harmen Stoppels5-22/+108
* Deactivate previous env before activating new one Currently on develop you can run `spack env activate` multiple times to switch between environments, but they leave traces, even though Spack only supports one active environment at a time. Currently: ```console $ spack env create a $ spack env create b $ spack env activate -p a [a] $ spack env activate -p b [b] [a] $ spack env activate -p b [a] [b] [a] $ spack env activate -p a [a] [b] [c] $ echo $MANPATH | tr ":" "\n" /path/to/environments/a/.spack-env/view/share/man /path/to/environments/a/.spack-env/view/man /path/to/environments/b/.spack-env/view/share/man /path/to/environments/b/.spack-env/view/man ``` This PR fixes that: ```console $ spack env activate -p a [a] $ spack env activate -p b [b] $ spack env activate -p a [a] $ echo $MANPATH | tr ":" "\n" /path/to/environments/a/.spack-env/view/share/man /path/to/environments/a/.spack-env/view/man ```
2021-10-28spack setup-env.sh: make zsh loading async compatible, and ~10x faster (in ↵Tom Scogland4-10/+26
some cases) (#26120) Currently spack is a bit of a bad actor as a zsh plugin, and it was my fault. The autoload and compinit should really be handled by the user, as was made abundantly clear when I found spack was doing completion initialization for *all* of my plugins due to a deferred setup that was getting messed up by it. Making this conditional took spack load time from 1.5 seconds (with module loading disabled) to 0.029 seconds. I can actually afford to load spack by default with this change in. Hopefully someday we'll do proper zsh completion support, but for now this helps a lot. * use zsh hist expansion in place of dirname * only run (bash)compinit if compdef/complete missing * add zsh compiled files to .gitignore * move changes to .in file, because spack
2021-10-28New version: py-fasteners 0.16.3 (#27006)iarspider1-1/+3