[openstack-dev] [nova] installation of requirements not possible because of wrong pip version
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: bere...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova] installation of requirements not possible because of wrong pip version
On 08/07/2015 10:52 PM, Robert Collins wrote: 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? pip is not listed in the requirements.txt file of nova. pip is listed in the global requirements: https://github.com/openstack/requirements/blob/master/global-requirements.txt#L112 My understanding is that it is possible to use pip=6.0. Is that wrong? Is there an other place where we documented which version of pip can be used with the requirement.txt files (based on global-requirements.txt)? Christian. -- Christian Berendt Cloud Solution Architect Mail: bere...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova] installation of requirements not possible because of wrong pip version
Pip is listed there because we used to use pip from within pbr. We could raise the pip version in global requirements safely I think. On 8 Aug 2015 09:58, Christian Berendt christ...@berendt.io wrote: On 08/07/2015 10:52 PM, Robert Collins wrote: 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? pip is not listed in the requirements.txt file of nova. pip is listed in the global requirements: https://github.com/openstack/requirements/blob/master/global-requirements.txt#L112 My understanding is that it is possible to use pip=6.0. Is that wrong? Is there an other place where we documented which version of pip can be used with the requirement.txt files (based on global-requirements.txt)? Christian. -- Christian Berendt Cloud Solution Architect Mail: bere...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova] installation of requirements not possible because of wrong pip version
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 christ...@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: bere...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev