Skip to content

Commit 6069e55

Browse files
authored
Merge pull request Unidata#1505 from ekanshul/fix/win-arm64-py310-numpy
Keep a numpy pin on Windows ARM64 for Python 3.10
2 parents ba22b9c + 63ad784 commit 6069e55

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎Changelog‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
version 1.7.4.1 (tag v1.7.4.1rel)
22
=================================
3+
* Keep a numpy pin for Windows ARM64 on Python 3.10 so lockers can resolve that environment (issue #1491).
34
* Preserve surviving dimensions and decoded types for empty orthogonal selections,
45
including empty integer indices and all-false masks (PR #1499).
56
* Convert non-native-endian numeric attributes to native byte order before writing (issue #1502).

‎pyproject.toml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ dependencies = [
4040
"certifi",
4141
"packaging",
4242
"numpy>=2.3.0; platform_system == 'Windows' and platform_machine == 'ARM64' and python_version >= '3.11'",
43-
"numpy>=1.21.2; platform_system != 'Windows' or platform_machine != 'ARM64'",
43+
# Windows ARM64 + Python 3.10 has no numpy>=2.3.0 wheel. Keep the older
44+
# pin there so lockers (e.g. uv lock --python 3.10) can still resolve
45+
# that environment. See issue #1491.
46+
"numpy>=1.21.2; platform_system != 'Windows' or platform_machine != 'ARM64' or python_version < '3.11'",
4447
]
4548
dynamic = ["version"]
4649

0 commit comments

Comments
 (0)