nteract/papermill

error with `numpy` v2

Open

#800 opened on Jun 21, 2024

 (5 comments) (0 reactions) (0 assignees)Python (402 forks)batch import
bughelp wanted

Repository metrics

Stars
 (5,381 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide