Skip to content

[5.9] build_script.py: use python3 by default #450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Jun 14, 2023

We're seeing sporadic CI failures, since apparently some CI 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.

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: #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

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.
@MaxDesiatov MaxDesiatov requested a review from grynspan June 14, 2023 14:33
@MaxDesiatov MaxDesiatov self-assigned this Jun 14, 2023
@MaxDesiatov MaxDesiatov changed the title build_script.py: use python3 by default [5.9] build_script.py: use python3 by default Jun 14, 2023
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov requested a review from stmontgomery June 14, 2023 14:50
@MaxDesiatov MaxDesiatov requested a review from briancroom June 14, 2023 18:15
@stmontgomery
Copy link
Contributor

@MaxDesiatov My understanding was that this was resolved upstream in the main Swift repository by this PR:
swiftlang/swift#65958

Did that fix not work, or do we need to land that PR in the Swift repo on the 5.8 and 5.9 branches?

@compnerd
Copy link
Member

compnerd commented Jul 7, 2023

@swift-ci please test macOS platform

@briancroom
Copy link
Contributor

I don't think this is necessary/appropriate for 5.9 at this point. Please let me know if that's not the case!

@briancroom briancroom closed this Sep 1, 2023
@MaxDesiatov MaxDesiatov deleted the maxd/env-python3-5.9 branch September 1, 2023 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants