You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat cmake: speed up creating Python venv using uv (opt-in)
* Added `USERVER_PIP_USE_UV` option that allows to use `uv` instead of `venv + pip` for Python virtual environments. `uv` gives a measurable speedup to cmake Configure step when building services.
commit_hash:c8869a4355118ee7954de8433e429dd1fdf370cc
Copy file name to clipboardExpand all lines: scripts/docs/en/userver/build/options.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,7 @@ The exact format of setting cmake options varies depending on the method of buil
187
187
|`USERVER_FEATURE_ERASE_LOG_WITH_LEVEL`| Logs of this and below levels are removed from binary. Possible values: trace, info, debug, warning, error |`OFF`|
188
188
|`USERVER_PIP_USE_SYSTEM_PACKAGES`| Use system python packages inside venv. Useful for Docker, CI and other controlled environments |`OFF`|
189
189
|`USERVER_PIP_OPTIONS`| Options for all pip calls. Useful for passing `--no-index` option to prevent network usage | (no options) |
190
+
|`USERVER_PIP_USE_UV`| Use `uv` tool for creating Python virtual environments instead of the built-in `venv` and `pip`|`OFF`|
190
191
|`USERVER_INSTALL`| Build userver for further installation |`OFF`|
0 commit comments