FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support Python 3.12 on Cygwin by EliahKagan · Pull Request #1988 · gitpython-developers/GitPython · GitHub

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .yml  (1) All 1 file type selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
19 changes: 17 additions & 2 deletions .github/workflows/cygwin-test.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ jobs:
runs-on: windows-latest

strategy:
matrix:
python-version: ["3.9", "3.12"]
include:
- python-version: "3.9"
python-cygwin: python39
venv-args: ''
- python-version: "3.12"
python-cygwin: python312
venv-args: --without-pip

fail-fast: false

env:
Expand All @@ -30,7 +40,7 @@ jobs:
- name: Set up Cygwin
uses: egor-tensin/setup-cygwin@v4
with:
packages: python39 python39-pip python39-virtualenv git
packages: ${{ matrix.python-cygwin }} ${{ matrix.python-cygwin }}-pip ${{ matrix.python-cygwin }}-virtualenv git wget

- name: Arrange for verbose output
run: |
Expand All @@ -57,9 +67,14 @@ jobs:

- name: Set up virtualenv
run: |
python -m venv .venv
python${{ matrix.python-version }} -m venv ${{ matrix.venv-args }} .venv
echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"

- name: Bootstrap pip in virtualenv
if: contains(matrix.venv-args, '--without-pip')
run: |
wget -qO- https://bootstrap.pypa.io/get-pip.py | python

- name: Update PyPA packages
run: |
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
Expand Down

Back | FazBrowse Home | New Git URL