It looks like this was addressed upstream in [0], though that change appears to have done more than just fix this issue. (I think this bug would be fixed by uploading 2.8.0.) [0] https://github.com/h5py/h5py/commit/14fff7ae7b66cdd7b79bf2f454ed7f34efadf3f7