Skip to content

Python linker errors when running cibuildwheel on the new Windows 11 ARM runners #2364

Open
@burgholzer

Description

@burgholzer

Description

Just yesterday, GitHub announced that the new Windows 11 ARM runners are now available as public preview.
We tried to switch one of our projects (which is using scikit-build-core together with pybind11) over at munich-quantum-toolkit/core#926, but noticed that our Python testing CI would fail on the new runners.
The corresponding run log can be found here: https://github.com/munich-quantum-toolkit/core/actions/runs/14478932552/job/40611370656?pr=926
Specifically, running cibuildwheel on the new runners would fail in the "Building wheel..." step while trying to link the compiled extension with >100 error messages of the sort

error LNK2001: unresolved external symbol __imp_Py...

I am not 100% sure if this is a cibuildwheel error in itself. This could also have something to do with scikit-build-core. But I saw that both cibuildwheel and scikit-build-core added CI tests under Windows 11 ARM today. So I am not sure.
Any help is appreciated.

Build log

https://github.com/munich-quantum-toolkit/core/actions/runs/14478932552/job/40611370656?pr=926

CI config

https://github.com/munich-quantum-toolkit/core/blob/windows-arm/.github/workflows/ci.yml, which uses the reusable workflow from ttps://github.com/munich-quantum-toolkit/workflows/blob/main/.github/workflows/reusable-python-packaging.yml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions