Skip to content

Commit

Permalink
Fix issue with wrong version of h5py being used (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoanphungt authored Jan 23, 2025
1 parent 4651a72 commit a208e87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
3.13 (unreleased)
-----------------

- Nothing changed yet.
- Fix issue with wrong version of h5py being used.


3.12 (2024-12-10)
Expand Down
6 changes: 3 additions & 3 deletions dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,22 @@
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 = [
Dependency("scipy", "scipy", "==1.13.0", True),
]
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
Expand Down

0 comments on commit a208e87

Please sign in to comment.