From 32332e4728f46e9e37b1c775bbcc6c4ade282ed0 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Mon, 17 Feb 2025 14:27:17 +0000 Subject: [PATCH] Attempt to install missing dependencies --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f16d866f90..16eefcdc93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -182,6 +182,7 @@ jobs: packages: >- python${{ matrix.python }}, python${{ matrix.python }}-devel, + python${{ matrix.python }}-pip, python${{ matrix.python }}-tox, gcc-core, git, @@ -193,6 +194,11 @@ jobs: run: | python -c 'import platform; print("python-version=" + platform.python_version())' >> ${GITHUB_OUTPUT} shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0} + - name: Install missing dependencies + shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0} + run: | + # Workaround for https://github.com/pypa/setuptools/issues/4831 + python -m pip check | sed -rn 's/.*requires ([^,]+),.*/\1/p' | xargs python -m pip install - name: Run tests shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0} run: |