pmdarima icon indicating copy to clipboard operation
pmdarima copied to clipboard

[WIP] Support numpy 2.0

Open tgsmith61591 opened this issue 1 year ago • 1 comments

Description

Addresses #577 by adding support for Numpy 2+. This will force numpy 2.0 as a minimum required version

Type of change

Please delete options that are not relevant.

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • [ ] CI tests pass
  • [ ] No regressions in examples

Checklist:

  • [ ] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests pass locally with my changes

tgsmith61591 avatar Nov 08 '24 21:11 tgsmith61591

make requirements make develop make test-requirements make tests

Gets the following error: ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject.

macOS: 15.4.1 python: 3.12.10

Same commands on branch numpy2 does not induce this value error and most tests pass.

twobitunicorn avatar Apr 29 '25 20:04 twobitunicorn

Same as twobitunicorn

When will it be available ?

LuisTellezSirocco avatar Sep 12 '25 11:09 LuisTellezSirocco

Supported now in Version 2.1.0

tgsmith61591 avatar Nov 13 '25 15:11 tgsmith61591