Skip to content

Commit 99c5546

Browse files
codexByron
authored andcommitted
ci: retain Python 3.9 for Cygwin coverage
The Cygwin workflow has only one interpreter entry, and Python 3.9 was intentionally retained as the most relevant packaged version when that job was established. Other workflows already cover newer Python releases. Restore the existing Cygwin and Python 3.9 combination now that the actual pip wheel regression is handled independently. The pinned pip 26.0.1 bootstrap supports Python 3.9. Validated with git diff --check, Ruby YAML parsing, and PyPI metadata showing that pip 26.0.1 requires Python 3.9 or newer.
1 parent 58349c6 commit 99c5546

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/cygwin-test.yml

Lines changed: 3 additions & 3 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: curl git python312
48+
packages: curl git python39
4949
add-to-path: false # No need to change $PATH outside the Cygwin environment.
5050

5151
- name: Arrange for verbose output
@@ -74,9 +74,9 @@ jobs:
7474
- name: Set up virtual environment
7575
run: |
7676
pip_wheel=/tmp/pip-26.0.1-py3-none-any.whl
77-
python3.12 -m venv --without-pip .venv
77+
python3.9 -m venv --without-pip .venv
7878
curl -fsSLo "$pip_wheel" https://files.pythonhosted.org/packages/de/f0/c81e05b613866b76d2d1066490adf1a3dbc4ee9d9c839961c3fc8a6997af/pip-26.0.1-py3-none-any.whl
79-
python3.12 -c 'import hashlib, pathlib, sys; assert hashlib.sha256(pathlib.Path(sys.argv[1]).read_bytes()).hexdigest() == sys.argv[2]' "$pip_wheel" bdb1b08f4274833d62c1aa29e20907365a2ceb950410df15fc9521bad440122b
79+
python3.9 -c 'import hashlib, pathlib, sys; assert hashlib.sha256(pathlib.Path(sys.argv[1]).read_bytes()).hexdigest() == sys.argv[2]' "$pip_wheel" bdb1b08f4274833d62c1aa29e20907365a2ceb950410df15fc9521bad440122b
8080
PYTHONPATH="$pip_wheel" .venv/bin/python -m pip install "$pip_wheel"
8181
echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"
8282

0 commit comments

Comments
 (0)