Skip to content

Commit 25e99b3

Browse files
pythongh-132132: Upgrade to VS 2026 on Windows tailcall CI (pythonGH-144544)
Upgrade to VS 2026 on Windows tailcall CI
1 parent fb196c6 commit 25e99b3

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/actionlint.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
self-hosted-runner:
2-
# Pending https://github.com/rhysd/actionlint/issues/533
3-
# and https://github.com/rhysd/actionlint/issues/571
4-
labels: ["windows-11-arm", "macos-15-intel"]
2+
# Pending https://github.com/rhysd/actionlint/pull/615
3+
labels: ["windows-2025-vs2026"]
54

65
config-variables: null
76

.github/workflows/tail-call.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# runner: windows-2022
5353
- target: x86_64-pc-windows-msvc/msvc
5454
architecture: x64
55-
runner: windows-2022
55+
runner: windows-2025-vs2026
5656
# - target: aarch64-pc-windows-msvc/msvc
5757
# architecture: ARM64
5858
# runner: windows-2022
@@ -83,8 +83,6 @@ jobs:
8383
if: runner.os == 'Windows' && matrix.architecture != 'ARM64'
8484
shell: pwsh
8585
run: |
86-
choco install visualstudio2026buildtools --no-progress -y --force --params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --locale en-US --passive"
87-
$env:PATH = "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\MSBuild\Current\bin;$env:PATH"
8886
$env:PlatformToolset = "v145"
8987
./PCbuild/build.bat --tail-call-interp -c Release -p ${{ matrix.architecture }}
9088
./PCbuild/rt.bat -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3

Lib/test/test_dtrace.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import unittest
99

1010
from test import support
11-
from test.support import findfile
11+
from test.support import findfile, MS_WINDOWS
1212

1313

1414
if not support.has_subprocess_support:
@@ -103,6 +103,7 @@ class SystemTapBackend(TraceBackend):
103103
COMMAND = ["stap", "-g"]
104104

105105

106+
@unittest.skipIf(MS_WINDOWS, "Tests not compliant with trace on Windows.")
106107
class TraceTests:
107108
# unittest.TestCase options
108109
maxDiff = None

0 commit comments

Comments
 (0)