diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py | 6 |
1 files changed, 4 insertions, 2 deletions
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 9106bd80a5..8c07879efd 100644 --- a/var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py +++ b/var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py @@ -24,8 +24,10 @@ class PyFenicsDolfinx(PythonPackage): depends_on("cmake@3.19:", type="build") depends_on("hdf5", type="build") depends_on("pkgconfig", type="build") - depends_on("python@3.8:", type=("build", "run"), when="@0.5:") - depends_on("python@3.7:", type=("build", "run")) + + depends_on("python@3.8:", when="@0.6.1:", 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("fenics-dolfinx@main", when="@main") depends_on("fenics-dolfinx@0.6.0", when="@0.6.0") |