pypa / cibuildwheel

🎡 Build Python wheels for all the platforms with minimal configuration.
https://cibuildwheel.pypa.io
Other
1.78k stars 227 forks source link

Docs suggest invalid configuration combination #1887

Open burgholzer opened 2 weeks ago

burgholzer commented 2 weeks ago

Description

The docs currently suggest that the new build[uv] feature can be used with extra arguments, such as

build-frontend = { name = "build[uv]", args = ["--no-isolation"] }

However, the above code will trigger an error

python -m build: error: argument --installer: not allowed with argument --no-isolation/-n

I just wanted to raise this here because the docs suggest this as a valid configuration. However, if you feel that it would make more sense to open an issue over at the https://github.com/pypa/build repo, given that it should actually be valid to request turning off build isolation when using build with the uv installer, please say so.

Build log

No response

CI config

No response

henryiii commented 2 weeks ago

Ohh, interesting, hadn’t thought about that. We probably should special case this.