summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Richardson <chris@bpi.cam.ac.uk>2023-11-25 22:42:54 +0000
committerGitHub <noreply@github.com>2023-11-25 16:42:54 -0600
commitdf777dbbaaa4887129d0cb2e66bcf6c3ab37ef09 (patch)
tree86576050a1eb6b4b8dfad7cc43553e4f2147924f
parentf28ccae3dfe238dbf0f1730f14960ae3b451fd6f (diff)
downloadspack-df777dbbaaa4887129d0cb2e66bcf6c3ab37ef09.tar.gz
spack-df777dbbaaa4887129d0cb2e66bcf6c3ab37ef09.tar.bz2
spack-df777dbbaaa4887129d0cb2e66bcf6c3ab37ef09.tar.xz
spack-df777dbbaaa4887129d0cb2e66bcf6c3ab37ef09.zip
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 <ma595@cam.ac.uk> Co-authored-by: Jack S. Hale <mail@jackhale.co.uk> Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
-rw-r--r--var/spack/repos/builtin/packages/py-fenics-basix/package.py10
1 files 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")