From b0b2fbfd636c4795f76659352fdf21209b93f97f Mon Sep 17 00:00:00 2001 From: James Krieger Date: Thu, 19 Sep 2024 15:12:46 +0200 Subject: [PATCH] not numpy 2 --- pyproject.toml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8f38e8491..6301b1948 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [build-system] -requires = ["setuptools", "wheel", "numpy>=1.10", "pyparsing<=3.1.1", "scipy<=1.13.1"] +requires = ["setuptools", "wheel", "numpy>=1.10,<2", "pyparsing<=3.1.1", "scipy<=1.13.1"] diff --git a/setup.py b/setup.py index f78ee0b21..9f2075f19 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ if sys.version_info[:2] == (2, 7) or sys.version_info[:2] <= (3, 5): INSTALL_REQUIRES=['numpy>=1.10', 'biopython<=1.76', 'pyparsing', 'scipy'] else: - INSTALL_REQUIRES=['numpy>=1.10', 'biopython', 'pyparsing<=3.1.1', 'scipy<=1.13.1', 'setuptools'] + INSTALL_REQUIRES=['numpy>=1.10,<2', 'biopython', 'pyparsing<=3.1.1', 'scipy<=1.13.1', 'setuptools'] if sys.version_info[0] == 3 and sys.version_info[1] < 6: sys.stderr.write('Python 3.5 and older is not supported\n')