From 0b26b26821ed67db77a4be2a22d30407b3bf8409 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Fri, 11 Aug 2023 01:02:15 -0500 Subject: GDAL: fix supported versions of HDF5 (#39378) --- var/spack/repos/builtin/packages/gdal/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/gdal/package.py b/var/spack/repos/builtin/packages/gdal/package.py index 1d4e72a8c4..e43c105df1 100644 --- a/var/spack/repos/builtin/packages/gdal/package.py +++ b/var/spack/repos/builtin/packages/gdal/package.py @@ -289,7 +289,8 @@ class Gdal(CMakePackage, AutotoolsPackage, PythonExtension): depends_on("libheif@1.1:", when="+heif") depends_on("hdf", when="+hdf4") depends_on("hdf5+cxx", when="+hdf5") - depends_on("hdf5@:1.12", when="@:3.4.1 +hdf5") + depends_on("hdf5@:1.13", when="@:3.5 +hdf5") + depends_on("hdf5@:1.12", when="@:3.4 +hdf5") depends_on("hadoop", when="+hdfs") depends_on("iconv", when="+iconv") # depends_on('idb', when='+idb') @@ -367,6 +368,8 @@ class Gdal(CMakePackage, AutotoolsPackage, PythonExtension): depends_on("python@3.6:", type=("build", "link", "run"), when="@3.3:+python") depends_on("python@2.0:", type=("build", "link", "run"), when="@3.2:+python") depends_on("python", type=("build", "link", "run"), when="+python") + # Uses distutils + depends_on("python@:3.11", type=("build", "link", "run"), when="@:3.4+python") # swig/python/setup.py depends_on("py-setuptools@:57", type="build", when="@:3.2+python") # needs 2to3 depends_on("py-setuptools", type="build", when="+python") -- cgit v1.2.3-70-g09d2