Skip to content

Commit 3fe9bdf

Browse files
authored
NEP29 + Py312 (#105)
* NEP29 + Py312 * Update build.yml
1 parent 162c301 commit 3fe9bdf

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
os: [ubuntu-latest, macos-latest, windows-latest]
31-
python-version: ['3.8', '3.9', '3.10', '3.11']
31+
python-version: ['3.9', '3.10', '3.11', '3.12']
3232

3333
steps:
3434
- uses: actions/checkout@v3
@@ -58,7 +58,7 @@ jobs:
5858
fail-fast: false
5959
matrix:
6060
os: [ubuntu-latest, macos-latest, windows-latest]
61-
python: ["3.8", "3.9", "3.10", "3.11"]
61+
python: ["3.9", "3.10", "3.11", "3.12"]
6262

6363
steps:
6464
- uses: actions/checkout@v3

pyproject.toml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,9 @@ requires = [
55
"setuptools",
66
"wheel",
77
# below matches MDA
8-
"numpy==1.20.0; python_version=='3.8' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_python_implementation != 'PyPy'",
9-
"numpy==1.20.0; python_version=='3.9' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_python_implementation != 'PyPy'",
10-
# arm64 on darwin for py3.8+ requires numpy >=1.21.0
11-
"numpy==1.21.0; python_version=='3.8' and platform_machine=='arm64' and platform_system=='Darwin' and platform_python_implementation != 'PyPy'",
12-
"numpy==1.21.0; python_version=='3.9' and platform_machine=='arm64' and platform_system=='Darwin' and platform_python_implementation != 'PyPy'",
13-
# Scipy: On windows avoid 1.21.6, 1.22.0, and 1.22.1 because they were built on vc142
14-
"numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'",
15-
# As per https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg
16-
# safest to build at 1.21.6 for all other platforms
17-
"numpy==1.21.6; python_version=='3.10' and platform_system !='Windows'and platform_python_implementation != 'PyPy'",
8+
"numpy==1.22.3; python_version=='3.9' and platform_python_implementation != 'PyPy'",
9+
"numpy==1.22.3; python_version=='3.10' and platform_python_implementation != 'PyPy'",
1810
"numpy==1.23.2; python_version=='3.11' and platform_python_implementation != 'PyPy'",
19-
"numpy<2.0; python_version>='3.12'",
20-
]
11+
"numpy==1.26.0; python_version=='3.12' and platform_python_implementation != 'PyPy'",
12+
"numpy<2.0; python_version>='3.13'",
13+
]

0 commit comments

Comments
 (0)