From 3192cdcbfa0a3aefe661bd4bee1669aa65ac9875 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sun, 18 Jun 2023 18:03:06 +0100 Subject: [PATCH] Copy pass on this text --- docs/faq.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 98961820..ec4e6b7d 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -23,12 +23,9 @@ Linux wheels are built in [`manylinux`/`musllinux` containers](https://github.co `cibuildwheel` supports cross-compiling `universal2` and `arm64` wheels on `x86_64` runners. !!! note - Currently it is not fully supported to cross-compile project that uses **Poetry** as a build backend. Related issue [here](https://github.com/python-poetry/poetry/issues/7107). - - Some packages can be built with arm64 wheels, but their tags will be incorrect, with the platform tag showing `x86_64` instead of `arm64`. - - As a workaround, the tag should be fixed before running delocate to repair the wheel. The [`wheel tags`](https://wheel.readthedocs.io/en/stable/reference/wheel_tags.html) command is ideal for this. See [this workflow](https://gist.github.com/anderssonjohan/49f07e33fc5cb2420515a8ac76dc0c95#file-build-pendulum-wheels-yml-L39-L53) for an example usage. + If your project uses **Poetry** as a build backend, cross-compiling on macOS [does not currently work](https://github.com/python-poetry/poetry/issues/7107). In some cases arm64 wheels can be built but their tags will be incorrect, with the platform tag showing `x86_64` instead of `arm64`. + As a workaround, the tag can be fixed before running delocate to repair the wheel. The [`wheel tags`](https://wheel.readthedocs.io/en/stable/reference/wheel_tags.html) command is ideal for this. See [this workflow](https://gist.github.com/anderssonjohan/49f07e33fc5cb2420515a8ac76dc0c95#file-build-pendulum-wheels-yml-L39-L53) for an example usage of `wheel tags`. With the introduction of Apple Silicon, you now have several choices for wheels for Python 3.8+: