Skip to content

Commit 151a494

Browse files
committed
depending on numpy 2.3.0+ on arm
1 parent 7f263ef commit 151a494

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ classifiers = [
3636
dependencies = [
3737
"cftime",
3838
"certifi",
39-
"numpy",
39+
"numpy>=2.3.0; platform_system == 'Windows' and platform_machine == 'ARM64'",
40+
"numpy>=1.21.2; platform_system != 'Windows' or platform_machine != 'ARM64'",
4041
]
4142
dynamic = ["version"]
4243

@@ -161,7 +162,6 @@ environment = {HDF5_DIR='C:\\\\Users\\runneradmin\\micromamba\\envs\\build\\Libr
161162
select = "*-win_arm64"
162163
inherit.environment = "append"
163164
environment = { HDF5_DIR = 'C:\\\\vcpkg\\\\installed\\\\arm64-windows', netCDF4_DIR = 'C:\\\\vcpkg\\\\installed\\\\arm64-windows', PATH = 'C:\\\\vcpkg\\\\installed\\\\arm64-windows\\\\bin;${PATH}', NO_CDL = '1' }
164-
before-build = "pip install -I delvewheel numpy>=2.3.0"
165165
repair-wheel-command = [
166166
"delvewheel show {wheel}",
167167
"delvewheel repair -w {dest_dir} {wheel}",

0 commit comments

Comments
 (0)