[ https://issues.apache.org/jira/browse/AIRFLOW-4754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Potiuk reassigned AIRFLOW-4754: ------------------------------------- Assignee: Jarek Potiuk > Exception is thrown when .git folder is not found by setup.py (for example in > DockerHub) > ---------------------------------------------------------------------------------------- > > Key: AIRFLOW-4754 > URL: https://issues.apache.org/jira/browse/AIRFLOW-4754 > Project: Apache Airflow > Issue Type: Sub-task > Components: ci > Affects Versions: 2.0.0 > Reporter: Jarek Potiuk > Assignee: Jarek Potiuk > Priority: Major > > {code:java} > Complete output from command /usr/local/bin/python -c "import setuptools, > tokenize;__file__='/opt/airflow/setup.py';f=getattr(tokenize, 'open', > open)(__file__);code=f.read().replace('\r\n', > '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps: > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/opt/airflow/setup.py", line 458, in <module> > do_setup() > File "/opt/airflow/setup.py", line 319, in do_setup > write_version() > File "/opt/airflow/setup.py", line 152, in write_version > text = "{}".format(git_version(version)) > File "/opt/airflow/setup.py", line 132, in git_version > repo = git.Repo('.git') > File "/usr/local/lib/python3.6/site-packages/git/repo/base.py", line 131, in > __init__ > raise NoSuchPathError(epath) > git.exc.NoSuchPathError: /opt/airflow/.git{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)