Closed penguinpee closed 4 months ago
Note that we (Fedora) don’t need to build wheels that are compatible with both Numpy 2.x and Numpy 1.x, since the distribution package is used only with the distribution’s Numpy.
I am about to open a PR that seems to fix backwards-compatibility with Numpy 1.x. I think this will also matter for PyPI users using the latest wheels with Numpy 1.x, since the test failures reflect an API-level incompatibility with Numpy 1.x.
With the latest release, it appears the wheel is build against NumPy >= 2.0, going by the comment in
pyproject.toml
:https://github.com/has2k1/scikit-misc/blob/556c22ff46ed1b39fc4bdbb5180f2a2bb7dcd138/pyproject.toml#L82-L87
In Fedora, we are not yet ready for a major upgrade of NumPy. When building against NumPy 1.26.4 with Python 3.13.0b2 or Python 3.12.3, tests are failing. The build itself completes (with a couple of warnings).
Test failures with NumPy 1.26.4
```python =================================== FAILURES =================================== ______________________ TestLoess2d.test_2d_pred_nostderr _______________________ self =