Skip to content

Unicode experimentation #32925

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 2 commits into from

Conversation

compnerd
Copy link
Member

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@compnerd
Copy link
Member Author

@swift-ci please test Linux platform

@compnerd
Copy link
Member Author

CC: @drexin @tbkka @tachoknight

@tbkka
Copy link
Contributor

tbkka commented Jul 16, 2020

Ooooh... This is exciting!

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - e98545f16b588613ee0932e5fbc64b5116891109

@compnerd
Copy link
Member Author

Please test with following PRs:
swiftlang/llvm-project#1445

@swift-ci please test Linux platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - e98545f16b588613ee0932e5fbc64b5116891109

compnerd added 2 commits July 16, 2020 15:01
@tbkka made the observation that the CI builders may be failing as
Python will default to using the environment's setting to decode the
file (which we expect to be in UTF-8).  If the environment does not have
`LC_ALL` set, it will use the fallback locale of `C` which is going to
use ASCII.  This results in the decoding failure.  Convert the argument
from `FileType` to `str` and use `io.open` to allow us to open the file
with the correct encoding and line-ending irrespective of the Python
version.
This changes the python interpreter used to invoke the tests to Python3.
Python2 has been EOL'ed by the Python Software Foundation.  This
migration enables the Swift test suite to run with Python 3 instead.
@compnerd compnerd force-pushed the unicode-experimentation branch from e98545f to bf6134f Compare July 16, 2020 22:01
@compnerd
Copy link
Member Author

Please test with following PRs:
swiftlang/llvm-project#1445

@swift-ci please test Linux platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - bf6134f

@compnerd compnerd closed this Jul 18, 2020
@compnerd compnerd deleted the unicode-experimentation branch July 18, 2020 00:50
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.

3 participants