Skip to content

Commit 0e852e6

Browse files
committed
CI: resolve latest Python patch in matrix setup-python steps
The matrix jobs in test-wheel-linux, test-wheel-windows and build-wheel run setup-python with matrix.PY_VER across 3.11 through 3.15t, each with a different first-fixed patch, so a single tilde-range floor cannot cover them. Set check-latest: true so setup-python resolves the newest patch from the manifest instead of a stale tool-cache entry; every series in the matrix has a fixed release, so the newest patch always carries the eMudhra ssl fix (CVE-2026-115557).
1 parent 0734199 commit 0e852e6

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/build-wheel.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,10 @@ jobs:
445445
with:
446446
python-version: ${{ matrix.python-version }}
447447
allow-prereleases: ${{ startsWith(matrix.python-version, '3.16') }}
448+
# Resolve the newest patch from the manifest rather than a stale tool
449+
# cache; every matrix series' newest patch carries the eMudhra ssl fix
450+
# (CVE-2026-115557), which a single floor spec cannot express here.
451+
check-latest: true
448452

449453
- name: Harden pip
450454
if: ${{ env.TEST_BINDINGS == 'true' || env.TEST_CORE == 'true' }}

‎.github/workflows/test-wheel-linux.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,10 @@ jobs:
338338
with:
339339
python-version: ${{ matrix.PY_VER }}
340340
allow-prereleases: ${{ startsWith(matrix.PY_VER, '3.16') }}
341+
# Resolve the newest patch from the manifest rather than a stale tool
342+
# cache; every matrix series' newest patch carries the eMudhra ssl fix
343+
# (CVE-2026-115557), which a single floor spec cannot express here.
344+
check-latest: true
341345
env:
342346
# we use self-hosted runners on which setup-python behaves weirdly (Python include can't be found)...
343347
AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache"

‎.github/workflows/test-wheel-windows.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,10 @@ jobs:
320320
with:
321321
python-version: ${{ matrix.PY_VER }}
322322
allow-prereleases: ${{ startsWith(matrix.PY_VER, '3.16') }}
323+
# Resolve the newest patch from the manifest rather than a stale tool
324+
# cache; every matrix series' newest patch carries the eMudhra ssl fix
325+
# (CVE-2026-115557), which a single floor spec cannot express here.
326+
check-latest: true
323327

324328
- name: Harden pip
325329
# $/ resolves at the workflow's commit. ./ would resolve against the

0 commit comments

Comments
 (0)