Accepting request 1158239 from home:eeich:branches:network:cluster

- Update Spack to version 0.21.2
  * Bugfixes
    + Containerize: accommodate nested or pre-existing `spack-env`
      paths.
    + Fix `setup-env` script, when going back and forth between
      instances.
    + Fix using fully-qualified namespaces from root specs.
    + Fix a bug when a required provider is requested for multiple
      virtuals.
    + OCI buildcaches:
      * only push in parallel when forking.
      * use pickleable errors (#42160)
    + Fix using sticky variants in externals.
    + Fix a rare issue with conditional requirements and
      multi-valued variants.
  * Package updates
    + `rust`: add v1.75, rework a few variants.
    + `py-transformers`: add v4.35.2.
- Fix path to setup-env.sh in the Apptainer template (bsc#1221471).

OBS-URL: https://build.opensuse.org/request/show/1158239
OBS-URL: https://build.opensuse.org/package/show/network:cluster/spack?expand=0&rev=96
This commit is contained in:
Christian Goll 2024-03-15 15:59:53 +00:00 committed by Git OBS Bridge
parent c76ded09b1
commit cdd5ad9a25
4 changed files with 28 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a66bc8b59d436d5c0bd7b052c36d2177b228665ece6c9a2c339c2acb3f9103e
size 10612870

3
spack-0.21.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1860537ba00c55fa0b2517ce9dbfe0e415600892c48e3dc4e15ee8da0f50dd3
size 10614896

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Fri Mar 15 13:35:51 UTC 2024 - Egbert Eich <eich@suse.com>
- Update Spack to version 0.21.2
* Bugfixes
+ Containerize: accommodate nested or pre-existing `spack-env`
paths.
+ Fix `setup-env` script, when going back and forth between
instances.
+ Fix using fully-qualified namespaces from root specs.
+ Fix a bug when a required provider is requested for multiple
virtuals.
+ OCI buildcaches:
* only push in parallel when forking.
* use pickleable errors (#42160)
+ Fix using sticky variants in externals.
+ Fix a rare issue with conditional requirements and
multi-valued variants.
* Package updates
+ `rust`: add v1.75, rework a few variants.
+ `py-transformers`: add v4.35.2.
- Fix path to setup-env.sh in the Apptainer template (bsc#1221471).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 2 14:41:14 UTC 2024 - Egbert Eich <eich@suse.com> Fri Feb 2 14:41:14 UTC 2024 - Egbert Eich <eich@suse.com>

View File

@ -53,7 +53,7 @@ ExclusiveArch: do_not_build
%define mypython python%{?mypyver} %define mypython python%{?mypyver}
Name: spack Name: spack
Version: 0.21.1 Version: 0.21.2
Release: 0 Release: 0
Summary: Package manager for HPC systems Summary: Package manager for HPC systems
License: Apache-2.0 AND MIT AND Python-2.0 AND BSD-3-Clause License: Apache-2.0 AND MIT AND Python-2.0 AND BSD-3-Clause
@ -324,6 +324,7 @@ chmod 0755 %{buildroot}%{_bindir}/%{basename:%{S:6}}
cp etc/spack/defaults/config.yaml %{buildroot}%{_sysconfdir}/skel/.spack/ cp etc/spack/defaults/config.yaml %{buildroot}%{_sysconfdir}/skel/.spack/
install -m 755 %{S:3} %{buildroot}/%{spack_dir}/run-find-external.sh install -m 755 %{S:3} %{buildroot}/%{spack_dir}/run-find-external.sh
sed -i -e 's#@@_sysconfdir@@#%{_sysconfdir}#' %{buildroot}/%{spack_dir}/run-find-external.sh sed -i -e 's#@@_sysconfdir@@#%{_sysconfdir}#' %{buildroot}/%{spack_dir}/run-find-external.sh
sed -i -e '/. \/opt/s#/opt/spack/#/usr/share/#' %{buildroot}/%{_datarootdir}/spack/templates/container/singularity.def
# Make spack only to write to home dir of user, if run as user # Make spack only to write to home dir of user, if run as user
sed -i 's@\(\sroot:\) /opt/spack@\1 ~/spack/packages@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml sed -i 's@\(\sroot:\) /opt/spack@\1 ~/spack/packages@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml