You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
matejsp
changed the title
ENH: Replace oldest-supported-numpy with numpy
ENH: Replace oldest-supported-numpy with numpy 1.25.x since they guarantee ABI/API compatibility since 1.19.x
Aug 25, 2023
I don't really know what you expect for us. We are already building against 1.25 IIRC, but we are following NEP29 in our NumPy support schedule as a runtime dependency, so we won't drop support for older versions
# Note: numpy 1.25 has a backwards compatible C API by default
# we don't want to force users to compile with 1.25 though
# (Ideally, in the future, though, oldest-supported-numpy can be dropped when our min numpy is 1.25.x)
"oldest-supported-numpy>=2022.8.16; python_version<'3.12'",
"numpy>=1.22.4; python_version>='3.12'",
to:
# Note: numpy 1.25 has a backwards compatible C API by default
# we don't want to force users to compile with 1.25 though
# (Ideally, in the future, though, oldest-supported-numpy can be dropped when our min numpy is 1.25.x)
"oldest-supported-numpy>=2022.8.16; python_version<'3.9'",
"numpy>=1.25.0,<2; python_version>='3.9'", # 1.25 is compatible numpy from 1.19 ...
My problem is that when I want to build pandas (with pip wheel) it takes the oldest-supported-numpy in build-system and it forces me to use and build 1.17.3 for python 3.9 and the build fails on MacOSX because of too old wheel package in requirements of very old numpy ...
But I see :D you don't want to force user to compile it with 1.25.x (but then you force to compile on unsupported numpy).
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
With 1.25 numpy it is not possible to build against latest numpy and retain compatibility from 1.19 forward: https://numpy.org/doc/stable/dev/depending_on_numpy.html
It is getting hard to build old numpy on latest MacOSX:
scipy/oldest-supported-numpy#77
numpy/numpy#17987
pypa/wheel#385
Feature Description
Use latest version of numpy for all platforms since pandas and numpy now have minimum python of 3.9.
Alternative Solutions
Alternative solution is to continue the battle with building unsupported versions of numpy.
Additional Context
No response
The text was updated successfully, but these errors were encountered: