Skip to content

Update build script helper to use python3 #273

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

Conversation

ethan-kusters
Copy link
Contributor

Bug/issue #, if applicable: #272

Summary

Python 2 is no longer supported by the Swift project. This updates the build script helper to use python3.

Testing

Confirm that toolchains continue to build on all platforms with the change.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • Added tests
  • Ran the ./bin/test script and it succeeded
  • Updated documentation if necessary

Python2 is no longer supported by the Swift project.
`output_dir` is written to but never used.
@ethan-kusters ethan-kusters self-assigned this Jun 1, 2022
@ethan-kusters ethan-kusters linked an issue Jun 1, 2022 that may be closed by this pull request
@ethan-kusters
Copy link
Contributor Author

@swift-ci please test

@ethan-kusters
Copy link
Contributor Author

Running a test toolchain build with these changes here:

@shahmishal shahmishal merged commit 41f116f into swiftlang:main Jun 2, 2022
@ethan-kusters ethan-kusters deleted the 272-support-python3-build-script-helperpy branch June 2, 2022 03:02
shahmishal pushed a commit that referenced this pull request Aug 30, 2022
* Use `python3` in build-script-helper

Python2 is no longer supported by the Swift project.

* Remove unused variable from build script

`output_dir` is written to but never used.

(cherry picked from commit 41f116f)
ethan-kusters added a commit that referenced this pull request Aug 30, 2022
* Use `python3` in build-script-helper

Python2 is no longer supported by the Swift project.

* Remove unused variable from build script

`output_dir` is written to but never used.

(cherry picked from commit 41f116f)

Co-authored-by: Ethan Kusters <ekusters@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Python3 build-script-helper.py
2 participants