Skip to content
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

Merged
merged 3 commits into from
May 20, 2023

Conversation

MaxDesiatov
Copy link
Contributor

We no longer support Swift 5.5 and older versions of macOS with SwiftPM, makes sense to bring TSC requirements in line with that.

@neonichu
Copy link
Contributor

@swift-ci please test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

1 similar comment
@MaxDesiatov
Copy link
Contributor Author

@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.
@MaxDesiatov MaxDesiatov force-pushed the maxd/update-package-swift branch from fd3832a to d809bad Compare April 26, 2023 20:56
@MaxDesiatov
Copy link
Contributor Author

@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")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use const?

Copy link
Contributor Author

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?

Copy link
Contributor

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")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use const?

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test macos

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) May 19, 2023 22:21
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test macos

The swift-stress-tester package has 10.15 requirement, which we can match without making more changes in that package.
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov merged commit be6f396 into main May 20, 2023
@MaxDesiatov MaxDesiatov deleted the maxd/update-package-swift branch May 20, 2023 21:53
MaxDesiatov added a commit that referenced this pull request Aug 22, 2024
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