Skip to content

Commit 4286fb2

Browse files
codexByron
authored andcommitted
ci: move Cygwin tests to Python 3.12
The Cygwin test jobs fail during python3.9 -m venv because the generic python-pip-wheel package advanced from 26.0.1 to 26.2.1, which requires Python 3.10 or newer. Both fast and performance jobs fail in ensurepip before reaching the test suite. Use the maintained Cygwin python312 package and executable instead. This preserves Cygwin platform coverage while the regular matrix continues covering Python 3.9. Validation: the workflow parses as YAML, and the current Cygwin python312 package contains python3.12.exe and ensurepip.
1 parent 180b1ff commit 4286fb2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cygwin-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Install Cygwin
4646
uses: cygwin/cygwin-install-action@v6
4747
with:
48-
packages: git python39 python-pip-wheel python-setuptools-wheel python-wheel-wheel
48+
packages: git python312 python-pip-wheel python-setuptools-wheel python-wheel-wheel
4949
add-to-path: false # No need to change $PATH outside the Cygwin environment.
5050

5151
- name: Arrange for verbose output
@@ -73,7 +73,7 @@ jobs:
7373
7474
- name: Set up virtual environment
7575
run: |
76-
python3.9 -m venv .venv
76+
python3.12 -m venv .venv
7777
echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"
7878
7979
- name: Update PyPA packages

0 commit comments

Comments
 (0)