@@ -1762,14 +1762,25 @@ export CIBW_DEBUG_TRACEBACK=TRUE
1762
1762
### ` CIBW_BUILD_VERBOSITY ` {: #build-verbosity}
1763
1763
> Increase/decrease the output of the build
1764
1764
1765
- The setting vary a bit between build frontends.
1766
-
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 ` .
1772
-
1765
+ This setting controls ` -v ` /` -q ` flags to the build frontend. Since there is
1766
+ no communication between the build backend and the build frontend, build
1767
+ messages from the build backend will always be shown with ` 1 ` ; higher levels
1768
+ will not produce more logging about the build itself. Other levels only affect
1769
+ the build frontend output, which is usually things like resolving and
1770
+ downloading dependencies. The settings are:
1771
+
1772
+ | | build | pip | desc |
1773
+ | -------------| -------| --------| ----------------------------------|
1774
+ | -2 | N/A | ` -qq ` | even more quiet, where supported |
1775
+ | -1 | N/A | ` -q ` | quiet mode, where supported |
1776
+ | 0 (default) | | | default for build tool |
1777
+ | 1 | | ` -v ` | print backend output |
1778
+ | 2 | ` -v ` | ` -vv ` | print log messages e.g. resolving info |
1779
+ | 3 | ` -vv ` | ` -vvv ` | print even more debug info |
1780
+
1781
+ Settings that are not supported for a specific frontend will log a warning.
1782
+ The default build frontend is ` build ` , which does show build backend output by
1783
+ default.
1773
1784
1774
1785
Platform-specific environment variables are also available:<br />
1775
1786
` CIBW_BUILD_VERBOSITY_MACOS ` | ` CIBW_BUILD_VERBOSITY_WINDOWS ` | ` CIBW_BUILD_VERBOSITY_LINUX ` | ` CIBW_BUILD_VERBOSITY_IOS ` | ` CIBW_BUILD_VERBOSITY_PYODIDE `
@@ -1779,15 +1790,15 @@ Platform-specific environment variables are also available:<br/>
1779
1790
!!! tab examples "Environment variables"
1780
1791
1781
1792
```yaml
1782
- # Increase pip debugging output
1793
+ # Ensure that the build backend output is present
1783
1794
CIBW_BUILD_VERBOSITY: 1
1784
1795
```
1785
1796
1786
1797
!!! tab examples "pyproject.toml"
1787
1798
1788
1799
```toml
1789
1800
[tool.cibuildwheel]
1790
- # Increase pip debugging output
1801
+ # Ensure that the build backend output is present
1791
1802
build-verbosity = 1
1792
1803
```
1793
1804
0 commit comments