[openstack-dev] [all] Issues with pip 6.1

Sean Dague sean at dague.net
Tue Apr 7 12:38:06 UTC 2015


On 04/07/2015 07:39 AM, Victor Stinner wrote:
>> (2) it's not more possible to install argparse on Python 2.7 (...)
> 
> Donald Stufft released pip 6.1.1, he reverted the change which prevented to install argparse.
> 
> Thanks for the quick fix!
> 
>> (1) update.py of openstack/requirements uses req.InstallRequirement.url attribute, but this attribute is gone (replaced with req.InstallRequirement.link.url)
>> => see https://bugs.launchpad.net/tempest/+bug/1440984
> 
> pip 6.1.1 reintroduced the url attribute but there is a bug in the property :-/
> 
> According to pip developers, the problem is that OpenStack should not use Python pip API because the Python API is private and not stable. Only the CLI has a stable API.
> 
> Victor

There are work arounds already landed in upstream requirements.

Getting rid of pip usage in requirements is done here -
https://review.openstack.org/#/q/I10ada6860768017d4eb3c729f2870f2c7f4a46d7,n,z

	-Sean

-- 
Sean Dague
http://dague.net



More information about the OpenStack-dev mailing list