npy-append-array
npy-append-array copied to clipboard
Compatibility with future NumPy releases: `numpy.compat` will be removed
The format.py module uses numpy.compat, which is deprecated and slated for removal in future NumPy versions:
https://github.com/xor2k/npy-append-array/blob/c74a4c30b9a15ce0a1594a10c3716b2f0443addc/npy_append_array/format.py#L4
On recent NumPy versions (>= 2.0.0), one gets the following warning when numpy.compat is imported:
DeprecationWarning: `np.compat`, which was used during the Python 2 to 3 transition, is deprecated since 1.26.0, and will be removed
More details can be found here:
https://numpy.org/neps/nep-0052-python-api-cleanup.html
It is not clear to me from precisely which version np.compat will become unavailable.