Andrew Wong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/12385


Change subject: python: fix handling for SNAPSHOT versions
......................................................................

python: fix handling for SNAPSHOT versions

In a non-SNAPSHOT branch, setup.py would return an error:

Installing collected packages: python-dateutil, pandas
  Running setup.py install for pandas: started
    Running setup.py install for pandas: still running...
    Running setup.py install for pandas: still running...
    Running setup.py install for pandas: finished with status 'done'
Successfully installed pandas-0.17.1 python-dateutil-2.8.0
You are using pip version 9.0.3, however version 19.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Traceback (most recent call last):
  File "setup.py", line 107, in <module>
    VERSION = find_version()
  File "setup.py", line 54, in find_version
    if "SNAPSHOT" in version_match.group("label"):
TypeError: argument of type 'NoneType' is not iterable

Change-Id: I3f88a9b9130be38bd6bcb0348454d65e8497a4b2
---
M python/setup.py
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/85/12385/1
--
To view, visit http://gerrit.cloudera.org:8080/12385
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f88a9b9130be38bd6bcb0348454d65e8497a4b2
Gerrit-Change-Number: 12385
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <[email protected]>

Reply via email to