Skip to content

Commit 66f7bef

Browse files
add grpcio grpcio-status to support spark connect (#2017)
* add grpcio grpcio_status to support spark connect * Sort install list * Fix package name * Update pyspark docs with new deps grpcio and grpcio-status * set grpcio and grpcio-status version as 1.56 * exclude grpcio and grpcio-status in test_packages.py * Update selecting.md * Update test_packages.py * Update Dockerfile --------- Co-authored-by: Ayaz Salikhov <[email protected]>
1 parent fb105c9 commit 66f7bef

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

docs/using/selecting.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,9 @@ It contains:
209209

210210
- Everything in `jupyter/scipy-notebook` and its ancestor images
211211
- [Apache Spark](https://spark.apache.org/) with Hadoop binaries
212-
- [pyarrow](https://arrow.apache.org/docs/python/) library
212+
- [grpcio-status](https://github.com/grpc/grpc/tree/master/src/python/grpcio_status)
213+
- [grpcio](https://grpc.io/docs/languages/python/quickstart/)
214+
- [pyarrow](https://arrow.apache.org/docs/python/)
213215

214216
### jupyter/all-spark-notebook
215217

images/pyspark-notebook/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ USER ${NB_UID}
7474
# 1. Check out the Spark branch you are on.
7575
# 2. Find the pandas version in the file spark/dev/infra/Dockerfile.
7676
RUN mamba install --yes \
77+
'grpcio-status' \
78+
'grpcio' \
7779
'pandas=2.0.3' \
7880
'pyarrow' && \
7981
mamba clean --all -f -y && \

tests/base-notebook/test_packages.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
"bzip2",
7070
"ca-certificates",
7171
"conda-forge::blas[build=openblas]",
72+
"grpcio-status",
73+
"grpcio",
7274
"hdf5",
7375
"jupyterlab-git",
7476
"openssl",

0 commit comments

Comments
 (0)