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
numpy 2.0 is coming out soon, and has release candidates up.
We should test lightgbm against it, and if any changes are required, try to get them into the next release (#6439).
Motivation
numpy is a hard runtime dependency of lightgbm. It would not be a good experience for users if incompatibility with its new major version leads to needing to manually pin numpy<2 in their environments.
Description
At a minimum, we should manually test lightgbm against the numpy release candidate. See dmlc/treelite#560 for a migration guide.
Summary
numpy
2.0 is coming out soon, and has release candidates up.We should test
lightgbm
against it, and if any changes are required, try to get them into the next release (#6439).Motivation
numpy
is a hard runtime dependency oflightgbm
. It would not be a good experience for users if incompatibility with its new major version leads to needing to manually pinnumpy<2
in their environments.Description
At a minimum, we should manually test
lightgbm
against thenumpy
release candidate. See dmlc/treelite#560 for a migration guide.It also would be great to set up CI that runs against nightlies of
numpy
,pandas
,scikit-learn
, andscipy
, maybe followingxarray
's example: https://github.com/pydata/xarray/blob/31111b3afe44fd6f7dac363264e94186cc5168d2/.github/workflows/upstream-dev-ci.yamlReferences
Links to other projects' upgrade and testing efforts: numpy/numpy#26191
The text was updated successfully, but these errors were encountered: