From: Zack Cerza Date: Fri, 1 Aug 2025 21:44:52 +0000 (-0600) Subject: ceph-build-pull-requests: Use uv X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=68dd45938768de8a1145902cedf4a6de1dc3e290;p=ceph-build.git 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 --- 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