Blissdata tests fail with python >= 3.10 (HDF5 related)
When installing blissdata alone with python 3.10, tests fails (for both pypi and conda):
cd blissdata/
mamba create -n testenv python=3.10
conda activate testenv
pip install .
pip install pytest pytest-mock
pytest blissdata/tests/
FAILED blissdata/tests/h5api/test_dynamic_files.py::test_single_scan_iteration[0] - OSError: Unable to open file (bad object header version number)
...
If I redo the same in python 3.9, it works.
The conda list for python 3.10:
# packages in environment at /users/felix/miniconda3/envs/toto:
#
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
attrs 22.2.0 pypi_0 pypi
blissdata 0.3.2 pypi_0 pypi
bzip2 1.0.8 h7f98852_4 conda-forge
ca-certificates 2022.12.7 ha878542_0 conda-forge
exceptiongroup 1.1.0 pypi_0 pypi
fabio 2022.12.1 pypi_0 pypi
gevent 22.10.2 pypi_0 pypi
greenlet 2.0.1 pypi_0 pypi
h5py 3.7.0 pypi_0 pypi
iniconfig 2.0.0 pypi_0 pypi
ld_impl_linux-64 2.39 hcc3a1bd_1 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libgcc-ng 12.2.0 h65d4601_19 conda-forge
libgomp 12.2.0 h65d4601_19 conda-forge
libnsl 2.0.0 h7f98852_0 conda-forge
libsqlite 3.40.0 h753d276_0 conda-forge
libuuid 2.32.1 h7f98852_1000 conda-forge
libzlib 1.2.13 h166bdaf_4 conda-forge
ncurses 6.3 h27087fc_1 conda-forge
numpy 1.24.1 pypi_0 pypi
openssl 3.0.7 h0b41bf4_1 conda-forge
packaging 23.0 pypi_0 pypi
pip 22.3.1 pyhd8ed1ab_0 conda-forge
pluggy 1.0.0 pypi_0 pypi
pytest 7.2.1 pypi_0 pypi
pytest-mock 3.10.0 pypi_0 pypi
python 3.10.8 h4a9ceb5_0_cpython conda-forge
readline 8.1.2 h0f457ee_0 conda-forge
setuptools 66.0.0 pyhd8ed1ab_0 conda-forge
silx 1.1.2 pypi_0 pypi
tk 8.6.12 h27826a3_0 conda-forge
tomli 2.0.1 pypi_0 pypi
tzdata 2022g h191b570_0 conda-forge
wheel 0.38.4 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h166bdaf_0 conda-forge
zope-event 4.6 pypi_0 pypi
zope-interface 5.5.2 pypi_0 pypi
The only line that change with python 3.9 is :
python 3.9.15 hba424b6_0_cpython conda-forge
Edited by Lucas Felix