From ac2a06aba1c3ddba566458b9a28759dc4f246a56 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Thu, 1 Apr 2021 22:59:19 -0400 Subject: [PATCH] fix: add "oldest-supported-numpy" and remove numpy version range (#1084) * fix: add "oldest-supported-numpy" and remove numpy version range see https://github.com/scipy/oldest-supported-numpy for details * remove numpy setup_requires --- pyproject.toml | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c63399200..25e4661f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools>=40.8.0", "wheel"] +requires = ["setuptools>=40.8.0", "wheel", "oldest-supported-numpy"] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 352f6f216..5f0cf0b4f 100644 --- a/setup.py +++ b/setup.py @@ -120,7 +120,7 @@ def readme(): packages=find_packages(), python_requires='~=3.6', install_requires=[ - 'numpy>=1.15', 'scipy>=0.20.1', 'networkx', + 'numpy', 'scipy>=0.20.1', 'networkx', 'matplotlib', 'hmmlearn>=0.2.1', 'ase', 'scour', 'tqdm', 'coloredlogs', @@ -144,7 +144,7 @@ def readme(): 'setuptools_scm', 'pytest-runner', 'cython>=0.16', - 'numpy>=1.15', + 'numpy', ], package_data={ 'reacnetgenerator': ['static/webpack/bundle.html',