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")