Guarantees around libhdf5.settings


#1

Hi All

h5py is looking at exposing the ros3 driver, and we’re wondering what is the best method to detect this. We’ve currently got two different implementations, one checks the ABI of the library, the other tries parsing the content of libhdf5.settings. Is the format of libhdf5.settings specified/can it be relied on long term (note: we’re not requesting that it be a long term format)?

James

P.S. The relevant h5py changes are https://github.com/h5py/h5py/pull/1755 and https://github.com/h5py/h5py/pull/1759.


#2

Hi James,

The format of libhdf5.settings is not considered part of the public API and is subject to change. It’s been fairly stable over the years, but there’s no guarantee some future developer won’t condense the multiple VFD lines into a single comma-separated list, for example.


#3

Cool, that’s what I thought. We’ll go with the ABI version.