You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2025/02/19 06:56:55 UTC

(spark) branch branch-4.0 updated: [SPARK-51255][INFRA] Install dependencies related to docs in release image

This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new ae17d89100c2 [SPARK-51255][INFRA] Install dependencies related to docs in release image
ae17d89100c2 is described below

commit ae17d89100c235804d943b34b28c6437afe90146
Author: Hyukjin Kwon <gu...@apache.org>
AuthorDate: Wed Feb 19 15:56:38 2025 +0900

    [SPARK-51255][INFRA] Install dependencies related to docs in release image
    
    ### What changes were proposed in this pull request?
    
    This PR partially reverts https://github.com/apache/spark/pull/49886 to recover dependencies related to documentation build in release image.
    
    ### Why are the changes needed?
    
    To make the release build successful with documentation build
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, dev-only.
    
    ### How was this patch tested?
    
    Manual test.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #50001 from HyukjinKwon/SPARK-51255.
    
    Authored-by: Hyukjin Kwon <gu...@apache.org>
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
    (cherry picked from commit 53c326b3080c7dc29ad18680b997f6fe1cd320dd)
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
 dev/create-release/spark-rm/Dockerfile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/dev/create-release/spark-rm/Dockerfile b/dev/create-release/spark-rm/Dockerfile
index 4678af06b96b..6a608cf9899f 100644
--- a/dev/create-release/spark-rm/Dockerfile
+++ b/dev/create-release/spark-rm/Dockerfile
@@ -125,6 +125,16 @@ RUN python3.9 -m pip install --force $BASIC_PIP_PKGS unittest-xml-reporting $CON
     python3.9 -m pip install torcheval && \
     python3.9 -m pip cache purge
 
+# Should unpin 'sphinxcontrib-*' after upgrading sphinx>5
+# See 'ipython_genutils' in SPARK-38517
+# See 'docutils<0.18.0' in SPARK-39421
+RUN python3.9 -m pip install 'sphinx==4.5.0' mkdocs 'pydata_sphinx_theme>=0.13' sphinx-copybutton nbsphinx numpydoc jinja2 markupsafe 'pyzmq<24.0.0' \
+ipython ipython_genutils sphinx_plotly_directive 'numpy>=1.20.0' pyarrow pandas 'plotly>=4.8' 'docutils<0.18.0' \
+'flake8==3.9.0' 'mypy==1.8.0' 'pytest==7.1.3' 'pytest-mypy-plugins==1.9.3' 'black==23.12.1' \
+'pandas-stubs==1.2.0.53' 'grpcio==1.67.0' 'grpc-stubs==1.24.11' 'googleapis-common-protos-stubs==2.2.0' \
+'sphinxcontrib-applehelp==1.0.4' 'sphinxcontrib-devhelp==1.0.2' 'sphinxcontrib-htmlhelp==2.0.1' 'sphinxcontrib-qthelp==1.0.3' 'sphinxcontrib-serializinghtml==1.1.5'
+RUN python3.9 -m pip list
+
 RUN gem install --no-document "bundler:2.4.22"
 RUN ln -s "$(which python3.9)" "/usr/local/bin/python"
 RUN ln -s "$(which python3.9)" "/usr/local/bin/python3"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org