cibuildwheel icon indicating copy to clipboard operation
cibuildwheel copied to clipboard

Docs suggest invalid configuration combination

Open burgholzer opened this issue 1 year ago • 1 comments

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

burgholzer avatar Jun 17 '24 14:06 burgholzer

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

henryiii avatar Jun 17 '24 14:06 henryiii

Fixed in #1889.

joerick avatar Jul 02 '24 18:07 joerick