airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash Berlin-Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-2708) devel doesn't list unittest2 in dependencies.
Date Fri, 06 Jul 2018 20:16:00 GMT

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

Ash Berlin-Taylor updated AIRFLOW-2708:
---------------------------------------
    External issue URL: https://github.com/apache/incubator-airflow/pull/3581
           Component/s:     (was: Documentation)

> 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
>
> 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)

Mime
View raw message