From df777dbbaaa4887129d0cb2e66bcf6c3ab37ef09 Mon Sep 17 00:00:00 2001 From: Chris Richardson Date: Sat, 25 Nov 2023 22:42:54 +0000 Subject: py-fenics-basix: update for main and future 0.8.0 (#40838) * Update to latest version * Add dependency * revert * address PR comments * Correct dependencies for 0.7 to 0.8 transition * Fix cmake line. * Update nanobind dep --------- Co-authored-by: Matt Archer Co-authored-by: Jack S. Hale Co-authored-by: Garth N. Wells --- var/spack/repos/builtin/packages/py-fenics-basix/package.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-fenics-basix/package.py b/var/spack/repos/builtin/packages/py-fenics-basix/package.py index 6d3ffa6cae..d3ef7e9db6 100644 --- a/var/spack/repos/builtin/packages/py-fenics-basix/package.py +++ b/var/spack/repos/builtin/packages/py-fenics-basix/package.py @@ -27,14 +27,16 @@ class PyFenicsBasix(PythonPackage): depends_on("fenics-basix@0.4.2", type=("build", "run"), when="@0.4.2") # See python/CMakeLists.txt - depends_on("cmake@3.16:", type="build") + depends_on("cmake@3.16:", when="@:0.7", type="build") + depends_on("cmake@3.19:", when="@0.8:", type="build") # See python/pyproject.toml - depends_on("python@3.8:", when="@0.7.0:", type=("build", "run")) - depends_on("py-setuptools@42:", type="build") + depends_on("python@3.8:", when="@0.7:", type=("build", "run")) depends_on("py-numpy@1.21:", type=("build", "run")) depends_on("py-pybind11@2.9.1:", when="@:0.7", type="build") - depends_on("py-nanobind@1.5.1:", when="@0.8:", type="build") + depends_on("py-setuptools@42:", when="@:0.7", type="build") + depends_on("py-nanobind@1.6.0:", when="@0.8:", type="build") + depends_on("py-scikit-build-core+pyproject@0.5.0:", when="@0.8:", type="build") depends_on("xtensor@0.23.10:", type="build", when="@:0.4") -- cgit v1.2.3-70-g09d2