-
Notifications
You must be signed in to change notification settings - Fork 33
remove support for versions of Swift <= 5.6 #49
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
Conversation
@adam-fowler can you review ? |
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.
@sebsto Is there any difference between any of the Package.swift files?
Perhaps we can collapse this down to one Package.swift.
Also might be worthwhile dropping 5.7 to be consistent with all the other swift server packages which only support the last three releases of swift
@adam-fowler It's just the first line that sets the minimum required version for the toolchain. Aren't these necessary if someone tries to compile with a specific toolchain ? What would be the alternative ?
What is the best practice to follow ? |
If there are no other differences a single Package.swift with But as I said it may be worthwhile setting the minimum to 5.8. This would allows us to setting strict concurrency flags as well. |
@adam-fowler what about now ? I'll create another PR to add
Because it requires additional changes in the code |
We'll need to remove the 5.7 CI. @yim-lee can you help here please |
@adam-fowler should I wait for the CI to be updated to merge ? |
Any idea what is happening with the examples CI? |
What are the examples CI ? |
I don't know but at the moment it is failing. It's called |
The example's Package.swift is quite outdated as well. Not sure if this is what causes the |
@swift-server-bot test this please |
@yim-lee Can you also update the
Thank you |
Deleted CI for Swift 5.7. Updated examples CI to use Swift 5.10. @swift-server-bot test this please |
@yim-lee Thank you for the update. |
@sebsto The 5.7 pipeline has been deleted, so it doesn't get run anymore. The failure you see on this page is previous result, but because we don't run that pipeline anymore the status won't get updated. Someone with admin permissions will need to update branch rules in this repo's settings to remove old Swift versions and make new ones required. |
Looks like I have permissions to do that. @swift-server-bot test this please |
@adam-fowler a last check before merging ? Thank you |
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.
LGTM
StructConcurrency setting should really be .enableExperimentalFeature("StrictConcurrency=complete")
though.
fix #31