feat: support uv with Android (#2587)

This commit is contained in:
Henry Schreiner
2025-11-10 19:43:52 -05:00
committed by GitHub
parent 1337e50f74
commit ccbae30b53
4 changed files with 78 additions and 35 deletions
+5 -6
View File
@@ -470,18 +470,17 @@ Default: `build`
Choose which build frontend to use.
You can use "build\[uv\]", which will use an external [UV][] everywhere
You can use "build\[uv\]", which will use an external [uv][] everywhere
possible, both through `--installer=uv` passed to build, as well as when making
all build and test environments. This will generally speed up cibuildwheel.
Make sure you have an external UV on Windows and macOS, either by
Make sure you have an external uv on Windows and macOS, either by
pre-installing it, or installing cibuildwheel with the `uv` extra, which is
possible by manually passing `cibuildwheel[uv]` to installers or by using the
`extras` option in the [cibuildwheel action](ci-services.md#github-actions).
UV currently does not support Android, iOS nor musllinux on s390x. Legacy
dependencies like setuptools on Python < 3.12 and pip are not installed if
using UV.
uv currently does not support iOS or musllinux on s390x. Legacy dependencies
like setuptools on Python < 3.12 and pip are not installed if using uv.
On Android and Pyodide, only "build" is supported.
On Android and Pyodide, the "pip" frontend is not supported.
You can specify extra arguments to pass to the build frontend using the
optional `args` option.