-
Notifications
You must be signed in to change notification settings - Fork 263
Guard parse_version #498
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
Guard parse_version #498
Conversation
The most recent versions of `parse_version` throw an exception if the version is empty. The version passed in is only set on Darwin (call to `mac_ver()`, so it's causing test failures on newer versions of Linux since the test suite can't even start. Now, the only reason for the version parse is because the tests are looking at whether or not concurrency is available on the OS. This is only a limitation if we're working with Darwin. Swift 5.10 on Windows and Linux always have a Swift 5.10 concurrency runtime, so we don't even need to check for a version. rdar://128502662 (cherry picked from commit 65e6ecd)
@swift-ci please test |
@swift-ci please test |
@swift-ci please test Linux |
swiftlang/swift-foundation#885 |
@swift-ci test |
@etcwilde Do you still want to merge this change? |
Yeah, we'll need it eventually when working with newer python versions. I'm starting to think maybe my change did break something, but I haven't had a chance to figure out why. |
@swift-ci test |
@swift-ci please test |
@swift-ci please test |
@swift-ci please test Windows platform |
main cherry-pick of #489.
The most recent versions of
parse_version
throw an exception if the version is empty. The version passed in is only set on Darwin (call tomac_ver()
, so it's causing test failures on newer versions of Linux since the test suite can't even start.Now, the only reason for the version parse is because the tests are looking at whether or not concurrency is available on the OS. This is only a limitation if we're working with Darwin. Swift 5.10 on Windows and Linux always have a Swift 5.10 concurrency runtime, so we don't even need to check for a version.
rdar://128502662
(cherry picked from commit 65e6ecd)