diff options
author | Garth N. Wells <gnw20@cam.ac.uk> | 2024-05-17 14:35:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 07:35:21 -0600 |
commit | f99f642fa812092e78f7f6640a662400f9dd0cc9 (patch) | |
tree | 48decba561c6b2f60e6dae4884f55c83f00febd6 | |
parent | e0bf3667e38900e4551ce0a42fddd42db6364f04 (diff) | |
download | spack-f99f642fa812092e78f7f6640a662400f9dd0cc9.tar.gz spack-f99f642fa812092e78f7f6640a662400f9dd0cc9.tar.bz2 spack-f99f642fa812092e78f7f6640a662400f9dd0cc9.tar.xz spack-f99f642fa812092e78f7f6640a662400f9dd0cc9.zip |
fenicsx: remove deprecated versions (#44223)
6 files changed, 16 insertions, 147 deletions
diff --git a/var/spack/repos/builtin/packages/fenics-basix/package.py b/var/spack/repos/builtin/packages/fenics-basix/package.py index edda25396e..f321f68b07 100644 --- a/var/spack/repos/builtin/packages/fenics-basix/package.py +++ b/var/spack/repos/builtin/packages/fenics-basix/package.py @@ -20,31 +20,12 @@ class FenicsBasix(CMakePackage): version("0.8.0", sha256="b299af82daf8fa3e4845e17f202491fe71b313bf6ab64c767a5287190b3dd7fe") version("0.7.0", sha256="9bee81b396ee452eec8d9735f278cb44cb6994c6bc30aec8ed9bb4b12d83fa7f") version("0.6.0", sha256="687ae53153c98facac4080dcdc7081701db1dcea8c5e7ae3feb72aec17f83304") - version( - "0.5.1", - sha256="69133476ac35f0bd0deccb480676030378c341d7dfb2adaca22cd16b7e1dc1cb", - deprecated=True, - ) - version( - "0.4.2", - sha256="a54f5e442b7cbf3dbb6319c682f9161272557bd7f42e2b8b8ccef88bc1b7a22f", - deprecated=True, - ) depends_on("cmake@3.19:", type="build") depends_on("blas") depends_on("lapack") - depends_on("xtensor@0.23.10:", when="@:0.4") - depends_on("xtl@0.7.2:", when="@:0.4") - - conflicts( - "%gcc@:9.10", when="@0.5.0:", msg="fenics-basix requires GCC-10 or newer for C++20 support" - ) - conflicts( - "%clang@:9.10", - when="@0.5.0:", - msg="fenics-basix requires Clang-10 or newer for C++20 support", - ) + conflicts("%gcc@:9.10", msg="fenics-basix requires GCC-10 or newer for C++20 support") + conflicts("%clang@:9.10", msg="fenics-basix requires Clang-10 or newer for C++20 support") root_cmakelists_dir = "cpp" diff --git a/var/spack/repos/builtin/packages/fenics-dolfinx/package.py b/var/spack/repos/builtin/packages/fenics-dolfinx/package.py index d6009f4b79..0702774b70 100644 --- a/var/spack/repos/builtin/packages/fenics-dolfinx/package.py +++ b/var/spack/repos/builtin/packages/fenics-dolfinx/package.py @@ -20,32 +20,6 @@ class FenicsDolfinx(CMakePackage): version("0.8.0", sha256="acf3104d9ecc0380677a6faf69eabfafc58d0cce43f7777e1307b95701c7cad9") version("0.7.2", sha256="7d9ce1338ce66580593b376327f23ac464a4ce89ef63c105efc1a38e5eae5c0b") version("0.6.0", sha256="eb8ac2bb2f032b0d393977993e1ab6b4101a84d54023a67206e3eac1a8d79b80") - version( - "0.5.1", - sha256="a570e3f6ed8e7c570e7e61d0e6fd44fa9dad2c5f8f1f48a6dc9ad22bacfbc973", - deprecated=True, - ) - version( - "0.5.0", - sha256="503c70c01a44d1ffe48e052ca987693a49f8d201877652cabbe2a44eb3b7c040", - deprecated=True, - ) - version( - "0.4.1", - sha256="68dcf29a26c750fcea5e02d8d58411e3b054313c3bf6fcbc1d0f08dd2851117f", - deprecated=True, - ) - - conflicts( - "%gcc@:9.10", - when="@0.5.0:", - msg="fenics-dolfinx requires GCC-10 or newer for C++20 support", - ) - conflicts( - "%clang@:9.10", - when="@0.5.0:", - msg="fenics-dolfinx requires Clang-10 or newer for C++20 support", - ) # Graph partitioner variants variant( @@ -57,8 +31,7 @@ class FenicsDolfinx(CMakePackage): ) # Graph partitioner dependencies - depends_on("kahip@3.12:", when="partitioners=kahip @0.5.0:") - depends_on("kahip@3.11", when="partitioners=kahip @:0.4.1") + depends_on("kahip@3.12:", when="partitioners=kahip") depends_on("parmetis", when="partitioners=parmetis") depends_on("scotch+mpi", when="partitioners=scotch") @@ -70,42 +43,26 @@ class FenicsDolfinx(CMakePackage): depends_on("mpi") depends_on("hdf5+mpi") depends_on("boost@1.7.0:+filesystem+program_options+timer") + depends_on("pugixml") depends_on("spdlog", when="@0.9:") depends_on("petsc+mpi+shared") - depends_on("xtensor@0.23.10:", when="@:0.5") - depends_on("xtl@0.7.2:", when="@:0.5") - depends_on("slepc", when="+slepc") depends_on("adios2+mpi", when="+adios2") - depends_on("pugixml", when="@0.5.0:") depends_on("fenics-ufcx@main", when="@main") depends_on("fenics-ufcx@0.8", when="@0.8") depends_on("fenics-ufcx@0.7", when="@0.7") - depends_on("fenics-ufcx@0.6.0:0.6", when="@0.6.0:0.6") - depends_on("fenics-ufcx@0.5.0", when="@0.5.1:0.5") - depends_on("fenics-ufcx@0.4.2", when="@0.4.1") + depends_on("fenics-ufcx@0.6", when="@0.6") depends_on("fenics-basix@main", when="@main") depends_on("fenics-basix@0.8", when="@0.8") depends_on("fenics-basix@0.7", when="@0.7") - depends_on("fenics-basix@0.6.0:0.6", when="@0.6.0:0.6") - depends_on("fenics-basix@0.5.1:0.5", when="@0.5.0:0.5") - depends_on("fenics-basix@0.4.2", when="@0.4.1") - - conflicts( - "%gcc@:9.10", - when="@0.5.0:", - msg="fenics-dolfinx requires GCC-10 or newer for C++20 support", - ) - conflicts( - "%clang@:9.10", - when="@0.5.0:", - msg="fenics-dolfinx requires Clang-10 or newer for C++20 support", - ) - conflicts("%gcc@:8", msg="fenics-dolfinx requires GCC-9 or newer for improved C++17 support") + depends_on("fenics-basix@0.6", when="@0.6") + + conflicts("%gcc@:9.10", msg="fenics-dolfinx requires GCC-10 or newer for C++20 support") + conflicts("%clang@:9.10", msg="fenics-dolfinx requires Clang-10 or newer for C++20 support") root_cmakelists_dir = "cpp" diff --git a/var/spack/repos/builtin/packages/fenics-ufcx/package.py b/var/spack/repos/builtin/packages/fenics-ufcx/package.py index 89bbfa7237..fdbc09cbc5 100644 --- a/var/spack/repos/builtin/packages/fenics-ufcx/package.py +++ b/var/spack/repos/builtin/packages/fenics-ufcx/package.py @@ -22,21 +22,6 @@ class FenicsUfcx(CMakePackage): version("0.8.0", sha256="8a854782dbd119ec1c23c4522a2134d5281e7f1bd2f37d64489f75da055282e3") version("0.7.0", sha256="7f3c3ca91d63ce7831d37799cc19d0551bdcd275bdfa4c099711679533dd1c71") version("0.6.0", sha256="076fad61d406afffd41019ae1abf6da3f76406c035c772abad2156127667980e") - version( - "0.5.0.post0", - sha256="039908c9998b51ba53e5deb3a97016062c262f0a4285218644304f7d3cd35882", - deprecated=True, - ) - version( - "0.5.0", - sha256="3413409e5885e41e220f99e0f95cc817e94c4931143d1f700c6e0c5e1bfad1f6", - deprecated=True, - ) - version( - "0.4.2", - sha256="3be6eef064d6ef907245db5b6cc15d4e603762e68b76e53e099935ca91ef1ee4", - deprecated=True, - ) depends_on("cmake@3.19:", type="build") 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 2c31d59847..190272a55b 100644 --- a/var/spack/repos/builtin/packages/py-fenics-basix/package.py +++ b/var/spack/repos/builtin/packages/py-fenics-basix/package.py @@ -20,27 +20,15 @@ class PyFenicsBasix(PythonPackage): version("0.8.0", sha256="b299af82daf8fa3e4845e17f202491fe71b313bf6ab64c767a5287190b3dd7fe") version("0.7.0", sha256="9bee81b396ee452eec8d9735f278cb44cb6994c6bc30aec8ed9bb4b12d83fa7f") version("0.6.0", sha256="687ae53153c98facac4080dcdc7081701db1dcea8c5e7ae3feb72aec17f83304") - version( - "0.5.1", - sha256="69133476ac35f0bd0deccb480676030378c341d7dfb2adaca22cd16b7e1dc1cb", - deprecated=True, - ) - version( - "0.4.2", - sha256="a54f5e442b7cbf3dbb6319c682f9161272557bd7f42e2b8b8ccef88bc1b7a22f", - deprecated=True, - ) 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") - depends_on("fenics-basix@0.4.2", type=("build", "run"), when="@0.4.2") # See python/CMakeLists.txt - depends_on("cmake@3.16:", when="@:0.7", type="build") depends_on("cmake@3.19:", when="@0.8:", type="build") + depends_on("cmake@3.16:", when="@:0.7", type="build") # See python/pyproject.toml depends_on("python@3.9:", when="@0.8:", type=("build", "run")) @@ -51,6 +39,4 @@ class PyFenicsBasix(PythonPackage): 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") - build_directory = "python" diff --git a/var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py b/var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py index 6234c03c22..236c0bf028 100644 --- a/var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py +++ b/var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py @@ -21,38 +21,19 @@ class PyFenicsDolfinx(PythonPackage): version("0.8.0", sha256="acf3104d9ecc0380677a6faf69eabfafc58d0cce43f7777e1307b95701c7cad9") version("0.7.2", sha256="7d9ce1338ce66580593b376327f23ac464a4ce89ef63c105efc1a38e5eae5c0b") version("0.6.0", sha256="eb8ac2bb2f032b0d393977993e1ab6b4101a84d54023a67206e3eac1a8d79b80") - version( - "0.5.1", - sha256="a570e3f6ed8e7c570e7e61d0e6fd44fa9dad2c5f8f1f48a6dc9ad22bacfbc973", - deprecated=True, - ) - version( - "0.5.0", - sha256="503c70c01a44d1ffe48e052ca987693a49f8d201877652cabbe2a44eb3b7c040", - deprecated=True, - ) - version( - "0.4.1", - sha256="68dcf29a26c750fcea5e02d8d58411e3b054313c3bf6fcbc1d0f08dd2851117f", - deprecated=True, - ) depends_on("cmake@3.19:", type="build") depends_on("hdf5", type="build") depends_on("pkgconfig", type="build") - depends_on("python@3.9:", when="@0.8", type=("build", "run")) - depends_on("python@3.8:", when="@0.6.1:0.7", type=("build", "run")) - depends_on("python@3.8:3.10", when="@0.5:0.6.0", type=("build", "run")) - depends_on("python@3.7:3.10", when="@0.4", 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("python@3.8:3.10", when="@0.6.0", type=("build", "run")) depends_on("fenics-dolfinx@main", when="@main") depends_on("fenics-dolfinx@0.8.0", when="@0.8.0") depends_on("fenics-dolfinx@0.7.2", when="@0.7.2") depends_on("fenics-dolfinx@0.6.0", when="@0.6.0") - depends_on("fenics-dolfinx@0.5.1", when="@0.5.1") - depends_on("fenics-dolfinx@0.5.0", when="@0.5.0") - depends_on("fenics-dolfinx@0.4.1", when="@0.4.1") depends_on("py-fenics-basix@main", type=("build", "run"), when="@main") depends_on("py-fenics-basix@0.8", type=("build", "link"), when="@0.8") @@ -60,23 +41,17 @@ class PyFenicsDolfinx(PythonPackage): depends_on("fenics-basix@main", type=("build", "link"), when="@main") depends_on("fenics-basix@0.8", type=("build", "link"), when="@0.8") depends_on("fenics-basix@0.7", type=("build", "link"), when="@0.7") - depends_on("fenics-basix@0.6.0:0.6", type=("build", "link"), when="@0.6.0:0.6") - depends_on("fenics-basix@0.5.1:0.5", type=("build", "link"), when="@0.5.0:0.5") - depends_on("fenics-basix@0.4.2", type=("build", "link"), when="@0.4.1") + depends_on("fenics-basix@0.6", type=("build", "link"), when="@0.6") depends_on("py-fenics-ffcx@main", type=("build", "run"), when="@main") depends_on("py-fenics-ffcx@0.8", type=("build", "run"), when="@0.8") depends_on("py-fenics-ffcx@0.7", type=("build", "run"), when="@0.7") depends_on("py-fenics-ffcx@0.6", type=("build", "run"), when="@0.6") - depends_on("py-fenics-ffcx@0.5.0.post0", type=("build", "run"), when="@0.5.0:0.5") - depends_on("py-fenics-ffcx@0.4.2", type=("build", "run"), when="@0.4.1") depends_on("py-fenics-ufl@main", type=("build", "run"), when="@main") depends_on("py-fenics-ufl@2024.1", type=("build", "run"), when="@0.8") depends_on("py-fenics-ufl@2023.2", type=("build", "run"), when="@0.7") depends_on("py-fenics-ufl@2023.1", type=("build", "run"), when="@0.6") - depends_on("py-fenics-ufl@2022.2.0", type=("build", "run"), when="@0.5.0:0.5") - depends_on("py-fenics-ufl@2022.1.0", type=("build", "run"), when="@0.4.1") depends_on("py-numpy@1.21:", type=("build", "run")) depends_on("py-mpi4py", type=("build", "run")) @@ -88,6 +63,5 @@ class PyFenicsDolfinx(PythonPackage): depends_on("py-pybind11@2.7.0:", when="@:0.7", type=("build", "run")) depends_on("py-setuptools@42:", when="@:0.7", type="build") - depends_on("xtensor@0.23.10:", type="build", when="@:0.5") build_directory = "python" diff --git a/var/spack/repos/builtin/packages/py-fenics-ffcx/package.py b/var/spack/repos/builtin/packages/py-fenics-ffcx/package.py index a9f6ef6b58..00b7e04962 100644 --- a/var/spack/repos/builtin/packages/py-fenics-ffcx/package.py +++ b/var/spack/repos/builtin/packages/py-fenics-ffcx/package.py @@ -20,22 +20,12 @@ class PyFenicsFfcx(PythonPackage): version("0.8.0", sha256="8a854782dbd119ec1c23c4522a2134d5281e7f1bd2f37d64489f75da055282e3") version("0.7.0", sha256="7f3c3ca91d63ce7831d37799cc19d0551bdcd275bdfa4c099711679533dd1c71") version("0.6.0", sha256="076fad61d406afffd41019ae1abf6da3f76406c035c772abad2156127667980e") - version( - "0.5.0.post0", - sha256="039908c9998b51ba53e5deb3a97016062c262f0a4285218644304f7d3cd35882", - deprecated=True, - ) - version( - "0.4.2", - sha256="3be6eef064d6ef907245db5b6cc15d4e603762e68b76e53e099935ca91ef1ee4", - deprecated=True, - ) 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-setuptools@62:", when="@0.7:", type="build") # Runtime dependency on pkg_resources from setuptools at 0.6.0 - depends_on("py-setuptools@58:", when="@0.4.2:0.6", type=("build", "run")) + depends_on("py-setuptools@58:", when="@:0.6", type=("build", "run")) # CFFI is required at runtime for JIT support depends_on("py-cffi", type=("build", "run")) @@ -47,15 +37,11 @@ class PyFenicsFfcx(PythonPackage): depends_on("py-fenics-ufl@2024.1.0:", type=("build", "run"), when="@0.8") depends_on("py-fenics-ufl@2023.2.0", type=("build", "run"), when="@0.7") depends_on("py-fenics-ufl@2023.1", type=("build", "run"), when="@0.6") - depends_on("py-fenics-ufl@2022.2.0", type=("build", "run"), when="@0.5.0:0.5") - depends_on("py-fenics-ufl@2022.1.0", type=("build", "run"), when="@0.4.2") depends_on("py-fenics-basix@main", type=("build", "run"), when="@main") depends_on("py-fenics-basix@0.8", type=("build", "run"), when="@0.8") depends_on("py-fenics-basix@0.7", type=("build", "run"), when="@0.7") - depends_on("py-fenics-basix@0.6.0:0.6", type=("build", "run"), when="@0.6.0:0.6") - depends_on("py-fenics-basix@0.5.1:0.5", type=("build", "run"), when="@0.5.0:0.5") - depends_on("py-fenics-basix@0.4.2", type=("build", "run"), when="@0.4.2") + depends_on("py-fenics-basix@0.6", type=("build", "run"), when="@0.6") depends_on("py-pytest@6:", type="test") depends_on("py-sympy", type="test") |