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

Hyukjin Kwon commented on SPARK-21573:
--------------------------------------

I think we officially dropped Python 2.6 in 
https://issues.apache.org/jira/browse/SPARK-12661; however, I was thinking an 
option would be fix the script to use python2.7 if available, if it is 
currently hard to fix this in Jenkins.

cc [~srowen], [~joshrosen], [~holdenk] and [~dongjoon].

> Tests failing with run-tests.py SyntaxError occasionally in Jenkins
> -------------------------------------------------------------------
>
>                 Key: SPARK-21573
>                 URL: https://issues.apache.org/jira/browse/SPARK-21573
>             Project: Spark
>          Issue Type: Test
>          Components: Tests
>    Affects Versions: 2.3.0
>            Reporter: Hyukjin Kwon
>            Priority: Minor
>
> {code}
> python2.6 run-tests.py
>   File "run-tests.py", line 124
>     {m: set(m.dependencies).intersection(modules_to_test) for m in 
> modules_to_test}, sort=True)
>                                                             ^
> SyntaxError: invalid syntax
> {code}
> It looks {{run-tests.py}} failed to execute by Python 2.6. It looks there are 
> quite some places to fix to support Python 2.6 with {{run-tests.py}}.
> We might just try to set Python 2.7 in this script if available.
> Please also see 
> http://apache-spark-developers-list.1001551.n3.nabble.com/Tests-failing-with-run-tests-py-SyntaxError-td22030.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to