Skip to content

Commit 782e998

Browse files
committed
Use python39-pip-wheel Cygwin package on CI
Instead of downloading and running the boostrap script. Various Cygwin packages have been tried here for gitpython-developers#2004, but I don't recall having explicitly specified `python39-pip-wheel`. On the Cygwin mailing list, Daniel Abrahamsson reported a problem that seems to be the same as encountered here, and noted that installing `python39-pip-wheel` fixed it. So maybe that will help here. This commit also delists the `python39-virtualenv` pacakge, which it looks like we have not been using (anytime recently) because it actually provides the `virtualenv` module and command, while we are using `venv` from the Python standard library, including on Cygwin.
1 parent fe7533e commit 782e998

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Diff for: .github/workflows/cygwin-test.yml

+2-6
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-wheel
3434
add-to-path: false # No need to change $PATH outside the Cygwin environment.
3535

3636
- name: Arrange for verbose output
@@ -58,13 +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-
6864
- name: Update PyPA packages
6965
run: |
7066
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.

0 commit comments

Comments
 (0)