Skip to content

Commit bd583a2

Browse files
henryiiimayeut
andauthored
Apply suggestions from code review
Co-authored-by: Matthieu Darbois <[email protected]>
1 parent 61a1ebe commit bd583a2

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

cibuildwheel/frontend.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ def _get_verbosity_flags(level: int, frontend: BuildFrontendName) -> list[str]:
4545
elif level > 1:
4646
return ["-v"]
4747
elif level < 0:
48-
if frontend not in {"build", "build[uv]"}:
49-
return ["-q"]
5048
msg = f"build_verbosity {level} is not supported for {frontend} frontend. Ignoring."
5149
log.warning(msg)
5250
return []

docs/options.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,13 +1762,13 @@ export CIBW_DEBUG_TRACEBACK=TRUE
17621762
### `CIBW_BUILD_VERBOSITY` {: #build-verbosity}
17631763
> Increase/decrease the output of the build
17641764
1765-
The setting vary a bit between build backends.
1765+
The setting vary a bit between build frontends.
17661766

1767-
* `-1`: Hide as much build output as possible; passes `-q` to the build backend. Not supported by `build`/`build[uv]`.
1768-
* `0`: The default. On pip, this hides the build output if the build succeeds, other build backends produce output from the build backend.
1769-
* `1`: Produces build backend output. On `pip`, this passes `-v`. Other backends do this by default.
1770-
* `2`: Produces extra output from resolving packages too. On `pip`, this passes `-vv`, other build backends use `-v`.
1771-
* `3`: Even more resolving output from pip with `-vvv`, other build backends continue to just pass `-v`.
1767+
* `-1`: Hide as much build output as possible; passes `-q` to the build frontend. Not supported by `build`/`build[uv]`.
1768+
* `0`: The default. On pip, this hides the build output if the build succeeds, other build frontends produce output from the build backend.
1769+
* `1`: Produces build backend output. On `pip`, this passes `-v`. Other frontends do this by default.
1770+
* `2`: Produces extra output from resolving packages too. On `pip`, this passes `-vv`, other build frontends use `-v`.
1771+
* `3`: Even more resolving output from pip with `-vvv`, other build frontends continue to just pass `-v`.
17721772

17731773

17741774
Platform-specific environment variables are also available:<br/>

0 commit comments

Comments
 (0)