-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
& fkiraly [MNT] bump numpy version bound to <1.25 and fix compatibility issues #3907 #3915
Conversation
why are these failing? Seems like failure from numerical errors? It is |
@fkiraly It looks like a classic case of rounding errors |
yes, but it did not happen before? What changed? This produces different values on windows than on unix?? I would suggest to remove the printout from doctest and separately test until some lower amount of significant digits. |
2a358fd
to
f4f45a9
Compare
I am bumping the upper bound to 1.24 to test is this was not introduced later. |
yes, looks like 1.23 It also looks like it is only about the printout (number of significant digits printed), my preferred approach would be moving the tests to pytest and testing approximate equality rather than precise equality of the printout. Would you like to do that? Otherwise I can do that too, it should not take too long. |
I am afraid I will not have time to do it this week so feel free to take over. |
numpy 1.24 was just realeased FYI |
@jorenham, yes, I was going to fix this and release 0.15.0 with numpy and sklearn compatibilities. |
FYI @RNKuhns, the compatibility issues came from your old doctests! Not to blame anyone, just a learning moment for me as well - looks like some numerical routines subtly changed in I fixed that by moving the test out to |
Fixes #3907
numpy
to1.25
(1.24
is out)