-
Notifications
You must be signed in to change notification settings - Fork 83
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
Requirement: numpy<2.0.0 #1375
Comments
xgboost 2.1.0 is compatible with numpy 2.0, but I don't believe lale 0.8.2 is. |
Yes, the wrapper is the/one issue. So requirements maybe should be adjusted. I just don’t know that’s done… |
Hi, thank you for raising this issue! Instead of constraining the numpy version everywhere, it might be better to update the XGBoost wrapper to work with numpy 2.0.0. Would you like to try that? Numpy 2.0.0 was released on PyPI on June 16th. After that, the Lale tests from July 3rd succeeded without an upper bound on numpy. And some of the tests explicitly install the newest numpy version, in this case, 2.0.0. |
@rootsmusic The test I linked above (test_newer) does not pin numpy for SnapML. There are some other tests that do, because at the time they were written, SnapML had these restrictions. It is possible that the newest SnapML no longer has these restrictions, which would require an experiment to check. |
the latest release of mystic does not yet support numpy>=2.0. At least one of the issues has been fixed in master: uqfoundation/mystic#248 and there is an issue for completing the migration: uqfoundation/mystic#249 This addresses #1375 Signed-off-by: Avi Shinnar <[email protected]>
Should the
numpy<2.0.0
requirement be followed throughout? It is stated in docs/requirements.txt but not in setup.py.Very new to this, but it seems this creates a potential dependency problem since lale is incompatible with numpy 2.0 (e.g. use of
np.NaN
in lale/lib/xgboost/xgb_classifier.py", line 792)The text was updated successfully, but these errors were encountered: