From da1ef8c3b718f5218166379088ae2b07065aa1ff Mon Sep 17 00:00:00 2001 From: Brian Shi Date: Mon, 20 Jan 2025 15:04:46 +0000 Subject: [PATCH 1/2] Support numpy 2.0 --- requirements/base/base.txt | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/base/base.txt b/requirements/base/base.txt index b9ed72600..793cced09 100644 --- a/requirements/base/base.txt +++ b/requirements/base/base.txt @@ -1,6 +1,6 @@ multimethod >= 1.0, < 2.0 neo4j >= 4.4.12, < 6.0 -numpy < 2.0 +numpy < 3.0 pandas >= 1.0, < 3.0 pyarrow >= 15.0.2, < 19.0 textdistance >= 4.0, < 5.0 diff --git a/tox.ini b/tox.ini index 52a5f318d..551207c45 100644 --- a/tox.ini +++ b/tox.ini @@ -45,7 +45,7 @@ deps = neo4j4: neo4j >= 4.4.2, < 5.0 neo4j5: neo4j >= 5.0, < 6.0 pandas1: pandas >= 1.0, < 2.0 - pandas1: numpy == 1.24.3 + pandas1: numpy == 2.2.2 pandas2: pandas >= 2.0, < 3.0 pyarrow15: pyarrow >= 15.0, < 16.0 pyarrow16: pyarrow >= 16.0, < 17.0 From 5f11b2b96e0f0fe1194fce7ef871c8c6df4a5211 Mon Sep 17 00:00:00 2001 From: Brian Shi Date: Mon, 20 Jan 2025 15:48:58 +0000 Subject: [PATCH 2/2] Support numpy 2.0 --- requirements/base/base.txt | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/base/base.txt b/requirements/base/base.txt index 793cced09..8026719a4 100644 --- a/requirements/base/base.txt +++ b/requirements/base/base.txt @@ -1,6 +1,6 @@ multimethod >= 1.0, < 2.0 neo4j >= 4.4.12, < 6.0 -numpy < 3.0 +numpy < 2.1 pandas >= 1.0, < 3.0 pyarrow >= 15.0.2, < 19.0 textdistance >= 4.0, < 5.0 diff --git a/tox.ini b/tox.ini index 551207c45..4cca36778 100644 --- a/tox.ini +++ b/tox.ini @@ -45,7 +45,7 @@ deps = neo4j4: neo4j >= 4.4.2, < 5.0 neo4j5: neo4j >= 5.0, < 6.0 pandas1: pandas >= 1.0, < 2.0 - pandas1: numpy == 2.2.2 + pandas1: numpy == 2.0.2 pandas2: pandas >= 2.0, < 3.0 pyarrow15: pyarrow >= 15.0, < 16.0 pyarrow16: pyarrow >= 16.0, < 17.0