Hi guys,

The git version check in setup.py is failing for me on the assert on line
86 (https://github.com/apache/incubator-airflow/blob/master/setup.py#L86).
It's probably me, but just wanted to check if anyone encounters this as
well.

These are the steps to reproduce:
- pip install gitpython
- clone airflow (I tried both master & v1.8.0-stable)
- python setup.py develop

This will throw an AssertionError, for example for branch v1.8-stable:

AssertionError: (u'1.8.0', '1.8.0rc5+apache.incubating')

This can be bypassed by uninstalling gitpython (or removing the .git
folder). In that case the import git statement fails (
https://github.com/apache/incubator-airflow/blob/master/setup.py#L68). The
exception is caught but not logged because a handler is missing:

"No handlers could be found for logger "__main__""

But the code will continue and write an empty git_version file to the
airflow folder.

Anyone seen this before?

KR, Koen

Reply via email to