Last modified: 2012-05-28 13:15:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39135, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37135 - Update of git-review failed
Update of git-review failed
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-26 21:23 UTC by Krinkle
Modified: 2012-05-28 13:15 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2012-05-26 21:23:11 UTC
---- 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$
Comment 1 Chad H. 2012-05-27 23:38:16 UTC
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?
Comment 2 Antoine "hashar" Musso (WMF) 2012-05-28 10:22:33 UTC
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.
Comment 3 Krinkle 2012-05-28 11:26:43 UTC
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.
Comment 4 Krinkle 2012-05-28 11:28:18 UTC
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.
Comment 5 Antoine "hashar" Musso (WMF) 2012-05-28 13:15:35 UTC
I was just teasing you!! Sorry! ;-D

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links