You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2014/10/11 20:27:33 UTC

[jira] [Resolved] (SPARK-3867) ./python/run-tests failed when it run with Python 2.6 and unittest2 is not installed

     [ https://issues.apache.org/jira/browse/SPARK-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Rosen resolved SPARK-3867.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

Issue resolved by pull request 2759
[https://github.com/apache/spark/pull/2759]

> ./python/run-tests failed when it run with Python 2.6 and unittest2 is not installed
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-3867
>                 URL: https://issues.apache.org/jira/browse/SPARK-3867
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 1.2.0
>         Environment: Mac OS X 10.9.5, Python 2.6.8, Java 1.8.0_20
>            Reporter: cocoatomo
>              Labels: pyspark, testing
>             Fix For: 1.2.0
>
>
> ./python/run-tests search a Python 2.6 executable on PATH and use it if available.
> When using Python 2.6, it is going to import unittest2 module which is *not* a standard library in Python 2.6, so it fails with ImportError.
> commit: 1d72a30874a88bdbab75217f001cf2af409016e7



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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