From 983347f370b43d5a55db6332a155ef85e9adad44 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sun, 18 Jun 2023 17:49:57 +0100 Subject: [PATCH] Add reference to the new 'wheel tags' command --- docs/faq.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 108ac97a..98961820 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -23,11 +23,11 @@ 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. + 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. With the introduction of Apple Silicon, you now have several choices for wheels for Python 3.8+: