[
https://issues.apache.org/jira/browse/AIRFLOW-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16535295#comment-16535295
]
Ash Berlin-Taylor commented on AIRFLOW-2708:
--------------------------------------------
I made a mistake and added a Python2-only dep only to {{devel_ci}} when it
should have been added to {{devel}}. PR coming
> 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
> Components: Documentation
> Reporter: Tomas Jansson
> Priority: Minor
>
> 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)