Skip to content
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

Support numpy 2.0.0 #2414

Open
8 tasks
dennisbader opened this issue Jun 17, 2024 · 5 comments
Open
8 tasks

Support numpy 2.0.0 #2414

dennisbader opened this issue Jun 17, 2024 · 5 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@dennisbader
Copy link
Collaborator

dennisbader commented Jun 17, 2024

Describe the bug
Numpy released version 2.0.0. Many of our dependencies are currently broken. We set an upper cap on numpy<2.0.0 in #2413.

Dependencies explicitly capping numpy<2.0.0 (obtained using pipdeptree)

  • contourpy==1.2.0 [requires: numpy>=1.20,<2.0]
  • matplotlib==3.8.3 [requires: numpy>=1.21,<2]
  • numba==0.59.0 [requires: numpy>=1.22,<1.27]
  • pandas==2.2.1 [requires: numpy>=1.23.2,<2]
  • pyarrow==15.0.0 [requires: numpy>=1.16.6,<2]
  • scikit-learn==1.4.1.post1 [requires: numpy>=1.19.5,<2.0]
  • scipy==1.12.0 [requires: numpy>=1.22.4,<1.29.0]
  • statsmodels==0.14.1 [requires: numpy>=1.18,<2]
@dennisbader dennisbader added the dependencies Pull requests that update a dependency file label Jun 17, 2024
@github-project-automation github-project-automation bot moved this to To do in darts Aug 29, 2024
@lorentzenchr
Copy link

Numpy 2.0 compatibility of all dependencies is available:

See also numpy/numpy#26191.

@furkancanturk
Copy link

Hi @dennisbader
Do you plan a release supporting Numpy 2?

@madtoinou
Copy link
Collaborator

Thanks @lorentzenchr for checking this.

Hi @furkancanturk, yes, the point of this issue to make sure all the dependencies are supporting numpy 2 before removing the version cap for darts. However, we are planning on one last release for python 3.8 before tackling this.

@swertz
Copy link

swertz commented Dec 9, 2024

Be warned that catboost does not explicitly cap its numpy dependency, but does not support numpy 2.0 yet: catboost/catboost#2671

@felixdivo
Copy link
Contributor

This might also be a problem: alkaline-ml/pmdarima#577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
Status: To do
Development

No branches or pull requests

6 participants