Github user Stibbons commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14963#discussion_r78136301
  
    --- Diff: dev/lint-python ---
    @@ -26,30 +67,26 @@ 
PYLINT_REPORT_PATH="$SPARK_ROOT_DIR/dev/pylint-report.txt"
     PYLINT_INSTALL_INFO="$SPARK_ROOT_DIR/dev/pylint-info.txt"
     SPHINXBUILD=${SPHINXBUILD:=sphinx-build}
     SPHINX_REPORT_PATH="$SPARK_ROOT_DIR/dev/sphinx-report.txt"
    +VIRTUALENV_EXEC="virtualenv"
    +
    +# It is a good practice to upgrade pip to the latest version, however, 
sometimes it might break
    +# something. Let freeze this version here. We cannot put it into 
requirements.txt since the
    +# execution of this requirement files might depends on the pip version.
    +PIP_VERSION="8.1.2"
     
     cd "$SPARK_ROOT_DIR"
     
    +echo "Jumping into virtualenv $VIRTUAL_ENV_DIR..."
    +$VIRTUALENV_EXEC $VIRTUAL_ENV_DIR || exit 1
    --- End diff --
    
    Actually I'm thinking it may be better not to leave virtualenv if we are 
inside one. So we don't have this copy paste of the code for desactivating it.
    What do you think?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to