Skip to content

Update h5py to version 3.5.0

Thomas Kluyver requested to merge req-h5py-3.5 into master

Description

The latest release of h5py brings the possibility to create byte-for-byte identical HDF5 files, by disabling an embedded timestamp that was previous written by default.

How Has This Been Tested?

Run AGIPD calibration using xfel-calibrate and then repeated it, as in !544 (merged). The files produced by re-running are identical:

$ sha256sum agipd-calib-900230-174-repro/CORR-*
c74953341d039d63ba4820ad99dec4b8e21877b247da062f6b67ad6bd43fd0f2  agipd-calib-900230-174-repro/CORR-R0174-AGIPD00-S00000.h5
fa2d7d2791b10e6f492349ef9047a23de959264acf77160312c5a27944d0b534  agipd-calib-900230-174-repro/CORR-R0174-AGIPD00-S00001.h5
568fc476e34e6f6c4e0ab108c8039454621a4526b2cd885f14e710cc53999ebc  agipd-calib-900230-174-repro/CORR-R0174-AGIPD00-S00002.h5
0df0a236ba4af490aac1396badcf30edbfd9428aa35354cde7c932f3c909b72e  agipd-calib-900230-174-repro/CORR-R0174-AGIPD01-S00000.h5
1c8c85edd7bb1c561cba63c212201012f278efc725e1c79b06c6206504392eba  agipd-calib-900230-174-repro/CORR-R0174-AGIPD01-S00001.h5
5d46be323663652476b752cda3b28d25b634fbfd8f3074c07088bd58cb147142  agipd-calib-900230-174-repro/CORR-R0174-AGIPD01-S00002.h5
9c23cf4dccf11e24147036c12a202d71a1ff07faa1ec2f1199bacb96c9640aa6  agipd-calib-900230-174-repro/CORR-R0174-AGIPD02-S00000.h5
4bc5cd72c69aacec58ebe6beadc732377cb8e3a06fc31bd2729744431678dde3  agipd-calib-900230-174-repro/CORR-R0174-AGIPD02-S00001.h5
d2dcaa51387c3d4048202aa55cd486ecbef2017539e58e6629149793805ba2f8  agipd-calib-900230-174-repro/CORR-R0174-AGIPD02-S00002.h5
4559cf0727ff744d30f6b0760f8f52b530e42210094db6848f40e99d3f0f44bc  agipd-calib-900230-174-repro/CORR-R0174-AGIPD03-S00000.h5
a4b8976cbe33effe679ec79ad0d8a04cb5fbc69324c16b8353b0cd551833488e  agipd-calib-900230-174-repro/CORR-R0174-AGIPD03-S00001.h5
cd135b62798c1121473a4d7aec3c4c622fb849510080db2f039e5f6714f1cf3c  agipd-calib-900230-174-repro/CORR-R0174-AGIPD03-S00002.h5

$ sha256sum agipd-calib-900230-174-repro2/CORR-*           
c74953341d039d63ba4820ad99dec4b8e21877b247da062f6b67ad6bd43fd0f2  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD00-S00000.h5
fa2d7d2791b10e6f492349ef9047a23de959264acf77160312c5a27944d0b534  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD00-S00001.h5
568fc476e34e6f6c4e0ab108c8039454621a4526b2cd885f14e710cc53999ebc  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD00-S00002.h5
0df0a236ba4af490aac1396badcf30edbfd9428aa35354cde7c932f3c909b72e  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD01-S00000.h5
1c8c85edd7bb1c561cba63c212201012f278efc725e1c79b06c6206504392eba  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD01-S00001.h5
5d46be323663652476b752cda3b28d25b634fbfd8f3074c07088bd58cb147142  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD01-S00002.h5
9c23cf4dccf11e24147036c12a202d71a1ff07faa1ec2f1199bacb96c9640aa6  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD02-S00000.h5
4bc5cd72c69aacec58ebe6beadc732377cb8e3a06fc31bd2729744431678dde3  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD02-S00001.h5
d2dcaa51387c3d4048202aa55cd486ecbef2017539e58e6629149793805ba2f8  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD02-S00002.h5
4559cf0727ff744d30f6b0760f8f52b530e42210094db6848f40e99d3f0f44bc  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD03-S00000.h5
a4b8976cbe33effe679ec79ad0d8a04cb5fbc69324c16b8353b0cd551833488e  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD03-S00001.h5
cd135b62798c1121473a4d7aec3c4c622fb849510080db2f039e5f6714f1cf3c  agipd-calib-900230-174-repro2/CORR-R0174-AGIPD03-S00002.h5

This doesn't mean we can always reproduce output files exactly. But where we do, it's nice to be able to see that.

Types of changes

  • New feature (non-breaking change which adds functionality)

Reviewers

@calibration

Merge request reports