Skip to content

Fix: Resolve issues with numpy >= 2.3#2928

Merged
WhoBrokeTheBuild merged 1 commit intoMDSplus:alphafrom
WhoBrokeTheBuild:slw-fix-numpy-tostring-fromstring
Jul 1, 2025
Merged

Fix: Resolve issues with numpy >= 2.3#2928
WhoBrokeTheBuild merged 1 commit intoMDSplus:alphafrom
WhoBrokeTheBuild:slw-fix-numpy-tostring-fromstring

Conversation

@WhoBrokeTheBuild
Copy link
Member

Conditionally replace calls to tostring() with tobytes()
Conditionally replace calls to fromstring() with frombuffer()
Pass the numpy object directly to hashlib, instead of calling tostring()

Conditionally replace calls to tostring() with tobytes()
Conditionally replace calls to fromstring() with frombuffer()
Pass the numpy object directly to hashlib, instead of calling tostring()
Copy link
Contributor

@mwinkel-dev mwinkel-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are straightforward and match the description, so approving this change.

@WhoBrokeTheBuild WhoBrokeTheBuild merged commit 957ebc2 into MDSplus:alpha Jul 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api/python Relates to the Python API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants