summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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>
2024-08-01detray: add versions 0.70.0 through 0.72.1 (#45541)Stephen Nicholas Swatman1-0/+3
* detray: add versions 0.69.1 through 0.72.1 This commit adds four new versions of the detray package. * Remove v0.69.0
2024-08-01Update if ... in spec with satisfies in a* dirs (#44822)Auriane R.34-194/+194
2024-08-01Windows msvsc: Report accurate platform toolset version for VS2022 (#45525)John W. Parent1-7/+38
VC toolset versions 144 and 143 are both associated with the platform toolset 143; this deviates from prior version choices made by the MSVC devs; add a special case to report platform toolset version as 143 when VC toolset version is >= 143 (this will need revisiting for later releases).
2024-08-01py-attrs: add v17.4.0 (#45385)Teague Sterling1-0/+1
Signed-off-by: Teague Sterling <teaguesterling@gmail.com>
2024-08-01py-pyrsistent: add v0.14.0 (#45387)Teague Sterling1-0/+3
* py-pyrsistent: add v0.1.4.0 & conflict Signed-off-by: Teague Sterling <teaguesterling@gmail.com> * Update package.py --------- Signed-off-by: Teague Sterling <teaguesterling@gmail.com>
2024-08-01ip: add v5.1.0 (#45331)Alex Richert1-2/+14
* ip: add v5.1.0 * [@spackbot] updating style on behalf of AlexanderRichert-NOAA * Update package.py * Update package.py
2024-08-01kakoune: add v2024.05.18 (#45460)James Taliaferro1-1/+4
* update Kakoune, explicitly make install dirs first * blacken
2024-08-01py-libensemble: add v1.4.0, v1.4.1 (#45463)Stephen Hudson1-1/+3
* libEnsemble: add v1.4.0 * libEnsemble: add v1.4.1
2024-08-01py-flax: add v0.8.5 (#45480)Christopher Christofi1-0/+4
2024-08-01lcio: add v2.22.1 (#45517)Thomas Madlener1-0/+2
* lcio: add latest version 2.22.1 * lcio: update sio dependency to match actual requirements