summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-13Add type hints to spack.installer (#38872)Harmen Stoppels4-623/+670
2023-07-13Add missing space in error msg (#38863)Adam J. Stewart1-1/+1
2023-07-13build(deps): bump docker/setup-buildx-action from 2.9.0 to 2.9.1 (#38868)dependabot[bot]1-1/+1
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.9.0 to 2.9.1. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/2a1a44ac4aa01993040736bd95bb470da1a38365...4c0219f9ac95b02789c1075625400b2acbff50b1) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13Restrict py-pip version for packages using --install-option (#38837)Manuela Kuhn5-0/+10
2023-07-13Standardize subcommand help strings (#38804)Adam J. Stewart42-348/+295
### Rationale While working on #29549, I noticed a lot of inconsistencies in our argparse help messages. This is important for fish where these help messages end up as descriptions in the tab completion menu. See https://github.com/spack/spack/pull/29549#issuecomment-1627596477 for some examples of longer or more stylized help messages. ### Implementation This PR makes the following changes: - [x] help messages start with a lowercase letter. - [x] Help messages do not end with a period - [x] the first line of a help message is short and simple longer text is separated by an empty line - [x] "help messages do not use triple quotes" """(except docstrings)""" - [x] Parentheses not needed for string concatenation inside function call - [x] Remove "..." "..." string concatenation leftover from black reformatting - [x] Remove Sphinx argument docs from help messages The first 2 choices aren't very controversial, and are designed to match the syntax of the `--help` flag automatically added by argparse. The 3rd choice is more up for debate, and is designed to match our package/module docstrings. The 4th choice is designed to avoid excessive newline characters and indentation. We may actually want to go even further and disallow docstrings altogether. ### Alternatives Choice 3 in particular has a lot of alternatives. My goal is solely to ensure that fish tab completion looks reasonable. Alternatives include: 1. Get rid of long help messages, only allow short simple messages 2. Move longer help messages to epilog 3. Separate by 2 newline characters instead of 1 4. Separate by period instead of newline. First sentence goes into tab completion description The number of commands with long help text is actually rather small, and is mostly relegated to `spack ci` and `spack buildcache`. So 1 isn't actually as ridiculous as it sounds. Let me know if there are any other standardizations or alternatives you would like to suggest.
2023-07-13vtk-m: modernize vtk-m recipe (#38726)Vicente Bolea1-108/+38
2023-07-12ci: populate caches in before script (#38762)Harmen Stoppels1-0/+2
* ci: run spack list in power ci Let's see if Spack itself is the bottleneck in CI... * rebuild curl in CI * more of the same please! * drop the profiler * undo rebuildme test in ci variant * add comment for posterity * enable profiling * trigger CI * See how it goes now that perf regressions are fixed on develop * try shorter poll intervals * Revert "try shorter poll intervals" This reverts commit d60c34ad3eceead0c13a5277cf8e783fd42b7458. * Remove spec.format call in Database._get_matching_spec_key * once more in ci please * undo irrelevant changes * run spack list in before script * test in ci * -: * Undo CI testing
2023-07-12build(deps): bump docker/setup-buildx-action from 2.8.0 to 2.9.0 (#38783)dependabot[bot]1-1/+1
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.8.0 to 2.9.0. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/16c0bc4a6e6ada2cfd8afd41d22d95379cf7c32a...2a1a44ac4aa01993040736bd95bb470da1a38365) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12containers: retain shallow git data (#37734)Jonathon Anderson3-8/+14
2023-07-12Add path to MPI executables to ^mpi dependents (#35758)Michael Fink1-3/+7
2023-07-12Package papi: update for smoke tests (#38711)G-Ragghianti1-2/+25
* Adding papi smoke tests * smoke tests * update to new test framework
2023-07-12Fix fmt and spdlog versions for micromamba. (#38739)Stephan Grein1-4/+4
The spdlog project precisely states/depends which fmt version should be used for compatibility. Latest version 1.11.0 depends explictly on fmt 9.1.0. Without fixed version micromamba build fails when using spack install micromamba on e.g. Rockylinux 8.5.
2023-07-12py-callmonitor: added new package (#38764)Dax Lynch1-0/+20
* py-callmonitor: added new package * depends_on numpy * Update var/spack/repos/builtin/packages/py-callmonitor/package.py Co-authored-by: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> --------- Co-authored-by: eugeneswalker <eugenesunsetwalker@gmail.com> Co-authored-by: eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> Co-authored-by: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>
2023-07-12adios2: add aws variant (#38857)Vicente Bolea1-0/+8
2023-07-12Add gettext as a dependency of bison (#35979)Samuel Browne1-0/+1
The 'bison' executable requires libtextstyle to run. I think this was usually satisfied because gettext is often installed with the OS, or brought in accidentally via perl/m4. Looks like the libtextstyle library dependency started in Bison 3.4
2023-07-12openfoam-org: add precision option (#38746)kjrstory1-1/+15
2023-07-12Static-analysis-suite: mark versions deprecate for this obsolete package ↵Andre Sailer1-3/+15
(#38754)
2023-07-12Patch broken CMake handling when no architectures are found in HIP package ↵Mikael Simberg1-0/+7
(#37022)
2023-07-12vtk-m: correct cuda_arch variant behavior (#38697)Vicente Bolea5-12/+169
Co-authored-by: eugeneswalker <eugenesunsetwalker@gmail.com>
2023-07-12Add conflict for hpx on ARM (#38812)Mikael Simberg1-2/+7
HPX requires use of Boost.Context on ARM.
2023-07-12apptainer: add flag_handler to discard spack flags (#38843)snehring1-0/+5
2023-07-12flux-sched: add v0.28.0 (#38860)Vanessasaurus1-0/+1
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2023-07-12hepmc3: add protobuf variant and update flags (#38841)Seth R. Johnson1-9/+14
2023-07-12py-torch: rename master to main (#38858)Adam J. Stewart1-2/+3
2023-07-12Fix build of CentOS stream docker image (#38824)Massimiliano Culpo1-4/+4
2023-07-12REGALE: add new package (#38444)Daniele Cesarini1-0/+29
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2023-07-12legion: add ofi-slingshot11 conduit (#38859)Richard Berger1-3/+10
2023-07-12cbflib: fix build with newer gfortran (#38632)Tamara Dahlgren1-0/+3
2023-07-12DLA-Future: ensure umpire~cuda~rocm when ~cuda~rocm (#38835)Rocco Meli1-0/+2
Co-authored-by: Raffaele Solcà <rasolca@cscs.ch>
2023-07-12fpm: add versions up to 0.9.0 (#38856)Wileam Y. Phan1-0/+4
2023-07-12installer: Improve status reporting (#37903)Michael Kuhn6-53/+70
Refactor `TermTitle` into `InstallStatus` and use it to show progress information both in the terminal title as well as inline. This also turns on the terminal title status by default. The inline output will look like the following after this change: ``` ==> Installing m4-1.4.19-w2fxrpuz64zdq63woprqfxxzc3tzu7p3 [4/4] ```
2023-07-12trilinos: Add CMake minimum and 14.2.0 version (#38853)Samuel Browne1-0/+2
* Update minimum CMake version for Trilinos Changed to 3.23 as of release 14.0.0. * Add Trilinos 14.2.0
2023-07-11protobuf: use cxxstd from abseil-cpp to fix C++17 build (#38840)Seth R. Johnson1-1/+2
2023-07-11edm4hep: Add tag for version 0.10 and deprecate older versions (#38817)Thomas Madlener1-7/+36
* edm4hep: add latest tag * edm4hep: Mark all older versions as deprecated
2023-07-11Adding sha for the 7.2 release of OMB (#38842)MatthewLieber1-0/+1
Co-authored-by: Matt Lieber <lieber.31@osu.edu>
2023-07-11[procps] Improve gettext/libintl handling (#38646)Chris Green2-7/+15
Fixes #38639.
2023-07-11libEnsemble: add v0.10.1 (#38845)Stephen Hudson1-2/+3
2023-07-11py-charm4py: add missing dependencies (#38830)Manuela Kuhn1-0/+5
2023-07-11Py-PyNucleus: Update dependencies, enable parallel build (#38779)Christian Glusa1-2/+6
2023-07-11ispc: on ARM, build with ARM targets enabled, and updates (#38080)Martin Aumüller2-1/+22
* llvm: fix build with libcxx=none * ispc: checksum 1.20.0 * ispc: ensure that it does not crash immediately this would happen if linked to the wrong libc++ * ispc: fix build on macos find ncurses instead of curses and link against tinfo in order to avoid unresolved references to _del_curterm, _set_curterm, _setupterm, and _tigetnum * ispc: enable arm targets, if building on arm * ispc: remove double cmake argument I forgot to remove the constant -DARM_ENABLED=FALSE when adding -DARM_ENABLED with a value depending on target architecture * ispc: fix linux build since 1.20, linux build uses TBB as default tasking system and thus needs to depend on it * ispc: try to fix link error on linux link against both curses (as before) and tinfo (added because of macos) * ispc: update for recent llvm changes libcxx=none instead of ~libcxx
2023-07-11py-black: add v23.7.0 (#38834)Adam J. Stewart1-3/+8
2023-07-11py-lightning: add v2.0.5 (#38828)Adam J. Stewart3-4/+30
2023-07-11fix tiled-mm (#38774)Rocco Meli1-3/+4
2023-07-11Add CHANGELOG entry for v0.20.1 (#38836)Massimiliano Culpo1-0/+18
2023-07-11mypy: add more ignored modules to `pyproject.toml` (#38769)Todd Gamblin1-5/+22
`mypy` will check *all* imported packages, even optional dependencies outside your project, and this can cause issues if you are targeting python versions *older* than the one you're running in. `mypy` will report issues in the latest versions of dependencies as errors even if installing on some older python would have installed an older version of the dependency. We saw this problem before with `numpy` in #34732. We've started seeing it with IPython in #38704. This fixes the issue by exempting `IPython` and a number of other imports of Spack's from `mypy` checking.
2023-07-10py-gluoncv: switch to PyPI and add 0.10.5.post0 (#38814)Manuela Kuhn3-19/+29
* py-gluoncv: switch to PyPI and add 0.10.5.post0 * Fix style * Remove no-unicode-readme.patch
2023-07-10py-numpy: add v1.25.1 (#38799)Adam J. Stewart1-0/+1
2023-07-10[arrow] tuple has no method append (#38820)Jen Herting1-1/+1
2023-07-10mlpack: remove go variant from cmake_args (#38821)Wouter Deconinck1-1/+1
2023-07-10py-minkowskiengine: add missing openblas dependency (#38742)Manuela Kuhn1-0/+5
* py-minkowskiengine: add missing openblas dependency * Add comment about blas