[ 
https://issues.apache.org/jira/browse/ARROW-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16366032#comment-16366032
 ] 

ASF GitHub Bot commented on ARROW-2156:
---------------------------------------

xhochy closed pull request #1606: ARROW-2156: [CI] Isolate Sphinx dependencies
URL: https://github.com/apache/arrow/pull/1606
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/ci/travis_script_python.sh b/ci/travis_script_python.sh
index dbaaab89e..a487da596 100755
--- a/ci/travis_script_python.sh
+++ b/ci/travis_script_python.sh
@@ -41,12 +41,7 @@ conda install -y -q pip \
       cloudpickle \
       numpy=1.13.1 \
       pandas \
-      cython \
-      ipython \
-      matplotlib \
-      numpydoc \
-      sphinx \
-      sphinx_bootstrap_theme
+      cython
 
 if [ "$PYTHON_VERSION" != "2.7" ] || [ $TRAVIS_OS_NAME != "osx" ]; then
   # Install pytorch for torch tensor conversion tests
@@ -103,6 +98,13 @@ python -m pytest -vv -r sxX --durations=15 -s $PYARROW_PATH 
--parquet
 
 if [ "$PYTHON_VERSION" == "3.6" ] && [ $TRAVIS_OS_NAME == "linux" ]; then
   # Build documentation once
+  conda install -y -q \
+        ipython \
+        matplotlib \
+        numpydoc \
+        sphinx \
+        sphinx_bootstrap_theme
+
   pushd $ARROW_PYTHON_DIR/doc
   sphinx-build -q -b html -d _build/doctrees -W source _build/html
   popd


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> [CI] Isolate Sphinx dependencies
> --------------------------------
>
>                 Key: ARROW-2156
>                 URL: https://issues.apache.org/jira/browse/ARROW-2156
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: Continuous Integration
>    Affects Versions: 0.8.0
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>
> In the Travis Python test script, we always install the documentation 
> dependencies. We should only install them when building the docs, since they 
> are not trivial and may take time fetching.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to