From d480bb0912359f3c58674a15e956aae8602715a7 Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Thu, 23 Jul 2026 15:26:36 -0700 Subject: [PATCH 1/2] Remove usage of ipython_genutils --- dev/create-release/spark-rm/Dockerfile | 4 ++-- dev/spark-test-image/docs/Dockerfile | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dev/create-release/spark-rm/Dockerfile b/dev/create-release/spark-rm/Dockerfile index f34f008aa9a63..f5c228cc4fd25 100644 --- a/dev/create-release/spark-rm/Dockerfile +++ b/dev/create-release/spark-rm/Dockerfile @@ -55,10 +55,10 @@ RUN python3.11 -m pip install --ignore-installed 'blinker>=1.6.2' && \ python3.11 -m pip cache purge # Sphinx and documentation packages -# See 'ipython_genutils' in SPARK-38517, 'docutils' in SPARK-39421 +# See 'docutils' in SPARK-39421 RUN python3.11 -m pip install 'sphinx==8.2.3' mkdocs 'pydata_sphinx_theme>=0.13' \ sphinx-copybutton nbsphinx numpydoc jinja2 markupsafe 'pyzmq<24.0.0' \ - ipython ipython_genutils sphinx_plotly_directive 'numpy>=1.23.2' pyarrow pandas \ + ipython sphinx_plotly_directive 'numpy>=1.23.2' pyarrow pandas \ 'plotly>=4.8' 'docutils' 'mypy==1.19.1' 'pytest==7.1.3' \ 'pytest-mypy-plugins==1.9.3' 'ruff==0.14.8' 'pandas-stubs==1.2.0.53' \ 'grpcio==1.76.0' 'grpc-stubs==1.24.11' 'googleapis-common-protos-stubs==2.2.0' diff --git a/dev/spark-test-image/docs/Dockerfile b/dev/spark-test-image/docs/Dockerfile index fdc364dbc690d..de394b467603a 100644 --- a/dev/spark-test-image/docs/Dockerfile +++ b/dev/spark-test-image/docs/Dockerfile @@ -89,10 +89,9 @@ ENV VIRTUAL_ENV=/opt/spark-venv RUN python3.12 -m venv $VIRTUAL_ENV ENV PATH="$VIRTUAL_ENV/bin:$PATH" -# See 'ipython_genutils' in SPARK-38517 # See 'docutils<0.18.0' in SPARK-39421 RUN python3.12 -m pip install 'sphinx==8.2.3' mkdocs 'pydata_sphinx_theme>=0.13' sphinx-copybutton nbsphinx numpydoc jinja2 markupsafe \ - ipython ipython_genutils sphinx_plotly_directive 'numpy>=1.23.2' 'pyarrow>=23.0.0' 'pandas==2.3.3' 'plotly>=4.8' 'docutils' \ + ipython sphinx_plotly_directive 'numpy>=1.23.2' 'pyarrow>=23.0.0' 'pandas==2.3.3' 'plotly>=4.8' 'docutils' \ 'mypy==1.19.1' 'pytest==7.1.3' 'pytest-mypy-plugins==1.9.3' 'ruff==0.14.8' \ 'pandas-stubs==1.2.0.53' 'grpcio==1.76.0' 'grpcio-status==1.76.0' 'protobuf==6.33.5' 'grpc-stubs==1.24.11' 'googleapis-common-protos-stubs==2.2.0' \ && python3.12 -m pip cache purge From c03607f87c2666dbc9d4c6de5da0b5daf0e1a502 Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Fri, 24 Jul 2026 18:21:58 -0700 Subject: [PATCH 2/2] Remove ipython_genutils --- dev/spark-test-image/lint/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/dev/spark-test-image/lint/Dockerfile b/dev/spark-test-image/lint/Dockerfile index f3968b0498d3a..88789ab1d97c1 100644 --- a/dev/spark-test-image/lint/Dockerfile +++ b/dev/spark-test-image/lint/Dockerfile @@ -89,7 +89,6 @@ RUN python3.12 -m pip install \ 'grpcio==1.76.0' \ 'zstandard==0.25.0' \ 'ipython' \ - 'ipython_genutils' \ 'jinja2' \ 'matplotlib' \ 'mypy==1.19.1' \