You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/09/02 17:59:03 UTC
[jira] [Commented] (AIRFLOW-2708) devel doesn't list unittest2 in
dependencies.
[ https://issues.apache.org/jira/browse/AIRFLOW-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601342#comment-16601342 ]
Apache Spark commented on AIRFLOW-2708:
---------------------------------------
User 'ashb' has created a pull request for this issue:
https://github.com/apache/incubator-airflow/pull/3581
> devel doesn't list unittest2 in dependencies.
> ---------------------------------------------
>
> Key: AIRFLOW-2708
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2708
> Project: Apache Airflow
> Issue Type: Improvement
> Reporter: Tomas Jansson
> Priority: Minor
> Fix For: 2.0.0
>
>
> I was trying to set up a docker development environment as described here: [https://github.com/apache/incubator-airflow/blob/master/CONTRIBUTING.md.]
>
> This failed with the following error:
> {code:java}
>
> Failure: ImportError (No module named unittest2) ... ERROR
> ======================================================================
> ERROR: Failure: ImportError (No module named unittest2)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
> addr.filename, addr.module)
> File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
> return self.importFromDir(dir_path, fqname)
> File "/usr/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
> mod = load_module(part_fqname, fh, filename, desc)
> File "/airflow/tests/__init__.py", line 25, in <module>
> from .configuration import *
> File "/airflow/tests/configuration.py", line 33, in <module>
> import unittest2 as unittest
> ImportError: No module named unittest2
> -------------------- >> begin captured logging << --------------------
> {code}
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)