[openstack-dev] [all] pip 8 no longer over-installs system packages [was: Gate failure]
Andreas Jaeger
aj at suse.com
Wed Jan 20 07:21:06 UTC 2016
Now docs, pep8, and python27 are broken as well here:
https://review.openstack.org/#/c/268687/
Andreas
On 2016-01-20 06:14, Ian Wienand wrote:
> On 01/20/2016 12:53 PM, Robert Collins wrote:
>> I suspect we'll see fallout in unit tests too, once new images are
>> built.
>
> If the images can build ...
>
> This was marked as deprecated, I understand, but the removal is very
> unfortunate [1] considering it's really just a
> shoot-yourself-in-the-foot operation.
>
> From the latest runs, on ubuntu we are using pip to over-install
> system packages of
>
> six
> requests
> netaddr
> PyYAML
> PyOpenSSL
> jsonpointer
> urllib3
> PyYAML
> pyOpenSSL
>
> On CentOS it is
>
> requests
> PyYAML
> enum34
> ipaddress
> numpy
>
> The problem is that we can't remove these system packages with the
> package-manager from the base images, because other packages we need
> rely on having them installed. Just removing the directory as pip
> used to do has been enough to keep things going.
>
> So, what to do? We can't stay at pip < 8 forever, because I'm sure
> there will be some pip problem we need to patch soon enough.
>
> Presume we can't remove the system python-* packages for these tools
> because other bits of the system rely on it. We've been down the path
> of creating dummy packages before, I think ... that never got very
> far.
>
> I really don't know how with the world of devstack plugins we'd deploy
> a strict global virtualenv. Heaven knows what "creative" things
> plugins are going to come up with if someone hits this (not that I've
> proposed anything elegant)...
>
> Would pip accept maybe a environment flag to restore the old ability
> to remove based on the egg-info? Is it really so bad given what
> devstack is doing?
>
> -i
>
> [1]
> https://github.com/pypa/pip/commit/6afc718307fea36b9ffddd376c1395ee1061795c
>
> __________________________________________________________________________
> 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
>
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter: jaegerandi
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
More information about the OpenStack-dev
mailing list