From ca3c6e3a6abfbbc88d871383a10145c1a5c982c6 Mon Sep 17 00:00:00 2001 From: Patrick Kunzmann Date: Fri, 1 Mar 2024 00:17:01 +0100 Subject: [PATCH] Restrict NumPy to 1.x --- environment.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/environment.yml b/environment.yml index 9d23b19a3..c0f3c6503 100644 --- a/environment.yml +++ b/environment.yml @@ -19,7 +19,7 @@ dependencies: # Biotite dependencies - msgpack-python >=0.5.6 - networkx >=2.0 - - numpy >=1.15 + - numpy >=1.15, <2.0 - requests >=2.12 # Testing - mdtraj >=1.9.3 diff --git a/pyproject.toml b/pyproject.toml index 69b15ac1f..d2f3c26c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ # this should be manually updated as the minimum python version increases dependencies = [ "requests >= 2.12", - "numpy >= 1.14.5", + "numpy >= 1.14.5, <= 2.0", "msgpack >= 0.5.6", "networkx >= 2.0", ]