diff -Naur h5py-3.12.1.orig/setup_configure.py h5py-3.12.1/setup_configure.py --- h5py-3.12.1.orig/setup_configure.py 2024-11-12 01:13:06.331700900 +0300 +++ h5py-3.12.1/setup_configure.py 2024-11-12 01:14:51.639066300 +0300 @@ -252,7 +252,7 @@ regexp = re.compile(r'^hdf5.dll') else: default_path = 'libhdf5-0.dll' - regexp = re.compile(r'^libhdf5-[0-9].dll') + regexp = re.compile(r'^libhdf5-\d+.dll$') # To overcome "difficulty" loading the library on windows # https://bugs.python.org/issue42114 load_kw['winmode'] = 0