GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bootstrap `pip` in Cygwin Python 3.12 venv in a separate step · gitpython-developers/GitPython@3dc5366

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • cygwin-test.yml
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
+9-4Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
include:
1313
- python-version: "3.9"
1414
python-cygwin: python39
15-
python-command: python3.9
15+
venv-args: ''
1616
- python-version: "3.12"
1717
python-cygwin: python312
18-
python-command: python3.12
18+
venv-args: --without-pip
1919

2020
fail-fast: false
2121

@@ -40,7 +40,7 @@ jobs:
4040
- name: Set up Cygwin
4141
uses: egor-tensin/setup-cygwin@v4
4242
with:
43-
packages: ${{ matrix.python-cygwin }} ${{ matrix.python-cygwin }}-pip ${{ matrix.python-cygwin }}-virtualenv git
43+
packages: ${{ matrix.python-cygwin }} ${{ matrix.python-cygwin }}-pip ${{ matrix.python-cygwin }}-virtualenv git wget
4444

4545
- name: Arrange for verbose output
4646
run: |
@@ -67,9 +67,14 @@ jobs:
6767
6868
- name: Set up virtualenv
6969
run: |
70-
${{ matrix.python-command }} -m venv .venv
70+
python${{ matrix.python-version }} -m venv ${{ matrix.venv-args }} .venv
7171
echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"
7272
73+
- name: Bootstrap pip in virtualenv
74+
if: contains(matrix.venv-args, '--without-pip')
75+
run: |
76+
wget -qO- https://bootstrap.pypa.io/get-pip.py | python
77+
7378
- name: Update PyPA packages
7479
run: |
7580
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.