Skip to content

Fix NumPy 1.24 compatibility: replace deprecated np.bool and np.float#156

Merged
StuartLittlefair merged 1 commit intoHiPERCAM:masterfrom
fcotizelati:fix-numpy-deprecations
Dec 29, 2025
Merged

Fix NumPy 1.24 compatibility: replace deprecated np.bool and np.float#156
StuartLittlefair merged 1 commit intoHiPERCAM:masterfrom
fcotizelati:fix-numpy-deprecations

Conversation

@fcotizelati
Copy link

NumPy 1.24 removed the deprecated aliases np.bool and np.float which are currently used in hipercam/hlog.py and hipercam/scripts/hmeta.py. This PR replaces them with the recommended builtin Python types.

@StuartLittlefair
Copy link
Contributor

Thanks @fcotizelati

I thought I'd caught all of these!

@StuartLittlefair StuartLittlefair merged commit eaac989 into HiPERCAM:master Dec 29, 2025
1 check passed
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.

2 participants