-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-50106][PYTHON] Upgrade protobuf Python package to 5.28.3
#48644
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
3a3b755 to
dbcf26c
Compare
protobuf Python package to 5.28.3protobuf Python package to 5.28.3 and protobuf-java to 4.28.3
dbcf26c to
ff80be2
Compare
protobuf Python package to 5.28.3 and protobuf-java to 4.28.3protobuf Python package to 5.28.3
protobuf Python package to 5.28.3protobuf Python package to 5.28.3
|
cc @HyukjinKwon |
|
All tests passed. |
|
Could you review this PR too, @zhengruifeng and @xinrong-meng ? |
|
Could you review this PR, @viirya ? |
|
Thank you, @HyukjinKwon . Merged to master for Apache Spark 4.0.0 on February 2025. |
viirya
left a 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.
Looks good to me.
|
Thank you, @viirya . |
…ents.txt ### What changes were proposed in this pull request? This PR proposes to add 'protobuf==5.28.3' in `dev/requirements.txt`. If you have an old version in your env, you would face an error like: ``` google.protobuf.runtime_version.VersionError: Detected incompatible Protobuf Gencode/Runtime versions when loading spark/connect/base.proto: gencode 5.28.3 runtime 5.28.2. Runtime version cannot be older than the linked gencode version. See Protobuf version guarantees at https://protobuf.dev/support/cross-version-runtime-guarantee. ``` This PR is a sort of a followup of #48644 ### Why are the changes needed? So developers can easily set up their env. ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? Manually installed and tested. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #48763 from HyukjinKwon/note-protobuf. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
What changes were proposed in this pull request?
This PR aims to upgrade
protobufPython package from4.25.1to5.28.3for Apache Spark 4.0.0 on February 2025.Why are the changes needed?
To bring the latest bug fixes and support
Python 3.13which requiresgrpcio*>=1.66.2(grpcio-status>=1.66.2requiresprotobuf>=5.26.1).Does this PR introduce any user-facing change?
This is a dependency change with no behavior change.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.