Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: Refine pins #8491

Merged
merged 1 commit into from Nov 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions pyproject.toml
Expand Up @@ -9,11 +9,12 @@ requires = [
"numpy; python_version>='3.11'",
# 1.8+ Not available for 3.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/Windows
"scipy>=1.3,<1.9; python_version=='3.8' and platform_system=='Windows'",
"scipy>=1.3,<1.9; python_version=='3.9' and platform_system=='Windows'",
# 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'",
# Cap at 1.9.x for all other platforms
"scipy>=1.3,<1.10; python_version>'3.7' or platform_system!='Windows'",
"scipy>=1.3,<1.10; (python_version>'3.7' 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"
]
build-backend = "setuptools.build_meta"
Expand Down
9 changes: 7 additions & 2 deletions requirements.txt
@@ -1,7 +1,12 @@
# Workaround for scipy build requirement
numpy>=1.22.3; python_version=="3.10" and platform_system=="Windows" and platform_python_implementation != "PyPy"
numpy>=1.17
scipy>=1.3
numpy>=1.17; python_version!="3.10" or platform_system!="Windows" or platform_python_implementation=="PyPy"
# 1.8+ Not available for 3.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"
pandas>=0.25
patsy>=0.5.2
packaging>=21.3