Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe7533e

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

1 file changed

+10-5Lines changed: 10 additions & 5 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/cygwin-test.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/cygwin-test.yml
+10-5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.