diff --git a/pyproject.toml b/pyproject.toml index eb65f95c669..c716a5de06c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ requires = [ "scipy>=1.3,<1.9; python_version=='3.8' and platform_system=='Windows' and platform_machine=='x86'", "scipy>=1.3,<1.9; python_version=='3.9' and platform_system=='Windows' and platform_machine=='x86'", # Cap at 1.9.x for all other platforms - "scipy>=1.3,<1.10; (python_version>'3.7' or platform_system!='Windows' or platform_machine!='x86') and python_version<'3.12'", + "scipy>=1.3,<1.10; (python_version>'3.9' or platform_system!='Windows' or platform_machine!='x86') and python_version<'3.12'", "scipy>=1.9; python_version>='3.12'", "setuptools_scm[toml]>=7.0,<8" ] diff --git a/requirements.txt b/requirements.txt index 083fdda7f45..90f9841f1ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ scipy>=1.3,<1.8; python_version=="3.7" # 1.9+ Not available for 32-bit windows, so use 1.8 for all 3.8 & 3.9 w/ 32-bit Windows scipy>=1.3,<1.9; python_version=="3.8" and platform_system=="Windows" and platform_machine=="x86" scipy>=1.3,<1.9; python_version=="3.9" and platform_system=="Windows" and platform_machine=="x86" -scipy>=1.3; (python_version>"3.7" or platform_system!="Windows" or platform_machine!="x86") and python_version<"3.12" +scipy>=1.3; (python_version>"3.9" or platform_system!="Windows" or platform_machine!="x86") and python_version<"3.12" pandas>=0.25 patsy>=0.5.2 packaging>=21.3