Pip released 19.0.1  about an hour ago with this fix

https://github.com/pypa/pip/commit/7db266687cb6304b0708eb408c8f15efb78eedeb

 

So the loci builds should work again, and no need to alter the –no-cache-dir settings

 

Al

 

From: Sun, Austin [mailto:austin.sun@intel.com]
Sent: Wednesday, January 23, 2019 3:20 AM
To: Penney, Don; starlingx-discuss@lists.starlingx.io
Subject: Re: [Starlingx-discuss] Heads up about probable failing tox and zuul

 

Hi Al & Don:

     According to https://stackoverflow.com/questions/54315938/why-does-pipenv-fail-to-install-a-package-inside-a-docker-container

 

    “ --no-cache-dir” will cause pip 19 such issue.

    

     made change https://review.openstack.org/#/c/632632/ to remove ‘--no-cache-dir’ , tox and zuul passed.

 

 

Thanks.

BR
Austin Sun.

 

From: Penney, Don [mailto:Don.Penney@windriver.com]
Sent: Wednesday, January 23, 2019 6:02 AM
To: starlingx-discuss@lists.starlingx.io
Subject: Re: [Starlingx-discuss] Heads up about probable failing tox and zuul

 

Note that this also impacts loci docker image builds.

 

From: Bailey, Henry Albert (Al) [mailto:Al.Bailey@windriver.com]
Sent: Tuesday, January 22, 2019 4:56 PM
To: starlingx-discuss@lists.starlingx.io
Subject: [Starlingx-discuss] Heads up about probable failing tox and zuul

 

About 3 hours ago a new version of Pip was released to the pypi site.

https://pypi.org/project/pip/19.0/

 

Tox jobs which pick up that version of pip will likely fail to install their dependencies.

Docker image jobs that are using loci (which uses pip) have also been observed to fail.

 

I don’t know what the fix is,  I assume many python users in many projects will be impacted.

 

If you see an error with a signature like this, you’ve hit the problem

 

Exception:

Traceback (most recent call last):

  File "/var/lib/openstack/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 176, in main

    status = self.run(options, args)

  File "/var/lib/openstack/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 346, in run

    session=session, autobuilding=True

  File "/var/lib/openstack/lib/python2.7/site-packages/pip/_internal/wheel.py", line 848, in build

    assert building_is_possible

AssertionError

 

Al