Skip to content

Update spack-stack-dev from spack develop a9c879d #534

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1,581 commits into
base: spack-stack-dev
Choose a base branch
from

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Apr 15, 2025

Description

Update spack-stack-dev from spack develop a9c879d. This is the last commit before the compilers as nodes (dependencies) PR was merged".

Additional PRs cherry-picked from spack develop:

Additional changes:

commit c2885c9720f35d0a0f42e40de8c90bec4861a275
Author: Dom Heinzeller <dom.heinzeller@icloud.com>
Date:   Tue Apr 22 08:25:25 2025 -0600

    Bug fix in var/spack/repos/builtin/packages/parallel-netcdf/package.py: when Cray compiler wrappers are used, set MPICC instead of --with-mpi

commit 9f75492e3f10ecd16f33c039b76e31a1732ce772
Author: Test User <spack@example.com>
Date:   Tue Apr 22 07:39:28 2025 -0600

    Bug fix in var/spack/repos/builtin/packages/met/package.py: add missing rpath for Python libraries to all binaries built by met (post-install)

commit 1a0befe046a68ebe164ab77fc0fe69cef7800b9d
Author: Test User <spack@example.com>
Date:   Tue Apr 22 07:38:18 2025 -0600

    Re-enable license header checks in share/spack/qa/run-style-tests

commit 545020091688dc460f4260141914d62a5596739f
Author: Test User <spack@example.com>
Date:   Wed Apr 16 11:16:39 2025 -0600

    Fix %gcc syntax in var/spack/repos/builtin/packages/py-kiwisolver/package.py, revert forced variants in var/spack/repos/builtin/packages/py-netcdf4/package.py

commit 1cda713c8a9cd590f35bca8260ba168883110a94
Author: Test User <spack@example.com>
Date:   Wed Apr 16 08:33:22 2025 -0600

    Add missing 'import spack.compiler' to packages g2, madis, mpich, py-numpy

commit 11b76be78f2962ccafb6926f6ce84d47e7f070c8
Author: Dom Heinzeller <dom.heinzeller@icloud.com>
Date:   Wed Apr 16 07:59:36 2025 -0600

    Fix style error in var/spack/repos/builtin/packages/py-dask-expr/package.py

Upstream PRs for most of these changes and other spack-stack-dev changes that were missing in spack develop:

Merge conflicts resolved (see also file merge-conflicts.txt, temporarily committed to this branch):

Unmerged paths:
  (use "git add <file>..." to mark resolution)
        both modified:   .github/workflows/unit_tests.yaml
        both modified:   lib/spack/docs/bootstrapping.rst
        both modified:   lib/spack/spack/__init__.py
        both modified:   lib/spack/spack/bootstrap/core.py
        both modified:   lib/spack/spack/cmd/bootstrap.py
        both modified:   lib/spack/spack/solver/asp.py
        both modified:   lib/spack/spack/spec.py
        both modified:   lib/spack/spack/test/abi_splicing.py
        both added:      var/spack/repos/builtin.mock/packages/splice-depends-on-t/package.py
        both modified:   var/spack/repos/builtin/packages/awscli-v2/package.py
        both modified:   var/spack/repos/builtin/packages/crtm/package.py
        both modified:   var/spack/repos/builtin/packages/esmf/package.py
        both modified:   var/spack/repos/builtin/packages/g2/package.py
        both modified:   var/spack/repos/builtin/packages/gobject-introspection/package.py
        both modified:   var/spack/repos/builtin/packages/grads/package.py
        both modified:   var/spack/repos/builtin/packages/hdf/package.py
        both modified:   var/spack/repos/builtin/packages/hdf5/package.py
        both modified:   var/spack/repos/builtin/packages/ip/package.py
        both modified:   var/spack/repos/builtin/packages/libxkbcommon/package.py
        both modified:   var/spack/repos/builtin/packages/mapl/package.py
        both modified:   var/spack/repos/builtin/packages/met/package.py
        both modified:   var/spack/repos/builtin/packages/metplus/package.py
        both modified:   var/spack/repos/builtin/packages/nco/package.py
        both modified:   var/spack/repos/builtin/packages/node-js/package.py
        both modified:   var/spack/repos/builtin/packages/parallel-netcdf/package.py
        both added:      var/spack/repos/builtin/packages/py-antimeridian/package.py
        both added:      var/spack/repos/builtin/packages/py-dask-expr/package.py
        both added:      var/spack/repos/builtin/packages/py-datashader/package.py
        both added:      var/spack/repos/builtin/packages/py-geoviews/package.py
        both added:      var/spack/repos/builtin/packages/py-holoviews/package.py
        both added:      var/spack/repos/builtin/packages/py-hvplot/package.py
        both modified:   var/spack/repos/builtin/packages/py-netcdf4/package.py
        both modified:   var/spack/repos/builtin/packages/py-ruamel-yaml-clib/package.py
        both modified:   var/spack/repos/builtin/packages/py-scipy/package.py
        both added:      var/spack/repos/builtin/packages/py-spatialpandas/package.py
        both added:      var/spack/repos/builtin/packages/py-uxarray/package.py
        both modified:   var/spack/repos/builtin/packages/python/package.py
        both modified:   var/spack/repos/builtin/packages/wgrib2/package.py

