[openstack-dev] [nova] installation of requirements not possible because of wrong pip version
Robert Collins
robertc at robertcollins.net
Fri Aug 7 20:52:36 UTC 2015
I don't know why Nova has a requirement expressed on pip, since
requirements.txt is evaluated by pip its too late. Does Nova actually
consume pip itself?
On 8 Aug 2015 8:31 am, "Christian Berendt" <christian at berendt.io> wrote:
> According to requirements.txt we require pip>=6.0. Trying to install the
> requirements for nova with pip 6.1.1 is not possible at the moment because
> of the following issue:
>
> $ virtualenv .venv
> $ source .venv/bin/activate
> $ pip install -r requirements.txt
> You are using pip version 6.1.1, however version 7.1.0 is available.
> You should consider upgrading via the 'pip install --upgrade pip' command.
> Double requirement given: Routes!=2.0,>=1.12.3 (from -r requirements.txt
> (line 14)) (already in Routes!=2.0,!=2.1,>=1.12.3 (from -r requirements.txt
> (line 13)), name='Routes')
>
> It looks like pip 6.1.1 cannot handle the following 2 lines in
> requirements.txt:
>
> Routes>=1.12.3,!=2.0,!=2.1;python_version=='2.7'
> Routes>=1.12.3,!=2.0;python_version!='2.7'
>
> After upgrading pip to the latest available version (7.1.0) with pip
> install --upgrade pip everything is working like expected.
>
> Does this mean that we have to require at least pip>=7.1.0 in the global
> requirements?
>
> Christian.
>
> --
> Christian Berendt
> Cloud Solution Architect
> Mail: berendt at b1-systems.de
>
> B1 Systems GmbH
> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150808/80d7f3d6/attachment.html>
More information about the OpenStack-dev
mailing list