pip >= 10.0.0b2 drops support for --allow-unverified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Charm Test Infra |
Fix Released
|
Critical
|
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:
https:/
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.
Changed in charm-test-infra: | |
milestone: | none → 18.05 |
Changed in charm-test-infra: | |
status: | Fix Committed → Fix Released |
See:
https:/ /github. com/juju/ charm-helpers/ issues/ 143