Skip to content

Commit f1d18d9

Browse files
committed
Try to use Cygwin packages for pip and related
1 parent d597fc9 commit f1d18d9

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/cygwin-test.yml

+2-11
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Cygwin
3131
uses: cygwin/cygwin-install-action@v5
3232
with:
33-
packages: python39 python39-pip python39-virtualenv git wget
33+
packages: python39 python39-pip python39-setuptools python39-wheel python39-virtualenv git
3434
add-to-path: false # No need to change $PATH outside the Cygwin environment.
3535

3636
- name: Arrange for verbose output
@@ -58,18 +58,9 @@ jobs:
5858
5959
- name: Set up virtualenv
6060
run: |
61-
python3.9 -m venv --without-pip .venv
61+
python3.9 -m venv .venv
6262
echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"
6363
64-
- name: Bootstrap pip in virtualenv
65-
run: |
66-
wget -qO- https://bootstrap.pypa.io/get-pip.py | python
67-
68-
- name: Update PyPA packages
69-
run: |
70-
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
71-
python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel
72-
7364
- name: Install project and test dependencies
7465
run: |
7566
pip install ".[test]"

0 commit comments

Comments
 (0)