Testing

Issues

Closes #497
Working towards JCSDA/spack-stack#1604

adamjstewart and others added 30 commits March 11, 2025 17:09
* Update py-psyclone package.py to refer to 3.1.0 release
* Fix hash for 3.1.0 tarball
Signed-off-by: Loic Pottier <pottier1@llnl.gov>
Without it, the build fails with errors like this:
```
Can't locate File/Compare.pm in @inc (you may need to install the File::Compare module) (@inc contains: ...) at ../../../src/backend/catalog/Catalog.pm line 19.
```
* oniguruma: add v6.9.10

* oniguruma: update url to trigger ci
…#49385)

When requiring a constraint on a virtual package, it makes little
sense to use anonymous specs, and our documentation shows no example
of requirements on virtual packages starting with `^`.

Right now, due to how `^` is implemented in the solver, writing:
```yaml
mpi:
  require: "^openmpi"
```
is equivalent to the more correct form:
```yaml
mpi:
  require: "openmpi"
```
but the situation will change when `%` will shift its meaning to be a
direct dependency.

To avoid later errors that are both unclear, and quite slow to get to the user,
this commit makes anonymous specs under virtual requirements an error,
and shows a clear error message pointing to the file and line where the
spec needs to be changed.

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
* Include OpenMP support
* Add many new versions of NCO
* Add maintainers

---------

Co-authored-by: Xylar Asay-Davis <xylarstorm@gmail.com>
In Spack v1.0 we plan to parse caret ^ and percent % the same. Their meaning is direct and transitive dependency respectively. It means that variants, versions, arch, platform, os, target and dag hash should go before the %, so that they apply to dependent not the %dependency.
post_configure_fixes assumed py-tensorflow depends on patchelf, but that dependency is platform dependent.
* Create allow-empty-config-environment-variables.patch

* Apply patch from last commit

* [@spackbot] updating style on behalf of elfprince13

---------

Co-authored-by: elfprince13 <elfprince13@users.noreply.github.com>
Windows paths with drives were being interpreted as network protocols
in canonicalize_path (which was expanded to handle more general URLs
in spack#48784).

This fixes that and adds some tests for it.
... for now. Will turn them back on for Windows when necessary
adjustments are made to the package to support them.
* Add package libglvnd
  Signed-off-by: Shane Nehring <snehring@iastate.edu>
* libglvnd: add virtual defaults
  Signed-off-by: Shane Nehring <snehring@iastate.edu>

---------

Signed-off-by: Shane Nehring <snehring@iastate.edu>
Signed-off-by: Shane Nehring <snehring@iastate.edu>
* onnx/py-onnx: update to 1.17.0
* (py-)onnx: depends_on cmake@3.14: when=@1.17:

---------

Co-authored-by: Joseph C Wang <joequant@gmail.com>
* py-setuptools-scm: add v8.1.0, v8.2.0 and refactor deps
* fixup! py-setuptools-scm: add v8.1.0, v8.2.0 and refactor deps
* fixup! fixup! py-setuptools-scm: add v8.1.0, v8.2.0 and refactor deps
alalazo and others added 2 commits April 16, 2025 07:58
Compatibility with Python 3.6 is still tested by the
rhel8-platform-python job, and Ubuntu 20.04 will be
removed soon from the list of runners:

actions/runner-images#11101

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Test User added 2 commits April 16, 2025 08:33
…kage.py, revert forced variants in var/spack/repos/builtin/packages/py-netcdf4/package.py
@climbfuji climbfuji force-pushed the feature/update_spack_stack_dev_from_spack_a9c879d branch from 45ce9ee to a0cf42e Compare April 22, 2025 13:45
Test User and others added 3 commits April 22, 2025 08:47
…ng rpath for Python libraries to all binaries built by met (post-install)
…/package.py: when Cray compiler wrappers are used, set MPICC instead of --with-mpi
@climbfuji climbfuji force-pushed the feature/update_spack_stack_dev_from_spack_a9c879d branch from c2885c9 to c3f20fa Compare April 22, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Reenable license header checks