papermill icon indicating copy to clipboard operation
papermill copied to clipboard

error with `numpy` v2

Open jbloom opened this issue 1 year ago • 1 comments

I get the following error when I run papermill with numpy version 2.0.0:

papermill.exceptions.PapermillExecutionError: 
---------------------------------------------------------------------------
Exception encountered at "In [1]":
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
AttributeError: _ARRAY_API not found

I think this has to do with a change in the numpy API, as here.

jbloom avatar Jun 21 '24 12:06 jbloom

I was hoping given time Numpy would solve this for Python 3.12, but it seems they're just not going to so we likely need to add a limit for now: https://github.com/numpy/numpy/issues/26710

MSeal avatar Aug 20 '24 17:08 MSeal