Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/packaging_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down Expand Up @@ -100,7 +101,7 @@ jobs:
- name: Build${{ inputs.testsuite != 'none' && ' and test ' || ' ' }}wheels
uses: pypa/[email protected]
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
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,15 @@ 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'",
]
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'",
]
Expand Down Expand Up @@ -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'",
Expand Down