From 045e3cfd0d7f7fc07f30229e17303627931bdce5 Mon Sep 17 00:00:00 2001 From: jonasfreimuth <68993915+jonasfreimuth@users.noreply.github.com> Date: Sun, 24 Mar 2024 21:06:57 +0100 Subject: [PATCH] Restrict numpy version Currently there is a version conflict with the latest numpy version and pandas. This should probably reverted once it's cleared up. --- requirements.txt | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index fcc186e..4ebf4e3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ -numpy>=1.7 +# For pandas requirement, currently numpy<2,>=1.22.4 +numpy<2,>=1.7 pandas>=0.21 pytz>=2013 sphinxcontrib-napoleon>=0.6.1 diff --git a/setup.py b/setup.py index d2b7083..0acbf1f 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ # TODO: Automatically add requirements from requirements.txt requirements = [ - "numpy>=1.7", + "numpy<2,>=1.7", "pandas>=0.17", "requests>=2.21.0", "tqdm>=4.31.1",