From 138bc2fa7f95d9e551037ade249df610fbdda4e4 Mon Sep 17 00:00:00 2001 From: nstelter-slac Date: Wed, 18 Dec 2024 19:09:47 -0800 Subject: [PATCH] MNT: make gh actions install python dependencies using pip, so correct version is installed For gh actions setup we were passing pip package lists for conda to install, but this causes us to install old p4p package which only supports python <=3.10. So need newer p4p from pip to run with newer python. --- .github/workflows/run-tests.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d7121002d..cd2374086 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -43,11 +43,10 @@ jobs: - name: Install python packages shell: bash -el {0} run: | + python -m pip install --upgrade pip + python -m pip install pyqt${{ matrix.pyqt-version }} -r requirements.txt -r dev-requirements.txt if [ "$RUNNER_OS" == "Windows" ]; then - mamba install pyqt=${{ matrix.pyqt-version }} - mamba install --file requirements.txt --file windows-dev-requirements.txt - else - mamba install pyqt=${{ matrix.pyqt-version }} $(cat requirements.txt dev-requirements.txt) + python -m pip install -r windows-dev-requirements.txt fi - name: Install packages for testing a pyqt app on linux shell: bash -el {0}