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

Moriel Schottlender moriel at gmail.com
Thu Jul 10 04:11:26 UTC 2014


Hi John,

Here are the full errors:

~$ sudo 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 "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in
<module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in
_build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in
_build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in
resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pip==1.0

~$ sudo pip install --upgrade setuptools
Traceback (most recent call last):
  File "/usr/local/bin/pip", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in
<module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in
_build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in
_build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in
resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pip==1.0




On Wed, Jul 9, 2014 at 8:36 PM, John Mark Vandenberg <jayvdb at gmail.com>
wrote:

> Thanks Moriel.  Again I cant reproduce that! :-(
>
> And I cant see any reference to pip 1.0 being a dependency in the
> git-review code, however it may be implicit (a feature of pip used) or in
> pbr somewhere.
>
> Could you provide a complete backtrace for that exception?
>
>
> On Thu, Jul 10, 2014 at 10:11 AM, Moriel Schottlender <moriel at gmail.com>
> wrote:
>
> > >
> > > which package version do you have for 'python-setuptools', and what
> > > does this show:
> > > $ /usr/bin/easy_install --version
> > >
> > I get 'setuptools 3.3'
> >
> >
> > > I reinstalled python-setuptools, and git review 1.24 is still working
> for
> > > me. :/
> > >
> >
> > So, when I try 'sudo pip install -U git-review' I get
> >
> > (...)
> > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in
> > resolve
> >     raise DistributionNotFound(req)
> > pkg_resources.DistributionNotFound: pip==1.0
> >
> >
> > I tried 'sudo pip install --upgrade setuptools' but I get the exact same
> > error.
> >
> > Git review seems to work, but it's still on version 1.23, and I keep
> > getting the upgrade notice all the time.
> >
> >
> >
> >
> >
> > > --
> > > John Vandenberg
> > >
> > > _______________________________________________
> > > Wikitech-l mailing list
> > > Wikitech-l at lists.wikimedia.org
> > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> > >
> >
> >
> >
> > --
> > No trees were harmed in the creation of this post.
> > But billions of electrons, photons, and electromagnetic waves were
> terribly
> > inconvenienced during its transmission!
> > _______________________________________________
> > Wikitech-l mailing list
> > Wikitech-l at lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> >
>
>
>
> --
> John Vandenberg
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>



-- 
No trees were harmed in the creation of this post.
But billions of electrons, photons, and electromagnetic waves were terribly
inconvenienced during its transmission!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20140710/80a81e83/attachment.html>


More information about the QA mailing list