From 4baa2c72baef5e9fd4d68ce2fcfc2de64ae4ed98 Mon Sep 17 00:00:00 2001 From: Sibo Wang Date: Mon, 17 Jun 2024 11:39:29 +0200 Subject: [PATCH] specify numpy<2 until the new release is supported --- setup.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/setup.py b/setup.py index 48d5a65f..3243831a 100644 --- a/setup.py +++ b/setup.py @@ -23,16 +23,16 @@ def main(): build_rolling = get_build_env_var_by_name("rolling") install_requires = [ - 'numpy>=1.13.3; python_version<"3.7"', - 'numpy>=1.17.0; python_version>="3.7"', # https://github.com/numpy/numpy/pull/13725 - 'numpy>=1.17.3; python_version>="3.8"', - 'numpy>=1.19.3; python_version>="3.9"', - 'numpy>=1.21.2; python_version>="3.10"', - 'numpy>=1.19.3; python_version>="3.6" and platform_system=="Linux" and platform_machine=="aarch64"', - 'numpy>=1.21.0; python_version<="3.9" and platform_system=="Darwin" and platform_machine=="arm64"', - 'numpy>=1.21.4; python_version>="3.10" and platform_system=="Darwin"', - "numpy>=1.23.5; python_version>='3.11'", - "numpy>=1.26.0; python_version>='3.12'" + 'numpy>=1.13.3,<2; python_version<"3.7"', + 'numpy>=1.17.0,<2; python_version>="3.7"', # https://github.com/numpy/numpy/pull/13725 + 'numpy>=1.17.3,<2; python_version>="3.8"', + 'numpy>=1.19.3,<2; python_version>="3.9"', + 'numpy>=1.21.2,<2; python_version>="3.10"', + 'numpy>=1.19.3,<2; python_version>="3.6" and platform_system=="Linux" and platform_machine=="aarch64"', + 'numpy>=1.21.0,<2; python_version<="3.9" and platform_system=="Darwin" and platform_machine=="arm64"', + 'numpy>=1.21.4,<2; python_version>="3.10" and platform_system=="Darwin"', + "numpy>=1.23.5,<2; python_version>='3.11'", + "numpy>=1.26.0,<2; python_version>='3.12'" ] python_version = cmaker.CMaker.get_python_version() pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy