Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes in support of libhdf5 1.14.4 #2406

Merged
merged 3 commits into from Apr 9, 2024
Merged

Conversation

ajelenak
Copy link
Contributor

@ajelenak ajelenak commented Apr 5, 2024

The current changes make all test pass with the libhdf5 release branch.

@ajelenak
Copy link
Contributor Author

ajelenak commented Apr 5, 2024

I assume the float16 datatype should be tested somewhere?

Copy link

codecov bot commented Apr 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.58%. Comparing base (060a0d0) to head (ded3c29).
Report is 13 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2406      +/-   ##
==========================================
+ Coverage   89.53%   89.58%   +0.04%     
==========================================
  Files          17       17              
  Lines        2380     2391      +11     
==========================================
+ Hits         2131     2142      +11     
  Misses        249      249              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aragilar
Copy link
Member

aragilar commented Apr 6, 2024

The Mac failure was a codecov issue, I've told it to rerun.

@ajelenak We should test it, I'm not sure if there are any current tests though.

@takluyver
Copy link
Member

Thanks, this all looks OK to me. There are at least some tests with a float16 data type, e.g.

@ut.skipUnless(hasattr(np, 'float16'), "NumPy float16 support required")
def test_mini(self):
""" Mini-floats round trip """
self._exectest(np.dtype('float16'))
# TODO: move these tests to test_h5t
def test_mini_mapping(self):
""" Test mapping for float16 """
if hasattr(np, 'float16'):
self.assertEqual(h5t.IEEE_F16LE.dtype, np.dtype('<f2'))
else:
self.assertEqual(h5t.IEEE_F16LE.dtype, np.dtype('<f4'))

Is 1.14.4 close enough that we can assume this will still work on the release version, or is there scope for last minute surprises?

@ajelenak
Copy link
Contributor Author

ajelenak commented Apr 9, 2024

1.14.4 should be released in two days, on 11 April. I just tested this branch against the latest release code and all still works.

@takluyver takluyver merged commit 0090479 into h5py:master Apr 9, 2024
41 checks passed
@takluyver
Copy link
Member

Great, thank-you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants