From 679da87ca261aa3d1f155b238df088f4ed05fb90 Mon Sep 17 00:00:00 2001 From: David Perl Date: Tue, 19 May 2026 16:00:36 +0200 Subject: [PATCH] use selected python to pip install --- .gitea/workflows/create_update_pr.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/create_update_pr.yml b/.gitea/workflows/create_update_pr.yml index 9cecb9b..96637af 100644 --- a/.gitea/workflows/create_update_pr.yml +++ b/.gitea/workflows/create_update_pr.yml @@ -20,7 +20,10 @@ jobs: - name: Install tools run: | - pip install copier PySide6 bec_lib + echo $(which python) + echo $(python -m pip list) + python -m pip install copier PySide6 bec_lib + echo $(which copier) python -c "import bec_lib; print(bec_lib.__file__)" - name: Checkout uses: actions/checkout@v4 @@ -33,9 +36,9 @@ jobs: branch="chore/update-template-$(python -m uuid)" echo "switching to branch $branch" git checkout -b $branch - python -c "import bec_lib; print(bec_lib.__file__)" + echo "Running copier update..." - copier update --trust --defaults --conflict inline 2>&1 | tee copier.log + python -m copier update --trust --defaults --conflict inline 2>&1 | tee copier.log status=${PIPESTATUS[0]} output="$(cat copier.log)" echo $output