Skip to content

Build wheels for Apple Silicon #10114

Closed
Closed
@JukkaL

Description

@JukkaL

Currently we don't generate binary wheels for macs with Apple Silicon, and the only option is to use the slower, interpreted version of mypy when using an ARM CPython build. A compiled wheel could up to 4x faster than the interpreted one.

cibuildwheel (https://github.com/joerick/cibuildwheel), which we use to compile wheels, now supports cross-compiling arm64 wheels for Apple Silicon on Intel. We should generate arm64 wheels for macOS. We can support at least Python 3.9 and possibly 3.8 (https://bugs.python.org/msg382939). Just supporting 3.9 would be okay.

Building the wheels happens in a GitHub action here.

Would anybody to like to try this out? If you can generate the wheels, I can help test them, since I have a Mac with Apple Silicon.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions