Skip to content

[6.0] Remove Sendable conformance on Bundle from SwiftPM #7653

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

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Jun 11, 2024

Cherry-pick of #7652.

Explanation: We shouldn't have two Sendable conformances on Bundle at the same time, and Foundation added this on their side in main (swiftlang/swift-corelibs-foundation#4963) and release/6.0 (swiftlang/swift-corelibs-foundation#4978).
Scope: isolated to bundle resources.
Risk: low, the corresponding change on main branch of swift-corelibs-foundation was there for 3 weeks.
Testing: covered by existing tests and the compat suite.
Issue: rdar://129599679
Reviewer: @parkera, @bnbarham

Foundation added this conformance on their side in `main` (swiftlang/swift-corelibs-foundation#4963) and `release/6.0` (swiftlang/swift-corelibs-foundation#4978).

rdar://129599679
@MaxDesiatov MaxDesiatov added the swift 6.0 Related to Swift 6.0 release branch label Jun 11, 2024
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov added concurrency resources Package resources support labels Jun 11, 2024
@MaxDesiatov MaxDesiatov marked this pull request as ready for review June 11, 2024 17:25
@MaxDesiatov MaxDesiatov requested a review from a team as a code owner June 11, 2024 17:25
@MaxDesiatov
Copy link
Contributor Author

Tests here will fail until swiftlang/swift-corelibs-foundation#4978 is merged, which is good as it confirms we have test coverage for this.

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) June 11, 2024 17:40
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test linux

@MaxDesiatov MaxDesiatov merged commit 741a11c into release/6.0 Jun 13, 2024
5 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/remove-sendable-bundle-6.0 branch June 13, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concurrency resources Package resources support swift 6.0 Related to Swift 6.0 release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants