Open agriyakhetarpal opened 1 month ago
The great thing here is that the previous failing test for PyPy 3.9 on Windows does not fail anymore, because the NumPy development version available on https://anaconda.org/scientific-python-nightly-wheels/numpy/files does not support PyPy 3.9 anymore (so, it fails beforehand when installing). The PyPy 3.10 on Windows tests pass, as expected.
I think what's left to do here is to add some logic to determine when to run the nightly tests and to skip them if a wheel is not available for the desired Python implementation + version duo. This might require a bit of hacking and setting up a dynamic GHA matrix with some JSON – I should be able to figure that out.
Hey @agriyakhetarpal, sorry I got a bit lost and am trying to catch up. I had a look at the failing windows pypy test and this looks quite odd to me. To me it is still not clear to which degree we need to explicitly ensure that the code is also working properly with pypy considering the additional maintenance cost that comes with it. From my perspective it would probably be more valueable to focus on potential issues with future CPython and NumPy versions so I appreciate your work towards nightly tests. Is there any explict input you need for this PR?
Thanks for offering to see through this, @fjosw! As discussed on 14/10/2024, I'll rework this PR to make it simpler. Putting the plan out in public here:
N+3
minor version number (2.4
). We can leave it as <3
or ~2
, which helps us since we are in maintenance mode right now.I'll split out the second and third points into their own, separate PRs. We should be good to go with this PR once I address the first point!
The test_logsumexp1
failure looks quite cryptic to me...
This description is a stub and will be updated soon.
This PR enables testing against NumPy nightlies, which were added in #632 and later disabled to be split out here, because some tests were failing on PyPy for Windows. I have yet to figure out a reproducer. It is to be noted that Windows was not tested with PyPy earlier, so it's probably okay to skip or xfail the test, too, if we can't fix it.
Related to #630