Hello, I tryed to unbrand the lzf library but it end up with failing unit tests
I do not know the internals of liblzf. Timo Röhling can you have a look at this issue ? Cheers Frederic It seems that the embeded version of lzf and the one from your liblzf package are different. test_filter (bitshuffle.tests.test_h5filter.TestFilter) ... ERROR test_with_block_size (bitshuffle.tests.test_h5filter.TestFilter) ... ERROR test_with_compression (bitshuffle.tests.test_h5filter.TestFilter) ... ERROR test_plugins (bitshuffle.tests.test_h5plugin.TestFilterPlugins) ... ERROR test_regression (bitshuffle.tests.test_regression.TestAll) ... ok ====================================================================== ERROR: test_filter (bitshuffle.tests.test_h5filter.TestFilter) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bitshuffle/build/bitshuffle/tests/test_h5filter.py", line 26, in test_filter f = h5py.File(fname) File "/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/files.py", line 387, in __init__ fid = make_fid(name, mode, userblock_size, File "/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/files.py", line 173, in make_fid fid = h5f.open(name, flags, fapl=fapl) File "h5py/_debian_h5py_serial/_objects.pyx", line 54, in h5py._debian_h5py_serial._objects.with_phil.wrapper File "h5py/_debian_h5py_serial/_objects.pyx", line 55, in h5py._debian_h5py_serial._objects.with_phil.wrapper File "h5py/_debian_h5py_serial/h5f.pyx", line 88, in h5py._debian_h5py_serial.h5f.open OSError: Unable to open file (unable to open file: name = 'tmp_test_filters.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) ====================================================================== ERROR: test_with_block_size (bitshuffle.tests.test_h5filter.TestFilter) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bitshuffle/build/bitshuffle/tests/test_h5filter.py", line 46, in test_with_block_size f = h5py.File(fname) File "/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/files.py", line 387, in __init__ fid = make_fid(name, mode, userblock_size, File "/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/files.py", line 173, in make_fid fid = h5f.open(name, flags, fapl=fapl) File "h5py/_debian_h5py_serial/_objects.pyx", line 54, in h5py._debian_h5py_serial._objects.with_phil.wrapper File "h5py/_debian_h5py_serial/_objects.pyx", line 55, in h5py._debian_h5py_serial._objects.with_phil.wrapper File "h5py/_debian_h5py_serial/h5f.pyx", line 88, in h5py._debian_h5py_serial.h5f.open OSError: Unable to open file (unable to open file: name = 'tmp_test_filters.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) ====================================================================== ERROR: test_with_compression (bitshuffle.tests.test_h5filter.TestFilter) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bitshuffle/build/bitshuffle/tests/test_h5filter.py", line 68, in test_with_compression f = h5py.File(fname) File "/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/files.py", line 387, in __init__ fid = make_fid(name, mode, userblock_size, File "/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/files.py", line 173, in make_fid fid = h5f.open(name, flags, fapl=fapl) File "h5py/_debian_h5py_serial/_objects.pyx", line 54, in h5py._debian_h5py_serial._objects.with_phil.wrapper File "h5py/_debian_h5py_serial/_objects.pyx", line 55, in h5py._debian_h5py_serial._objects.with_phil.wrapper File "h5py/_debian_h5py_serial/h5f.pyx", line 88, in h5py._debian_h5py_serial.h5f.open OSError: Unable to open file (unable to open file: name = 'tmp_test_filters.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) ====================================================================== ERROR: test_plugins (bitshuffle.tests.test_h5plugin.TestFilterPlugins) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bitshuffle/build/bitshuffle/tests/test_h5plugin.py", line 37, in test_plugins f = h5py.File(fname) File "/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/files.py", line 387, in __init__ fid = make_fid(name, mode, userblock_size, File "/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/files.py", line 173, in make_fid fid = h5f.open(name, flags, fapl=fapl) File "h5py/_debian_h5py_serial/_objects.pyx", line 54, in h5py._debian_h5py_serial._objects.with_phil.wrapper File "h5py/_debian_h5py_serial/_objects.pyx", line 55, in h5py._debian_h5py_serial._objects.with_phil.wrapper File "h5py/_debian_h5py_serial/h5f.pyx", line 88, in h5py._debian_h5py_serial.h5f.open OSError: Unable to open file (unable to open file: name = 'tmp_test_filters.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) ---------------------------------------------------------------------- Ran 61 tests in 1.380s FAILED (errors=4)