summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-08-04build(deps): bump pytest from 8.3.1 to 8.3.2 in /lib/spack/docs (#45461)dependabot[bot]1-1/+1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.1 to 8.3.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.1...8.3.2) --- updated-dependencies: - dependency-name: pytest 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>
2024-08-03build(deps): bump black in /.github/workflows/requirements/style (#45561)dependabot[bot]1-1/+1
Bumps [black](https://github.com/psf/black) from 24.4.2 to 24.8.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.4.2...24.8.0) --- updated-dependencies: - dependency-name: black 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>
2024-08-03build(deps): bump black from 24.4.2 to 24.8.0 in /lib/spack/docs (#45563)dependabot[bot]1-1/+1
Bumps [black](https://github.com/psf/black) from 24.4.2 to 24.8.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.4.2...24.8.0) --- updated-dependencies: - dependency-name: black 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>
2024-08-03build(deps): bump sphinx-design from 0.6.0 to 0.6.1 in /lib/spack/docs (#45562)dependabot[bot]1-1/+1
Bumps [sphinx-design](https://github.com/executablebooks/sphinx-design) from 0.6.0 to 0.6.1. - [Release notes](https://github.com/executablebooks/sphinx-design/releases) - [Changelog](https://github.com/executablebooks/sphinx-design/blob/main/CHANGELOG.md) - [Commits](https://github.com/executablebooks/sphinx-design/compare/v0.6.0...v0.6.1) --- updated-dependencies: - dependency-name: sphinx-design 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>
2024-08-03ffmpeg: update patch hashes for addition of the X-Git-Tag (#45574)Wouter Deconinck1-3/+3
2024-08-03xfce4: new packages (#44646)Teague Sterling16-0/+821
2024-08-03g2: add variants for recent releases (#45441)Alex Richert1-3/+29
2024-08-03landsfcutil: add testing with pfunit (#45449)Alex Richert1-1/+11
2024-08-03bufr: add 12.1.0 (#45459)Alex Richert1-7/+16
2024-08-03py-jax / JAX: add v0.4.31 (#45519)Adam J. Stewart2-10/+25
2024-08-03sp: remove 'generated' tag (#45455)Alex Richert1-1/+1
2024-08-03build(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5 (#45559)dependabot[bot]1-2/+2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.4 to 4.3.5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/0b2256b8c012f0828dc542b3febcab082c67f72b...89ef406dd8d7e03cfd12d9e0a4a378f454709029) --- updated-dependencies: - dependency-name: actions/upload-artifact 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>
2024-08-02build(deps): bump mypy from 1.11.0 to 1.11.1 in /lib/spack/docs (#45530)dependabot[bot]1-1/+1
Bumps [mypy](https://github.com/python/mypy) from 1.11.0 to 1.11.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.11...v1.11.1) --- updated-dependencies: - dependency-name: mypy 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>
2024-08-02Allow spec queries by `namespace` (#45416)Todd Gamblin6-107/+136
* Allow spec queries by `namespace` Spack specs have "namespaces" that indicate what package repository they come from, but there has not been a way to use the spec syntax to match one. You can say things like this: ```console spack find builtin.zlib spack find myrepo.zlib ``` But, because namespaces are written as a dot-separated prefix on the name, you can't say "find me all specs in namespace myrepo". The syntax doesn't allow it. This PR allows you to specify anonymous specs with namespaces on the CLI. Specifically you can do queries like this: ```console spack find namespace=builtin spack find namespace=myrepo ``` You can use this anywhere else you use spec syntax, e.g. in a config file to separate installations based on what repo they came from: ```yaml spack: config: install_tree: root: $spack/opt/spack projections: namespace=myrepo: "myrepo_special_path/{name}-{hash}" namespace=builtin: "builtin/{name}-{hash}" ``` This PR adds a special `namespace_if_anonymous` attribute to specs, which returns the `namespace` if the spec has no name, otherwise it returns `None`. This allows us to print the namespace for anonymous specs but to continue hiding it for most views, as we've done so far. This is implemented as a special case, but it's one that already exists, along with `platform`, `os`, `target`, etc. This also reserves existing special case names for variants so that users cannot define them in their package files. This change is potentially breaking, but I do not think it will be common. There are no builtin packages with a variant called `namespace`, and defining `os`, `target`, or `platform` as a variant would've likely caused other problems if they were already being used. Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
2024-08-02openblas: fix AttributeError when threads=openmp (#45338)Wouter Deconinck1-4/+6
2024-08-02xmlto: hotfix upstream patch removed by fedora (#45551)Wouter Deconinck1-2/+2
2024-08-02py-glean-sdk: new package (#45389)Teague Sterling1-0/+23
Signed-off-by: Teague Sterling <teaguesterling@gmail.com> Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
2024-08-02ncio: add check function to run unit tests (#45448)Alex Richert1-1/+5
2024-08-02bacio: remove an old maintainer and 'generated' tags (#45440)Alex Richert1-4/+4
2024-08-02g2c: remove the 'generated' tag (which is correct) (#45442)Alex Richert1-1/+1
2024-08-02gfsio: add testing with pfunit (#45444)Alex Richert1-1/+11
2024-08-02nemsio: add check to run the unit tests (#45450)Alex Richert1-1/+5
2024-08-02nemsiogfs: add running the unit tests (#45451)Alex Richert1-1/+5
2024-08-02sfcio: add unit testing with pfunit (#45453)Alex Richert1-1/+11
2024-08-02sigio: add unit testing with pfunit (#45454)Alex Richert1-1/+9
2024-08-02wrf-io: remove 'generated' tags (which are correct) (#45458)Alex Richert1-2/+2
2024-08-02w3emc: add @2.12.0, conflict on +shared~pic (#45456)Alex Richert1-3/+12
2024-08-02w3nco: remove 'generated' tags (which are correct) (#45457)Alex Richert1-2/+2
2024-08-02prod-util: remove 'generated' tags (which are correct) (#45452)Alex Richert1-2/+2
2024-08-02g2tmpl: remove 'generated' tags (which are correct) (#45443)Alex Richert1-2/+2
2024-08-02grib-util: remove 'generated' tags (which are correct) (#45445)Alex Richert1-2/+2
2024-08-02ip2: remove 'generated' tags (which are correct) (#45447)Alex Richert1-2/+2
2024-08-02py-numpy: "@1.23:" add conflict for "%gcc@:6.4" (#45468)Adam J. Stewart1-0/+1
2024-08-02py-markupsafe: add depends_on("python@3.7:", when="@2.0:") (#45503)jgraciahlrs1-0/+1
As per PyPI, recent versions of py-markupsafe (>=2) require Python >=3.7.
2024-08-02xrootd: add github as secondary url to avoid SSL issues (#45512)Wouter Deconinck1-1/+4
2024-08-02pthreadpool: use same flags as PyTorch (#45521)Adam J. Stewart1-6/+8
2024-08-02py-particle: add v0.23.1, v0.24.0 (#45528)Wouter Deconinck1-2/+6
* py-particle: add v0.23.1, v0.24.0 * [@spackbot] updating style on behalf of wdconinc --------- Co-authored-by: wdconinc <wdconinc@users.noreply.github.com>
2024-08-02groff: Add missing depends_on("m4") (#45552)Juan Miguel Carceller1-0/+1
2024-08-01e4s oneapi ci: try enabling some disabled specs (#45355)eugeneswalker1-24/+25
2024-08-01libspng: add maintainer, fix dependencies, args (#45410)Seth R. Johnson1-2/+11
* libspng: add maintainer, fix dependencies, args * Update var/spack/repos/builtin/packages/libspng/package.py Co-authored-by: Alec Scott <hi@alecbcs.com> * Fix syntax error * Update var/spack/repos/builtin/packages/libspng/package.py --------- Co-authored-by: Alec Scott <hi@alecbcs.com>
2024-08-01root: Add patch to fix TUri (#45428)Juan Miguel Carceller1-0/+7
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
2024-08-01Add blast+ v2.15.0, v2.16.0 (#45425)Diego Alvarez S.1-0/+2
2024-08-01perl: add v5.40.0 (#45287)Wouter Deconinck1-26/+7
Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
2024-08-01gaudi: add versions 38.2 and 38.3 and limit the version of fmt (#45466)Juan Miguel Carceller1-0/+3
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
2024-08-01py-tensorflow: change url for 2.16.1-rocm-enhanced (#45539)afzpatel1-2/+2
* change url for 2.16.1-rocm-enhanced * fix typo
2024-08-01`py-xarray`: Update and ensure dask compatibility (#45537)Chris Marsh1-2/+21
* Add 2024.7 and new +viz variant as per pyproject.toml * Ensure dask/xarray versions are compatible
2024-08-01py-zstandard: new package (#45388)Teague Sterling1-0/+20
Signed-off-by: Teague Sterling <teaguesterling@gmail.com> Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
2024-08-01py-glean-parser: new package (#45390)Teague Sterling1-0/+26
Signed-off-by: Teague Sterling <teaguesterling@gmail.com> Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
2024-08-01edm4hep: Add v0.99 release and deprecate older versions (#45516)Thomas Madlener1-6/+24
* edm4hep: Add v0.99 and deprecated older versions * edm4hep: Fix nlohmann-json dependency version * Keep 0.10.5 undeprecated
2024-08-01format: allow spaces in format specifiers (#45487)Todd Gamblin4-47/+88
* format: allow spaces in format specifiers Key-value pair format specifiers can now contain spaces in the key. This allows us to add spaces to format strings that are *only* present when the attribute formatted is not ``None``. Instead of writing: ``` {arch=architecture} ``` and special casing `arch=` like a sigil in `Spec.format()`, we can now write: ``` { arch=architecture} ``` And the space is *only* printed when `architecture` is not `None`. This allows us to remove the special case in `Spec.format()` for `arch=`. Previously the only `key=` prefix allowed in format specifiers was `arch=`, but this PR removes that requirement, and the `key=` part of a key-value specifier can be any name. It does *not* have to correspond to the formatted attribute. - [x] modify `SPEC_FORMAT_RE` to allow arbitrary keys in key-value pairs. - [x] remove special case for `arch=` from `Spec.format()`. - [x] modify format strings using `{arch=architecture}` to use `{ arch=architecture}` - [x] add more tests for formatting This PR saves other more complex attributes like compiler flags and their spacing for later. Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>