swiftlang / swift-corelibs-xctest

The XCTest Project, A Swift core library for providing unit test support
swift.org
Apache License 2.0
1.15k stars 267 forks source link

[5.8] build_script.py: use `python3` by default #451

Closed MaxDesiatov closed 1 year ago

MaxDesiatov commented 1 year ago

We're seeing sporadic CI failures, since apparently some nodes don't have python symlinking to a correct Python version. Changing this to python3 will also make it consistent with the rest of the Python scripts in the Swift project.

Unblocks macOS CI for https://github.com/apple/swift-corelibs-foundation/pull/4761.

Risk: low, all other Python scripts in the swift and swift-package-manager repositories already include this change and use python3 in both main and release/5.9 branches. Original PRs: https://github.com/apple/swift-corelibs-xctest/pull/449 Reviewed by: @grynspan Resolves: unblocks PRs on the swift-corelibs-foundation repository that build XCTest as a part of their CI jobs. Tests: N/A

MaxDesiatov commented 1 year ago

@swift-ci test

MaxDesiatov commented 1 year ago

Closing as it's long past the 5.8 merge window.