You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (JIRA)" <ji...@apache.org> on 2019/06/09 19:49:00 UTC

[jira] [Resolved] (AIRFLOW-4754) Exception is thrown when .git folder is not found by setup.py (for example in DockerHub)

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

Jarek Potiuk resolved AIRFLOW-4754.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

> 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
>             Fix For: 2.0.0
>
>
> {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)