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 Swift Dockerfile to use Swift 6.0.1 #10666

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

tonyarnold
Copy link
Contributor

What are you trying to accomplish?

The Swift Project has recently released Swift 6.0, and I would like Dependabot to continue working with my projects once I have updated them to this language version.

How will you know you've accomplished your goal?

Dependabot will be able to interact with Swift packages using the Swift 6.0 tools.

@tonyarnold tonyarnold requested a review from a team as a code owner September 25, 2024 06:04
@github-actions github-actions bot added the L: swift Swift packages label Sep 25, 2024
@jurre
Copy link
Member

jurre commented Sep 25, 2024

Thanks @tonyarnold! Do you happen to know if this version is backwards compatible? The tests are passing so I'd assume so, but I've been out of the Swift game for a bit now so figured I'd check with you.

@tonyarnold
Copy link
Contributor Author

To a point, yes. How do other language support modules handle major version updates?

@jurre
Copy link
Member

jurre commented Sep 25, 2024

It depends a little bit on the ecosystem/language tbh, in some cases we have some workarounds to make versions backwards compatible, in exceptional cases we have first class support for multiple versions. In most cases things are backwards compatible enough to work in most cases and/or upgrading is easy enough for customers

@tonyarnold
Copy link
Contributor Author

My understanding is that Swift 6.0 can interact with Swift Packages that specify older tools versions via // swift-tools-version:5.10 and similar, so this should be safe to move forward with.

@tonyarnold tonyarnold changed the title Update Swift Dockerfile to use Swift 6.0 Update Swift Dockerfile to use Swift 6.0.1 Sep 29, 2024
@StuClift
Copy link

Is there something the community can do to get this over the line?

@ffried
Copy link
Contributor

ffried commented Oct 15, 2024

This would also fix #10754

@randhircs randhircs merged commit 4d77f48 into dependabot:main Oct 18, 2024
36 checks passed
@tonyarnold tonyarnold deleted the patch-1 branch October 18, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: swift Swift packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants