-
Notifications
You must be signed in to change notification settings - Fork 20
Add protofbuf dependency for s390x #293
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
WalkthroughA platform-specific protobuf dependency constraint is added to Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
pyproject.toml (1)
7-7: Consider adding a fallback protobuf version for non-s390x platforms.The duplication of the protobuf constraint across build-system requires and project dependencies may be intentional (one for build-time code generation, one for runtime). However, consider whether a default/fallback protobuf version should be specified for non-s390x platforms to ensure consistent builds and runtime behavior. Currently, non-s390x platforms will receive whatever version grpcio-tools transitively depends on, which may differ from development and testing assumptions.
Also applies to: 38-38
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
pyproject.toml(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
- GitHub Check: tests (ubuntu-latest, 3.12, v0.10.0)
- GitHub Check: tests (ubuntu-latest, 3.12, v0.11.0)
- GitHub Check: tests (ubuntu-latest, 3.12, v0.10.2)
- GitHub Check: tests (ubuntu-latest, 3.12, v0.10.1.1)
🔇 Additional comments (1)
pyproject.toml (1)
7-7: The original review comment's concerns are not substantiated.Verification confirms that grpcio-tools==1.75.1 explicitly requires
protobuf<7.0.0,>=6.31.1, so the protobuf==6.32.1 constraint falls safely within this range. On non-s390x platforms, grpcio-tools will pull a compatible protobuf version from its transitive dependency—there is no risk of version conflicts or inconsistent behavior. The environment marker syntax is valid and correct.Likely an incorrect or invalid review comment.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #293 +/- ##
=======================================
Coverage 64.51% 64.51%
=======================================
Files 25 25
Lines 1660 1660
Branches 213 213
=======================================
Hits 1071 1071
Misses 487 487
Partials 102 102 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Build fails with protobuf greater than 6.32.1 on s390x platform.
And for runtime , it segfaults.
This change will install protobuf==6.32.1 for s390x platform
For runtime:
For buildtime :