Skip to content

replace ndarray.tostring with ndarray.tobytes#187

Open
taranarmo wants to merge 1 commit intotelegraphic:masterfrom
taranarmo:replace-removed-tostring-with-tobytes
Open

replace ndarray.tostring with ndarray.tobytes#187
taranarmo wants to merge 1 commit intotelegraphic:masterfrom
taranarmo:replace-removed-tostring-with-tobytes

Conversation

@taranarmo
Copy link

ndarray.tostring is deprecated since numpy 1.19 and removed in numpy 2.3 https://numpy.org/doc/stable/release/2.3.0-notes.html thus currently building against numpy 2.3 is failing during test phase with

hickle/tests/test_06_load_astropy.py::test_astropy_time_array - AttributeError: 'numpy.ndarray' object has no attribute 'tostring'

`ndarray.tostring` is deprecated since numpy 1.19 and removed in numpy 2.3
https://numpy.org/doc/stable/release/2.3.0-notes.html
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.

1 participant