[QA] git-review 1.24 broken?
Željko Filipin
zfilipin at wikimedia.org
Wed Jul 9 11:29:45 UTC 2014
A few days ago, I got this warning message after pushing a commit to Gerrit
via git-review:
***********************************************************
A new version of git-review is available on PyPI. Please
update your copy with:
pip install -U git-review
to ensure proper behavior with gerrit. Thanks!
***********************************************************
I had version 1.23
$ git-review --version
git-review version 1.23
I have followed the instructions and got version 1.24. (I had to use sudo
on my Mac to get pip install to work.)
$ pip install -U git-review
But then, git-review broke completely:
$ git review
(...)
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: git-review
Since I did not have the time to debug this, I have gone back to 1.23 and
everything works again. (Do not forget sudo.)
pip uninstall git-review
pip install git-review==1.23
The problem is already reported[1]. The workaround is to upgrade
setuptools. (Do not forget sudo.)
$ pip install --upgrade setuptools
(...)
$ pip install -U git-review
(...)
$ git review --version
git-review version 1.24
Željko
--
1: https://bugs.launchpad.net/git-review/+bug/1337701
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20140709/a62f4855/attachment.html>
More information about the QA
mailing list