From 9881c60e6cbd2baaddea53829737459c5e9ce85c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 10 Feb 2026 18:47:28 +0100 Subject: [PATCH 1/3] gh-138744: Upgrade Windows to 2025 in GitHub Actions Replace windows-2022 with windows-2025. --- .github/workflows/jit.yml | 4 ++-- .github/workflows/reusable-windows-msi.yml | 2 +- .github/workflows/reusable-windows.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index cd6e9875d282d2..5a564b63f9d120 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -74,10 +74,10 @@ jobs: include: - target: i686-pc-windows-msvc/msvc architecture: Win32 - runner: windows-2022 + runner: windows-2025 - target: x86_64-pc-windows-msvc/msvc architecture: x64 - runner: windows-2022 + runner: windows-2025 - target: aarch64-pc-windows-msvc/msvc architecture: ARM64 runner: windows-11-arm diff --git a/.github/workflows/reusable-windows-msi.yml b/.github/workflows/reusable-windows-msi.yml index c7611804369600..96fc338c47bf29 100644 --- a/.github/workflows/reusable-windows-msi.yml +++ b/.github/workflows/reusable-windows-msi.yml @@ -17,7 +17,7 @@ env: jobs: build: name: installer for ${{ inputs.arch }} - runs-on: ${{ inputs.arch == 'arm64' && 'windows-11-arm' || 'windows-2022' }} + runs-on: ${{ inputs.arch == 'arm64' && 'windows-11-arm' || 'windows-2025' }} timeout-minutes: 60 env: ARCH: ${{ inputs.arch }} diff --git a/.github/workflows/reusable-windows.yml b/.github/workflows/reusable-windows.yml index 82ea819867ef6d..2f6caf2f0044d4 100644 --- a/.github/workflows/reusable-windows.yml +++ b/.github/workflows/reusable-windows.yml @@ -21,7 +21,7 @@ env: jobs: build: name: Build and test (${{ inputs.arch }}) - runs-on: ${{ inputs.arch == 'arm64' && 'windows-11-arm' || 'windows-2022' }} + runs-on: ${{ inputs.arch == 'arm64' && 'windows-11-arm' || 'windows-2025' }} timeout-minutes: 60 env: ARCH: ${{ inputs.arch }} From ab302ace8ace919ff25f39882296c96f4a8d5113 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 10 Feb 2026 18:48:17 +0100 Subject: [PATCH 2/3] TEST: Random change to trigger Windows CI --- Lib/test/test_dtrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_dtrace.py b/Lib/test/test_dtrace.py index ba2fa99707cd46..58f0197f184a2d 100644 --- a/Lib/test/test_dtrace.py +++ b/Lib/test/test_dtrace.py @@ -103,7 +103,7 @@ class SystemTapBackend(TraceBackend): COMMAND = ["stap", "-g"] -@unittest.skipIf(MS_WINDOWS, "Tests not compliant with trace on Windows.") +@unittest.skipIf(MS_WINDOWS, "Tests not compliant with trace on Windows") class TraceTests: # unittest.TestCase options maxDiff = None From 4569009bb1295db8451b01712ea2c5d8fbb247aa Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 11 Feb 2026 15:50:55 +0100 Subject: [PATCH 3/3] Revert TEST change --- Lib/test/test_dtrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_dtrace.py b/Lib/test/test_dtrace.py index 58f0197f184a2d..ba2fa99707cd46 100644 --- a/Lib/test/test_dtrace.py +++ b/Lib/test/test_dtrace.py @@ -103,7 +103,7 @@ class SystemTapBackend(TraceBackend): COMMAND = ["stap", "-g"] -@unittest.skipIf(MS_WINDOWS, "Tests not compliant with trace on Windows") +@unittest.skipIf(MS_WINDOWS, "Tests not compliant with trace on Windows.") class TraceTests: # unittest.TestCase options maxDiff = None