Skip to content

Commit 32332e4

Browse files
committed
Attempt to install missing dependencies
1 parent 94a84c2 commit 32332e4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ jobs:
182182
packages: >-
183183
python${{ matrix.python }},
184184
python${{ matrix.python }}-devel,
185+
python${{ matrix.python }}-pip,
185186
python${{ matrix.python }}-tox,
186187
gcc-core,
187188
git,
@@ -193,6 +194,11 @@ jobs:
193194
run: |
194195
python -c 'import platform; print("python-version=" + platform.python_version())' >> ${GITHUB_OUTPUT}
195196
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
197+
- name: Install missing dependencies
198+
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
199+
run: |
200+
# Workaround for https://github.com/pypa/setuptools/issues/4831
201+
python -m pip check | sed -rn 's/.*requires ([^,]+),.*/\1/p' | xargs python -m pip install
196202
- name: Run tests
197203
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
198204
run: |

0 commit comments

Comments
 (0)