Add reference to the new 'wheel tags' command

This commit is contained in:
Joe Rickerby
2023-06-18 17:49:57 +01:00
parent ed320412b0
commit 983347f370
+5 -5
View File
@@ -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. `cibuildwheel` supports cross-compiling `universal2` and `arm64` wheels on `x86_64` runners.
!!! note !!! note
Currently it is not fully supported to cross-compile project that uses Poetry as a build backend. 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).
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, Some packages can be built with arm64 wheels, but their tags will be incorrect, with the platform tag showing `x86_64` instead of `arm64`.
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. 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+: With the introduction of Apple Silicon, you now have several choices for wheels for Python 3.8+: