From 68dd45938768de8a1145902cedf4a6de1dc3e290 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 1 Aug 2025 15:44:52 -0600 Subject: [PATCH] ceph-build-pull-requests: Use uv To install Python dependencies for this job, use uv instead of pip. This is faster and quieter. Signed-off-by: Zack Cerza --- ceph-build-pull-requests/build/build | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ceph-build-pull-requests/build/build b/ceph-build-pull-requests/build/build index aab99880..be79aa0e 100644 --- a/ceph-build-pull-requests/build/build +++ b/ceph-build-pull-requests/build/build @@ -2,11 +2,13 @@ set -e -# the following two methods exist in scripts/build_utils.sh +"$WORKSPACE/scripts/setup_uv.sh" +PATH=$PATH:$HOME/.local/bin +uv venv + pkgs=( "ansible" "ansible-core" "git+https://opendev.org/jjb/jenkins-job-builder@60f0316389" "urllib3==1.26.1" "pyopenssl" "ndg-httpsclient" "pyasn1" "xmltodict" ) -TEMPVENV=$(create_venv_dir) -VENV=${TEMPVENV}/bin -install_python_packages $TEMPVENV "pkgs[@]" +VENV=./.venv/bin +uv pip install "${pkgs[@]}" rm -rf xml # Test every definition if available in the current repository and update the jobs -- 2.39.5