-
Notifications
You must be signed in to change notification settings - Fork 124
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
Update requirements in Package.swift
to match SwiftPM
#416
Conversation
@swift-ci please test |
@swift-ci test |
@swift-ci test windows |
1 similar comment
@swift-ci test windows |
We no longer support Swift 5.5 and older versions of macOS with SwiftPM, makes sense to bring TSC requirements in line with that.
fd3832a
to
d809bad
Compare
@swift-ci test |
Package.swift
Outdated
@@ -18,7 +18,7 @@ let macOSPlatform: SupportedPlatform | |||
if let deploymentTarget = ProcessInfo.processInfo.environment["SWIFTTSC_MACOS_DEPLOYMENT_TARGET"] { | |||
macOSPlatform = .macOS(deploymentTarget) | |||
} else { | |||
macOSPlatform = .macOS(.v10_13) | |||
macOSPlatform = .macOS("12.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use const?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean the existing enum case? I was only replicating what SwiftPM already has and thought that one uses strings for a reason. AFAIR @neonichu made those changes in SwiftPM and maybe could clarify the reasoning for raw string preference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I may have made the platform change before changing the tools-version, so the enum case wasn't available. Definitely no deeper reasoning behind it.
Package.swift
Outdated
@@ -27,6 +27,7 @@ let package = Package( | |||
name: "swift-tools-support-core", | |||
platforms: [ | |||
macOSPlatform, | |||
.iOS("15.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use const?
@swift-ci test |
@swift-ci test windows |
@swift-ci test macos |
@swift-ci test windows |
@swift-ci test macos |
The swift-stress-tester package has 10.15 requirement, which we can match without making more changes in that package.
@swift-ci test |
@swift-ci test windows |
This reverts commit be6f396.
We no longer support Swift 5.5 and older versions of macOS with SwiftPM, makes sense to bring TSC requirements in line with that.