You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sh...@apache.org on 2019/04/19 16:44:32 UTC

[spark] branch branch-2.4 updated: [SPARK-25079][PYTHON][BRANCH-2.4] update python3 executable to 3.6.x

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

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


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new eaa88ae  [SPARK-25079][PYTHON][BRANCH-2.4] update python3 executable to 3.6.x
eaa88ae is described below

commit eaa88ae5237b23fb7497838f3897a64641efe383
Author: shane knapp <in...@gmail.com>
AuthorDate: Fri Apr 19 09:44:06 2019 -0700

    [SPARK-25079][PYTHON][BRANCH-2.4] update python3 executable to 3.6.x
    
    ## What changes were proposed in this pull request?
    
    have jenkins test against python3.6 (instead of 3.4).
    
    ## How was this patch tested?
    
    extensive testing on both the centos and ubuntu jenkins workers revealed that 2.4 doesn't like python 3.6...  :(
    
    NOTE: this is just for branch-2.4
    
    PLEASE DO NOT MERGE
    
    Closes #24379 from shaneknapp/update-python-executable.
    
    Authored-by: shane knapp <in...@gmail.com>
    Signed-off-by: shane knapp <in...@gmail.com>
---
 python/run-tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/run-tests.py b/python/run-tests.py
index ccbdfac..921fdc9 100755
--- a/python/run-tests.py
+++ b/python/run-tests.py
@@ -162,7 +162,7 @@ def run_individual_python_test(target_dir, test_name, pyspark_python):
 
 
 def get_default_python_executables():
-    python_execs = [x for x in ["python2.7", "python3.4", "pypy"] if which(x)]
+    python_execs = [x for x in ["python2.7", "python3.6", "pypy"] if which(x)]
     if "python2.7" not in python_execs:
         LOGGER.warning("Not testing against `python2.7` because it could not be found; falling"
                        " back to `python` instead")


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