Skip to content

Conversation

shahmishal
Copy link
Member

Explanation: Support Ubuntu 22.04 for Swift 5.7
Resolves: Ubuntu 22.04 requires Python 3, and we are missing few changes from main branch.
Risk: Low
Testing: Verify with CI testing
GitHub Issue: #60465

dkparmar562 and others added 3 commits August 9, 2022 20:11
(cherry picked from commit cd1a98c)
(cherry picked from commit 609c50a)
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)
(cherry picked from commit 66bf05b)
The latter is no longer present in Python 3.10+.

Addresses #58714

(cherry picked from commit ed69624)
(cherry picked from commit a871329)
@shahmishal shahmishal requested a review from a team as a code owner August 10, 2022 03:14
@shahmishal
Copy link
Member Author

@swift-ci test

@shahmishal
Copy link
Member Author

swiftlang/swift-syntax#564
@swift-ci test macOS

@tkremenek tkremenek merged commit 43c99cf into release/5.7.0 Aug 16, 2022
@tkremenek tkremenek deleted the shahmishal/python3-5.7.0 branch August 16, 2022 20:17
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.

5 participants