Skip to content

Commit

Permalink
NEP29 + Py312
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay authored Oct 12, 2023
1 parent 162c301 commit eb3ce01
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,9 @@ requires = [
"setuptools",
"wheel",
# below matches MDA
"numpy==1.20.0; python_version=='3.8' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_python_implementation != 'PyPy'",
"numpy==1.20.0; python_version=='3.9' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_python_implementation != 'PyPy'",
# arm64 on darwin for py3.8+ requires numpy >=1.21.0
"numpy==1.21.0; python_version=='3.8' and platform_machine=='arm64' and platform_system=='Darwin' and platform_python_implementation != 'PyPy'",
"numpy==1.21.0; python_version=='3.9' and platform_machine=='arm64' and platform_system=='Darwin' and platform_python_implementation != 'PyPy'",
# Scipy: On windows avoid 1.21.6, 1.22.0, and 1.22.1 because they were built on vc142
"numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'",
# As per https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg
# safest to build at 1.21.6 for all other platforms
"numpy==1.21.6; python_version=='3.10' and platform_system !='Windows'and platform_python_implementation != 'PyPy'",
"numpy==1.22.3; python_version=='3.9' and platform_python_implementation != 'PyPy'",
"numpy==1.22.3; python_version=='3.10' and platform_python_implementation != 'PyPy'",
"numpy==1.23.2; python_version=='3.11' and platform_python_implementation != 'PyPy'",
"numpy<2.0; python_version>='3.12'",
]
"numpy==1.26.0; python_version=='3.12' and platform_python_implementation != 'PyPy'",
"numpy<2.0; python_version>='3.13'",
]

0 comments on commit eb3ce01

Please sign in to comment.