From ef379288659fbcb9078325ea3fa40101478d28f0 Mon Sep 17 00:00:00 2001 From: pyranota <92104930+pyranota@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:27:34 +0000 Subject: [PATCH] Add rollback for multipython (#4610) --- backend/windmill-worker/src/python_executor.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/windmill-worker/src/python_executor.rs b/backend/windmill-worker/src/python_executor.rs index 2c8b3f2c84..5ee846e00b 100644 --- a/backend/windmill-worker/src/python_executor.rs +++ b/backend/windmill-worker/src/python_executor.rs @@ -1026,6 +1026,9 @@ pub async fn handle_python_reqs( let mut req_with_penv: Vec<(String, String)> = vec![]; for req in requirements { + if req.starts_with('#') { + continue; + } let venv_p = format!( "{PIP_CACHE_DIR}/{}", req.replace(' ', "").replace('/', "").replace(':', "")