diff --git a/.github/workflows/packaging_wheels.yml b/.github/workflows/packaging_wheels.yml index a2e4f857..25d74051 100644 --- a/.github/workflows/packaging_wheels.yml +++ b/.github/workflows/packaging_wheels.yml @@ -33,6 +33,7 @@ jobs: python: [ cp39, cp310, cp311, cp312, cp313, cp314 ] platform: - { os: windows-2025, arch: amd64, cibw_system: win } + - { os: windows-11-arm, arch: arm64, cibw_system: win } - { os: ubuntu-24.04, arch: x86_64, cibw_system: manylinux } - { os: ubuntu-24.04-arm, arch: aarch64, cibw_system: manylinux } - { os: macos-15, arch: arm64, cibw_system: macosx } @@ -100,7 +101,7 @@ jobs: - name: Build${{ inputs.testsuite != 'none' && ' and test ' || ' ' }}wheels uses: pypa/cibuildwheel@v3.2 env: - CIBW_ARCHS: ${{ matrix.platform.arch == 'amd64' && 'AMD64' || matrix.platform.arch }} + CIBW_ARCHS: ${{ matrix.platform.arch == 'amd64' && 'AMD64' || matrix.platform.arch == 'arm64' && matrix.platform.cibw_system == 'win' && 'ARM64' || matrix.platform.arch }} CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform.cibw_system }}_${{ matrix.platform.arch }} - name: Upload wheel diff --git a/pyproject.toml b/pyproject.toml index 7df13b61..f8604bba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -197,6 +197,7 @@ environments = [ # no need to resolve packages beyond these platforms with uv... "python_version >= '3.9' and sys_platform == 'darwin' and platform_machine == 'arm64'", "python_version >= '3.9' and sys_platform == 'darwin' and platform_machine == 'x86_64'", "python_version >= '3.9' and sys_platform == 'win32' and platform_machine == 'AMD64'", + "python_version >= '3.9' and sys_platform == 'win32' and platform_machine == 'ARM64'", "python_version >= '3.9' and sys_platform == 'linux' and platform_machine == 'x86_64'", "python_version >= '3.9' and sys_platform == 'linux' and platform_machine == 'aarch64'", ] @@ -204,6 +205,7 @@ required-environments = [ # ... but do always resolve for all of them "python_version >= '3.9' and sys_platform == 'darwin' and platform_machine == 'arm64'", "python_version >= '3.9' and sys_platform == 'darwin' and platform_machine == 'x86_64'", "python_version >= '3.9' and sys_platform == 'win32' and platform_machine == 'AMD64'", + "python_version >= '3.9' and sys_platform == 'win32' and platform_machine == 'ARM64'", "python_version >= '3.9' and sys_platform == 'linux' and platform_machine == 'x86_64'", "python_version >= '3.9' and sys_platform == 'linux' and platform_machine == 'aarch64'", ] @@ -252,7 +254,7 @@ test = [ # dependencies used for running tests "torch>=2.2.2; python_version < '3.14' and ( sys_platform != 'darwin' or platform_machine != 'x86_64' or python_version < '3.13' )", "tensorflow==2.14.0; sys_platform == 'darwin' and python_version < '3.12'", "tensorflow-cpu>=2.14.0; sys_platform == 'linux' and platform_machine != 'aarch64' and python_version < '3.12'", - "tensorflow-cpu>=2.14.0; sys_platform == 'win32' and python_version < '3.12'", + "tensorflow-cpu>=2.14.0; sys_platform == 'win32' and platform_machine != 'ARM64' and python_version < '3.12'", "tensorflow-cpu-aws==2.15.1; sys_platform == 'linux' and platform_machine == 'aarch64' and python_version < '3.12'", "numpy<2; python_version < '3.12'", "numpy>=2; python_version >= '3.12'",