Skip to content

Commit 954f6a0

Browse files
committed
add windows arm64 build
1 parent 8944767 commit 954f6a0

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/packaging_wheels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
python: [ cp39, cp310, cp311, cp312, cp313, cp314 ]
3434
platform:
3535
- { os: windows-2025, arch: amd64, cibw_system: win }
36+
- { os: windows-11-arm, arch: ARM64, cibw_system: win } # cibw requires ARM64 to be uppercase
3637
- { os: ubuntu-24.04, arch: x86_64, cibw_system: manylinux }
3738
- { os: ubuntu-24.04-arm, arch: aarch64, cibw_system: manylinux }
3839
- { os: macos-15, arch: arm64, cibw_system: macosx }

.github/workflows/targeted_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
type: choice
1010
options:
1111
- 'windows-2025'
12+
- 'windows-11-arm'
1213
- 'ubuntu-24.04'
1314
- 'ubuntu-24.04-arm'
1415
- 'macos-15'

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,15 @@ environments = [ # no need to resolve packages beyond these platforms with uv...
197197
"python_version >= '3.9' and sys_platform == 'darwin' and platform_machine == 'arm64'",
198198
"python_version >= '3.9' and sys_platform == 'darwin' and platform_machine == 'x86_64'",
199199
"python_version >= '3.9' and sys_platform == 'win32' and platform_machine == 'AMD64'",
200+
"python_version >= '3.9' and sys_platform == 'win32' and platform_machine == 'ARM64'",
200201
"python_version >= '3.9' and sys_platform == 'linux' and platform_machine == 'x86_64'",
201202
"python_version >= '3.9' and sys_platform == 'linux' and platform_machine == 'aarch64'",
202203
]
203204
required-environments = [ # ... but do always resolve for all of them
204205
"python_version >= '3.9' and sys_platform == 'darwin' and platform_machine == 'arm64'",
205206
"python_version >= '3.9' and sys_platform == 'darwin' and platform_machine == 'x86_64'",
206207
"python_version >= '3.9' and sys_platform == 'win32' and platform_machine == 'AMD64'",
208+
"python_version >= '3.9' and sys_platform == 'win32' and platform_machine == 'ARM64'",
207209
"python_version >= '3.9' and sys_platform == 'linux' and platform_machine == 'x86_64'",
208210
"python_version >= '3.9' and sys_platform == 'linux' and platform_machine == 'aarch64'",
209211
]
@@ -229,7 +231,7 @@ stubdeps = [ # dependencies used for typehints in the stubs
229231
"pyarrow",
230232
]
231233
test = [ # dependencies used for running tests
232-
"adbc-driver-manager",
234+
"adbc-driver-manager; sys_platform != 'win32' or platform_machine != 'ARM64'",
233235
"pytest",
234236
"pytest-reraise",
235237
"pytest-timeout",
@@ -248,11 +250,11 @@ test = [ # dependencies used for running tests
248250
"urllib3",
249251
"fsspec>=2022.11.0",
250252
"pandas>=2.0.0",
251-
"pyarrow>=18.0.0",
252-
"torch>=2.2.2; python_version < '3.14' and ( sys_platform != 'darwin' or platform_machine != 'x86_64' or python_version < '3.13' )",
253+
"pyarrow>=18.0.0; sys_platform != 'win32' or platform_machine != 'ARM64'",
254+
"torch>=2.2.2; python_version < '3.14' and ( sys_platform != 'darwin' or platform_machine != 'x86_64' or python_version < '3.13' ) and ( sys_platform != 'win32' or platform_machine != 'ARM64' or python_version > '3.11' )",
253255
"tensorflow==2.14.0; sys_platform == 'darwin' and python_version < '3.12'",
254256
"tensorflow-cpu>=2.14.0; sys_platform == 'linux' and platform_machine != 'aarch64' and python_version < '3.12'",
255-
"tensorflow-cpu>=2.14.0; sys_platform == 'win32' and python_version < '3.12'",
257+
"tensorflow-cpu>=2.14.0; sys_platform == 'win32' and platform_machine != 'ARM64' and python_version < '3.12'",
256258
"tensorflow-cpu-aws==2.15.1; sys_platform == 'linux' and platform_machine == 'aarch64' and python_version < '3.12'",
257259
"numpy<2; python_version < '3.12'",
258260
"numpy>=2; python_version >= '3.12'",

0 commit comments

Comments
 (0)