From 54f00561742295afa5cbec49a891216d09770457 Mon Sep 17 00:00:00 2001 From: gasoonjia Date: Thu, 22 Oct 2026 14:51:00 -0700 Subject: [PATCH 1/2] Pin Windows CUDA wheel bootstrap to Python 3.11 fix --- .github/workflows/build-wheels-cuda-windows.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-wheels-cuda-windows.yml b/.github/workflows/build-wheels-cuda-windows.yml index 0eb621fe22f..a683e26dc8b 100644 --- a/.github/workflows/build-wheels-cuda-windows.yml +++ b/.github/workflows/build-wheels-cuda-windows.yml @@ -94,7 +94,9 @@ jobs: repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - test-infra-ref: main + # Bootstrap the Windows base env with Python 3.11 so the conda solver's + # certifi dependency is satisfiable. https://github.com/pytorch/test-infra/pull/9177 + test-infra-ref: 8223f28ee8c5e3ec091ede9822176fb2a01ffd11 build-matrix: ${{ needs.filter-matrix.outputs.matrix }} pre-script: ${{ matrix.pre-script }} env-script: ${{ matrix.env-script }} From 7bf81220906ac109acb60b5b0f9dd563e3195e2b Mon Sep 17 00:00:00 2001 From: gasoonjia Date: Thu, 22 Oct 2026 15:43:07 -0700 Subject: [PATCH 2/2] Use merged conda bootstrap repair for Windows CUDA wheels --- .github/workflows/build-wheels-cuda-windows.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-wheels-cuda-windows.yml b/.github/workflows/build-wheels-cuda-windows.yml index a683e26dc8b..728740f649a 100644 --- a/.github/workflows/build-wheels-cuda-windows.yml +++ b/.github/workflows/build-wheels-cuda-windows.yml @@ -94,9 +94,9 @@ jobs: repository: ${{ matrix.repository }} ref: "" test-infra-repository: pytorch/test-infra - # Bootstrap the Windows base env with Python 3.11 so the conda solver's - # certifi dependency is satisfiable. https://github.com/pytorch/test-infra/pull/9177 - test-infra-ref: 8223f28ee8c5e3ec091ede9822176fb2a01ffd11 + # Avoid the unsatisfiable conda upgrade in the Windows runner's base env. + # https://github.com/pytorch/test-infra/pull/9179 + test-infra-ref: e3d344d886a7281f6a919115d332df2a080da8ad build-matrix: ${{ needs.filter-matrix.outputs.matrix }} pre-script: ${{ matrix.pre-script }} env-script: ${{ matrix.env-script }}