From f4436a26ed79f481e16e2c53c0551703e7ba8c4f Mon Sep 17 00:00:00 2001 From: Fan Ye Date: Thu, 12 Sep 2024 14:50:24 -0700 Subject: [PATCH] LIT: Update numpy version to be smaller than 2.0.0. PiperOrigin-RevId: 674020174 --- pyproject.toml | 4 ++-- requirements_core.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2ec96196..dec21486 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ dependencies = [ "Levenshtein>=0.21.1", "matplotlib>=3.7.1", "ml-collections>=0.1.1", - "numpy>=1.24.1", + "numpy>=1.24.1,<2.0.0", "pandas>=2.0.3", "Pillow>=10.0.0", "portpicker>=1.5.2", @@ -98,7 +98,7 @@ vertexai = [ "google-cloud-aiplatform>=1.60.0", "vertexai>=1.49.0", ] -# LINT.ThenChange(./lit_nlp/examples/vertexai/requirements.txt) +# LINT.ThenChange(./examples/vertexai/requirements.txt) # LINT.IfChange test = [ "lime==0.2.0.1", diff --git a/requirements_core.txt b/requirements_core.txt index c1bb2434..8bcd7847 100644 --- a/requirements_core.txt +++ b/requirements_core.txt @@ -23,7 +23,7 @@ ipython>=7.34.0 Levenshtein>=0.21.1 matplotlib>=3.6.0,<3.9.0 ml-collections>=0.1.1 -numpy>=1.24.1 +numpy>=1.24.1,<2.0.0 pandas>=2.0.3 Pillow>=10.0.0 portpicker>=1.5.2