Repository navigation
[SPARK-44222][BUILD][PYTHON] Upgrade grpc to 1.56.0 - #41767
dongjoon-hyun wants to merge 1 commit into
Conversation
|
Could you review this please, @grundprinzip and @HyukjinKwon ? |
grpc to 1.56.0
|
Thank you, @yaooqinn ! |
|
All tests passed. Merged to master for Apache Spark 3.5.0. |
|
late LGTM ~ |
|
Thank you, @LuciferYang ! |
|
Hmmm .. seems like this actually brings some problem to Spark Connect dev. e.g.,: But we specify protobuf: that is only used for dev. We can't easily upgrade protobuf otherwise it will change the generated codes, and we should take a closer look for compatibility at https://github.com/apache/spark/tree/master/python/pyspark/sql/connect/proto because it requires a major version bumpup. |
|
Seems like: this combination only works with Python 3.8 ... for some reasons. |
|
Let me revert this out for now (since the branchcut is very soon) and take another look for the upgrade together if you don't mind. Sorry for a bit rushing on this. |
|
Actually we can work around by setting the range .. it seems ... I opened a PR to bring this back. |
…ound ### What changes were proposed in this pull request? This PR revert the revert of #41767 with setting grpc lowerbounds. ### Why are the changes needed? See #41767 ### Does this PR introduce _any_ user-facing change? See #41767 ### How was this patch tested? Manually tested with Conda environment, with `pip install -r dev/requirements.txt` in Python 3.9, Python 3.10 and Python 3.11. Closes #41997 from HyukjinKwon/SPARK-44222. Authored-by: Hyukjin Kwon <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
…ound ### What changes were proposed in this pull request? This PR revert the revert of apache#41767 with setting grpc lowerbounds. ### Why are the changes needed? See apache#41767 ### Does this PR introduce _any_ user-facing change? See apache#41767 ### How was this patch tested? Manually tested with Conda environment, with `pip install -r dev/requirements.txt` in Python 3.9, Python 3.10 and Python 3.11. Closes apache#41997 from HyukjinKwon/SPARK-44222. Authored-by: Hyukjin Kwon <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
What changes were proposed in this pull request?
This PR aims to upgrade
grpcfrom1.48.1to1.56.0for Apache Spark 3.5.0.Why are the changes needed?
To support
Python 3.11becausegrpciostarts to supportPython 3.11from1.49.1.To use
1.56.0consistently because we used previously two versions;1.48.1and1.47.0.spark/pom.xml
Line 283 in 3cd4860
spark/dev/requirements.txt
Line 53 in 3cd4860
Use
plugininstead of deactivatedremote.v1.51.1-1)v1.51.1-1)To fix a typo in
install.rstfromgrpctogrpciospark/python/docs/source/getting_started/install.rst
Line 162 in 3cd4860
Does this PR introduce any user-facing change?
This is a dependency change, but
connectmodule itself is still experimental.How was this patch tested?
Pass the CIs