From 7a234ce00a8f694e9f337be74867890e49f6db21 Mon Sep 17 00:00:00 2001 From: "Garth N. Wells" Date: Tue, 30 Apr 2024 02:11:36 +0100 Subject: [PATCH] (py-)fenics-basix: update for new version (#43841) * Bump version to 2024.1.0 * Bump py-basix version * Revert UFL change * Python version update --- var/spack/repos/builtin/packages/fenics-basix/package.py | 1 + var/spack/repos/builtin/packages/py-fenics-basix/package.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/fenics-basix/package.py b/var/spack/repos/builtin/packages/fenics-basix/package.py index 5dfb0e9cc0..edda25396e 100644 --- a/var/spack/repos/builtin/packages/fenics-basix/package.py +++ b/var/spack/repos/builtin/packages/fenics-basix/package.py @@ -17,6 +17,7 @@ class FenicsBasix(CMakePackage): license("MIT") version("main", branch="main") + version("0.8.0", sha256="b299af82daf8fa3e4845e17f202491fe71b313bf6ab64c767a5287190b3dd7fe") version("0.7.0", sha256="9bee81b396ee452eec8d9735f278cb44cb6994c6bc30aec8ed9bb4b12d83fa7f") version("0.6.0", sha256="687ae53153c98facac4080dcdc7081701db1dcea8c5e7ae3feb72aec17f83304") version( 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 8dccdf2b07..2c31d59847 100644 --- a/var/spack/repos/builtin/packages/py-fenics-basix/package.py +++ b/var/spack/repos/builtin/packages/py-fenics-basix/package.py @@ -17,6 +17,7 @@ class PyFenicsBasix(PythonPackage): license("MIT") version("main", branch="main") + version("0.8.0", sha256="b299af82daf8fa3e4845e17f202491fe71b313bf6ab64c767a5287190b3dd7fe") version("0.7.0", sha256="9bee81b396ee452eec8d9735f278cb44cb6994c6bc30aec8ed9bb4b12d83fa7f") version("0.6.0", sha256="687ae53153c98facac4080dcdc7081701db1dcea8c5e7ae3feb72aec17f83304") version( @@ -31,6 +32,7 @@ class PyFenicsBasix(PythonPackage): ) depends_on("fenics-basix@main", type=("build", "run"), when="@main") + depends_on("fenics-basix@0.8.0", type=("build", "run"), when="@0.8.0") depends_on("fenics-basix@0.7.0", type=("build", "run"), when="@0.7.0") depends_on("fenics-basix@0.6.0", type=("build", "run"), when="@0.6.0") depends_on("fenics-basix@0.5.1", type=("build", "run"), when="@0.5.1") @@ -41,7 +43,8 @@ class PyFenicsBasix(PythonPackage): depends_on("cmake@3.19:", when="@0.8:", type="build") # See python/pyproject.toml - depends_on("python@3.8:", when="@0.7:", type=("build", "run")) + depends_on("python@3.9:", when="@0.8:", type=("build", "run")) + 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-setuptools@42:", when="@:0.7", type="build")