CI: Update Cygwin pip, but not on 32-bit

* CI: Update Cygwin pip, but not on 32-bit

32-bit Cygwin pip>=22 fails to install coverage.

* CI: Let .ci/install.sh handle updating pip

* CI Combine pip update conditions

* CI: Don't try to upgrade pip on 32-bit Cygwin
This commit is contained in:
DWesl 2022-05-02 17:54:49 -04:00 committed by GitHub
parent 143e57b6cd
commit ce7489884f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,9 @@ if [[ $(uname) != CYGWIN* ]]; then
sudo apt-get -qq install libfreetype6-dev liblcms2-dev python3-tk\
ghostscript libffi-dev libjpeg-turbo-progs libopenjp2-7-dev\
cmake meson imagemagick libharfbuzz-dev libfribidi-dev
fi
if [[ $(uname -mo) != "i*86 Cygwin" ]]; then
python3 -m pip install --upgrade pip
fi

View File

@ -60,7 +60,6 @@ jobs:
- name: Install dependencies
run: |
dash.exe -c "python3.${{ matrix.python-minor-version }} -m pip install -U pip"
bash.exe .ci/install.sh
- name: Install a different NumPy