Skip to content

Commit 621e5a2

Browse files
committed
Push Warning to logs if fallbacked to pip-compile
1 parent 5424a4b commit 621e5a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/windmill-worker/src/python_executor.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ pub async fn uv_pip_compile(
149149
let mut req_hash = format!("py-{}", calculate_hash(&requirements));
150150

151151
if no_uv || *USE_PIP_COMPILE {
152+
logs.push_str(&format!("\nFallback to pip-compile (Deprecated!)"));
152153
// Set no_uv if not setted
153154
no_uv = true;
154155
// Make sure that if we put #no_uv (switch to pip-compile) to python code or used `USE_PIP_COMPILE=true` variable.

0 commit comments

Comments
 (0)