[QA] [Wikitech-l] git-review 1.24 broken?

John Mark Vandenberg jayvdb at gmail.com
Wed Jul 9 14:41:43 UTC 2014


Could it be an OSX specific problem?

git review 1.24 works for me on two linux distros, with different
setuptools installed

fedora-core-19 using distribute 0.6.49
ubuntu-14.04 using setuptools 3.3


On Wed, Jul 9, 2014 at 9:29 PM, Željko Filipin <zfilipin at wikimedia.org>
wrote:

> 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
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l




-- 
John Vandenberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20140710/eabf47a7/attachment.html>


More information about the QA mailing list