Skip to content

Commit 8319147

Browse files
committed
Try not installing Cygwin python39-pip package
1 parent a66b0d8 commit 8319147

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/cygwin-test.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Cygwin
3131
uses: cygwin/cygwin-install-action@v4
3232
with:
33-
packages: python39 python39-pip python39-virtualenv git
33+
packages: python39 python39-virtualenv git
3434
add-to-path: false # No need to change $PATH outside the Cygwin environment.
3535

3636
- name: Arrange for verbose output
@@ -55,19 +55,14 @@ jobs:
5555
# and cause subsequent tests to fail
5656
cat test/fixtures/.gitconfig >> ~/.gitconfig
5757
58-
- name: Ensure the "pip" command is available
59-
run: |
60-
# This is used unless, and before, an updated pip is installed.
61-
ln -s pip3 /usr/bin/pip
62-
6358
- name: Update PyPA packages
6459
run: |
65-
# Get the latest pip and wheel.
66-
python -m pip -vvv install -U pip wheel
60+
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
61+
python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel
6762
6863
- name: Install project and test dependencies
6964
run: |
70-
pip -vvv install ".[test]"
65+
python -m pip install ".[test]"
7166
7267
- name: Show version and platform information
7368
run: |

0 commit comments

Comments
 (0)