at master 31 lines 1.2 kB view raw
1diff --git a/windmill-worker/src/python_executor.rs b/windmill-worker/src/python_executor.rs 2index eb6a6e7f30..eb29758c0a 100644 3--- a/windmill-worker/src/python_executor.rs 4+++ b/windmill-worker/src/python_executor.rs 5@@ -273,7 +273,7 @@ pub async fn uv_pip_compile( 6 UV_CACHE_DIR, 7 ]; 8 9- args.extend(["-p", &py_version_str, "--python-preference", "only-managed"]); 10+ args.extend(["-p", &py_version_str, "--python-preference", "only-system"]); 11 12 if no_cache { 13 args.extend(["--no-cache"]); 14@@ -1332,7 +1332,7 @@ async fn spawn_uv_install( 15 let _owner; 16 if let Some(py_path) = py_path.as_ref() { 17 _owner = format!( 18- "-p {} --python-preference only-managed", 19+ "-p {} --python-preference only-system", 20 py_path.as_str() // 21 ); 22 vars.push(("PY_PATH", &_owner)); 23@@ -1399,7 +1399,7 @@ async fn spawn_uv_install( 24 "-p", 25 py_path.as_str(), 26 "--python-preference", 27- "only-managed", // 28+ "only-system", // 29 ]); 30 } else { 31 command_args.extend([