From a208e8734d2a5acb4a38b6164c1096647baea1d4 Mon Sep 17 00:00:00 2001 From: Hoan Phung Date: Thu, 23 Jan 2025 12:20:57 +0100 Subject: [PATCH] Fix issue with wrong version of h5py being used (#1075) --- CHANGES.rst | 2 +- dependencies.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index d65fadf7..8483746f 100755 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,7 +4,7 @@ 3.13 (unreleased) ----------------- -- Nothing changed yet. +- Fix issue with wrong version of h5py being used. 3.12 (2024-12-10) diff --git a/dependencies.py b/dependencies.py index 34ae9c96..a159eca0 100644 --- a/dependencies.py +++ b/dependencies.py @@ -87,14 +87,14 @@ H5PY_DEPENDENCY = Dependency("h5py", "h5py", "==2.10.0", False) elif QGIS_VERSION >= 34000 and platform.system() == "Windows": SUPPORTED_HDF5_VERSIONS = ["1.14.0"] - H5PY_DEPENDENCY = Dependency("h5py", "h5py", "==3.10.0", False) + H5PY_DEPENDENCY = Dependency("h5py", "h5py", "==3.10.0", True) else: SUPPORTED_HDF5_VERSIONS = ["1.14.0"] H5PY_DEPENDENCY = Dependency("h5py", "h5py", "==3.8.0", True) if QGIS_VERSION < 32811 and platform.system() == "Windows": WINDOWS_PLATFORM_DEPENDENCIES = [ - Dependency("scipy", "scipy", "==1.6.2", True), + Dependency("scipy", "scipy", "==1.6.2", False), ] elif QGIS_VERSION >= 34000 and platform.system() == "Windows": WINDOWS_PLATFORM_DEPENDENCIES = [ @@ -102,7 +102,7 @@ ] else: WINDOWS_PLATFORM_DEPENDENCIES = [ - Dependency("scipy", "scipy", "==1.10.1", False), + Dependency("scipy", "scipy", "==1.10.1", True), ] # If you add a dependency, also adjust external-dependencies/populate.sh