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 min version of grpc-swift to fix static Linux SDK build #81

Closed
wants to merge 1 commit into from

Conversation

gjcairo
Copy link
Collaborator

@gjcairo gjcairo commented Mar 17, 2025

https://github.com/grpc/grpc-swift/releases/tag/2.1.1 fixes an issue that made grpc-swift not compile using the static Linux SDK. This caused issues when trying to build grpc-swift-nio-transport using the static Linux SDK. This PR updates the minimum grpc-swift version to make it build successfully.

@gjcairo gjcairo added the 🔨 semver/patch No public API change. label Mar 17, 2025
@gjcairo gjcairo requested a review from glbrntt March 17, 2025 11:22
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

I don't think we actually need to make this change; there's no new API we're depending on. SPM will pick up the new patch release of grpc-swift.

@gjcairo
Copy link
Collaborator Author

gjcairo commented Mar 17, 2025

Yes I wasn't sure this would be needed. But is it possible SPM resolves to the version without the patch when you're trying to build with the static SDK? I thought updating the version here would remove that possibility altogether.

@glbrntt
Copy link
Collaborator

glbrntt commented Mar 17, 2025

It's possible if there's an additional constraint in the dependency graph to limit the version of grpc-swift but that would also be problematic if we bumped the version here.

@gjcairo gjcairo closed this Mar 17, 2025
@gjcairo gjcairo deleted the static-sdk branch March 17, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants