From 257450016bd9e2211acaa238601e2af99520d4e6 Mon Sep 17 00:00:00 2001 From: emilyhunt Date: Fri, 12 Apr 2024 12:15:20 +0200 Subject: [PATCH] Bugfix to np.int for compat with newer numpy versions --- src/smartmultiprocessing/_sphandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smartmultiprocessing/_sphandler.py b/src/smartmultiprocessing/_sphandler.py index af4dedd..1b89be7 100644 --- a/src/smartmultiprocessing/_sphandler.py +++ b/src/smartmultiprocessing/_sphandler.py @@ -121,7 +121,7 @@ def _generate_task_info_dataframe(self): write_header = False else: existing_task_information = None - completed_tasks = np.zeros(0, dtype=np.int) + completed_tasks = np.zeros(0, dtype=int) write_header = True # Generate a blank df with every task to run on, ignoring tasks that are already done