Skip to content

gh-138744: Upgrade Windows to 2025 in GitHub Actions - #144682

Merged
vstinner merged 3 commits into
python:mainfrom
vstinner:windows_2025_main
Feb 12, 2026
Merged

vstinner merged 3 commits into
python:mainfrom
vstinner:windows_2025_main

Conversation

@vstinner

@vstinner vstinner commented Feb 10, 2026 •

Copy link
Copy Markdown
Member

Replace windows-2022 with windows-2025.

@vstinner

Copy link
Copy Markdown
Member Author

I modified a random file (Lib/test/test_dtrace.py) to trigger the Windows CIs. I will revert this TEST change once I will have the confirmation that the Windows CIs pass.

@vstinner

Copy link
Copy Markdown
Member Author

This change leaves .azure-pipelines/ci.yml unchanged, it still contains:

- job: Windows_CI_Tests
  ...
  pool:
    vmImage: windows-2022

I propose updating .azure-pipelines/ci.yml in a separated change.

@vstinner

Copy link
Copy Markdown
Member Author

See also #144679 : we might wait and upgrade directly to windows-2025-vs2026 image.

@vstinner

Copy link
Copy Markdown
Member Author

All Windows CI jobs passed successfully. Examples:

JIT / aarch64-pc-windows-msvc/msvc (Debug) (pull_request)
JIT / aarch64-pc-windows-msvc/msvc (Release) (pull_request)
JIT / i686-pc-windows-msvc/msvc (Debug) (pull_request)
JIT / i686-pc-windows-msvc/msvc (Release) (pull_request)
Tests / Windows (free-threading) / Build and test (arm64) (pull_request)
Tests / Windows (free-threading) / Build and test (x64) (pull_request)
Tests / Windows / Build and test (arm64) (pull_request)
Tests / Windows / Build and test (Win32) (pull_request)
Tests / Windows / Build and test (x64) (pull_request)
Tests / Windows MSI / installer for arm64 (pull_request)
Tests / Windows MSI / installer for x64 (pull_request)
Tests / Windows MSI / installer for x86 (pull_request)
@vstinner
vstinner marked this pull request as ready for review February 11, 2026 14:51
@vstinner

Copy link
Copy Markdown
Member Author

The PR is now ready for review.

I got the confirmation that Windows CI jobs pass successfully with this change, so I reverted the TEST change to trigger these jobs.

@vstinner

Copy link
Copy Markdown
Member Author

@chris-eibl @zooba: So are you ok with this change?

@chris-eibl

Copy link
Copy Markdown
Member

Yeah, we can upgrade to windows-2025-vs2026 in a further PR.

@zooba

zooba commented Feb 12, 2026

Copy link
Copy Markdown
Member

Yep :shipit:

@vstinner
vstinner merged commit eb6ebdb into python:main Feb 12, 2026
49 checks passed
@vstinner
vstinner deleted the windows_2025_main branch February 12, 2026 15:19
@vstinner

Copy link
Copy Markdown
Member Author

Merged, thanks for reviews!

thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026
brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request Feb 28, 2026
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants