Skip to content

[5.7] Use Python 3 #60452

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

Merged
merged 2 commits into from
Aug 16, 2022
Merged

[5.7] Use Python 3 #60452

merged 2 commits into from
Aug 16, 2022

Conversation

shahmishal
Copy link
Member

(cherry picked from commit cd1a98c)

(cherry picked from commit cd1a98c)
@shahmishal shahmishal requested a review from a team as a code owner August 9, 2022 00:11
@shahmishal
Copy link
Member Author

@swift-ci test

The `__future__` we relied on is now,  where the 3 specific things are
all included [since Python 3.0](https://docs.python.org/3/library/__future__.html):

* absolute_import
* print_function
* unicode_literals
* division

These import statements are no-ops and are no longer necessary.

(cherry picked from commit 3dfc408)
@shahmishal shahmishal changed the title Use Python 3 [5.7] Use Python 3 Aug 9, 2022
@shahmishal
Copy link
Member Author

@swift-ci test

@ahoppen
Copy link
Member

ahoppen commented Aug 9, 2022

swiftlang/swift-syntax#564

@swift-ci Please test

@tkremenek tkremenek merged commit 1f395bb into release/5.7 Aug 16, 2022
@tkremenek tkremenek deleted the 5_7-python3-build-script-impl branch August 16, 2022 20:18
@AnthonyLatsis AnthonyLatsis added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.7 labels Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.7
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants