From 53353ae64e930fda61377322ae08c57837d0de4d Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 13 Jan 2025 05:40:29 -0600 Subject: [PATCH] hep stack: add scikit-hep packages (#48412) --- .../gitlab/cloud_pipelines/stacks/hep/spack.yaml | 11 +++++++++++ .../repos/builtin/packages/py-iminuit/package.py | 3 +++ 2 files changed, 14 insertions(+) diff --git a/share/spack/gitlab/cloud_pipelines/stacks/hep/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/hep/spack.yaml index 01b58a6ad67..49a3bc88a84 100644 --- a/share/spack/gitlab/cloud_pipelines/stacks/hep/spack.yaml +++ b/share/spack/gitlab/cloud_pipelines/stacks/hep/spack.yaml @@ -48,7 +48,18 @@ spack: - madgraph5amc - opendatadetector - podio +rntuple +sio + - py-awkward + - py-boost-histogram + - py-hepunits + - py-hist + - py-histbook + - py-histoprint + - py-iminuit + - py-mplhep + - py-particle + - py-uhi - py-uproot +lz4 +xrootd +zstd + - py-vector - pythia8 +evtgen +fastjet +hdf5 +hepmc +hepmc3 +lhapdf ~madgraph5amc +python +rivet ~root # pythia8 and root circularly depend - rivet hepmc=3 - root +davix +dcache +examples +fftw +fits +fortran +gdml +graphviz +gsl +http +math +minuit +mlp +mysql +opengl +postgres +pythia8 +python +r +roofit +root7 +rpath ~shadow +spectrum +sqlite +ssl +tbb +threads +tmva +unuran +vc +vdt +veccore +webgui +x +xml +xrootd diff --git a/var/spack/repos/builtin/packages/py-iminuit/package.py b/var/spack/repos/builtin/packages/py-iminuit/package.py index a70f37679f7..d1ce1198a05 100644 --- a/var/spack/repos/builtin/packages/py-iminuit/package.py +++ b/var/spack/repos/builtin/packages/py-iminuit/package.py @@ -49,6 +49,9 @@ class PyIminuit(PythonPackage): depends_on("python@3.7:", type=("build", "run"), when="@2.17.0:") depends_on("python@3.8:", type=("build", "run"), when="@2.19.0:") depends_on("python@3.9:", type=("build", "run"), when="@2.28.0:") + # Bundled pybind11@:2.92 until 2.21 fails to compile with python@3.11: + # See https://github.com/pybind/pybind11/pull/3368 + depends_on("python@:3.10", type=("build", "run"), when="@:2.21") with when("@2.22:"): depends_on("py-scikit-build-core@0.3:+pyproject", type="build") depends_on("py-scikit-build-core@0.5:+pyproject", type="build", when="@2.26:")