Page MenuHomePhabricator

Update of git-review failed
Closed, DeclinedPublic

Description

  • Paste ----

KrinkleMac:core krinkle$ git review -d 8978
Downloading refs/changes/78/8978/1 from gerrit into review/aaron_schulz/bug/36988
Switched to branch 'review/aaron_schulz/bug/36988'


A new version of git-review is availble on PyPI. Please
update your copy with:

pip install -U git-review

to ensure proper behavior with gerrit. Thanks!


KrinkleMac:core krinkle$ pip install -U git-review
Traceback (most recent call last):

File "/usr/local/bin/pip", line 5, in <module>
  from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module>
  working_set.require(__requires__)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
  needed = self.resolve(parse_requirements(requirements))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
  raise DistributionNotFound(req)  # XXX put more info here

pkg_resources.DistributionNotFound: pip==1.1
KrinkleMac:core krinkle$


Version: unspecified
Severity: major

Details

Reference
bz37135

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:23 AM
bzimport added a project: Gerrit.
bzimport set Reference to bz37135.
bzimport added a subscriber: Unknown Object (MLST).

FWIW, it works for me :\

What version of OSX are you on? Are you using the bundled Python with OSX, or a different version from something like Macports or a custom install?

pkg_resources.DistributionNotFound: pip==1.1

So update pip to 1.1 with:

sudo easy_install -U pip

Please note this is not a pip / python support forum.

Thanks. I wonder how I updated it last time then. Anyhow, executed the install command for pip, and then the git-review update went fine.

Note that I filed it here because

  1. I imagine other developers might have similar issues, this way they can find it right here (even if it is just a +upstream or INVALID).
  2. I don't know much about python, so for all I know this could've been a problem with git-review or the way we have set up gerrit.

I was just teasing you!! Sorry! ;-D