Skip to content

Commit fe7533e

Browse files
authored
Merge pull request #2007 from EliahKagan/cygwin-py39-venv
Work around Cygwin CI failure #2004, except for `test_installation`
2 parents 470318f + d597fc9 commit fe7533e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/cygwin-test.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
defaults:
1717
run:
18-
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr "{0}"
18+
shell: C:\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr "{0}"
1919

2020
steps:
2121
- name: Force LF line endings
@@ -27,10 +27,11 @@ jobs:
2727
with:
2828
fetch-depth: 0
2929

30-
- name: Set up Cygwin
31-
uses: egor-tensin/setup-cygwin@v4
30+
- name: Install Cygwin
31+
uses: cygwin/cygwin-install-action@v5
3232
with:
33-
packages: python39 python39-pip python39-virtualenv git
33+
packages: python39 python39-pip python39-virtualenv git wget
34+
add-to-path: false # No need to change $PATH outside the Cygwin environment.
3435

3536
- name: Arrange for verbose output
3637
run: |
@@ -57,9 +58,13 @@ jobs:
5758
5859
- name: Set up virtualenv
5960
run: |
60-
python -m venv .venv
61+
python3.9 -m venv --without-pip .venv
6162
echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"
6263
64+
- name: Bootstrap pip in virtualenv
65+
run: |
66+
wget -qO- https://bootstrap.pypa.io/get-pip.py | python
67+
6368
- name: Update PyPA packages
6469
run: |
6570
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy