pip >= 10.0.0b2 drops support for --allow-unverified

Bug #1760720 reported by Ryan Beisner on 2018-04-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Charm Test Infra
Ryan Beisner

Bug Description

Pip just revved up past 10.0, and since pip >= 10.0.0b2 drops support for --allow-unverified, there are several things affected.

The unit, lint tests for OpenStack charms are now failing, with the dev/test gate completely blocked.

Inspection of tox.ini files across the charms reveals that python-apt was previously and explicitly added with --allow-unverified. The python-apt pip package used to be needed for some unit tests, which arguably weren't mocked appropriately anyway. Those appear to be resolved, and if they are not, they should be.

The python-apt pip package needs --allow-unverified because of the download url as listed here:


So, short of python-apt doing a full pypi distribution --or-- all users and CI expressly permitting launchpad ip addresses and hostnames via global pip config, the python-apt pip package is unusable.

But to repeat: we think we don't need it in this case.

Ryan Beisner (1chb1n) wrote :
Changed in charm-test-infra:
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Ryan Beisner (1chb1n)
Ryan Beisner (1chb1n) wrote :

This docfix (trivial) illustrates how the gate is currently bust:


Ryan Beisner (1chb1n) wrote :
Ryan Beisner (1chb1n) wrote :

This batch of gerrit reviews represents the approach to resolve and unblock the charm test gates:


Ryan Beisner (1chb1n) wrote :

Fixes for this issue have now landed in master for all OpenStack Charms, except the tempest charm, which is delayed due to an unrelated error @ charm-tempest/master.


I've selectively raised stable/18.02 backports for charms which are likely to have other stable backports soon.

The remainder of the charms will need to have stable/18.02 backports of this --allow-unverified fix, before any other backports will be possible to those charms.

Changed in charm-test-infra:
status: In Progress → Fix Committed
James Page (james-page) on 2018-06-06
Changed in charm-test-infra:
milestone: none → 18.05
David Ames (thedac) on 2018-06-11
Changed in charm-test-infra:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.