Re-order gate cleanup pip package removal

The packages are now removed in reverse dependency order. The previous
order would remove packages until a dependancy conflict would arise,
then would stop and the pip task would return 'changed' rather than
'failed'. See [1].

In addition, the pip installation of tox is removed.

[1] http://paste.openstack.org/show/789996/

Change-Id: I4f701ca5e7caa4d5ef182ca3eba523702bdae36a
This commit is contained in:
Jonathan Rosser 2020-02-26 08:43:46 +00:00
parent 78adec0357
commit b04481c82c

View File

@ -29,16 +29,17 @@
- name: Remove known problem pip packages - name: Remove known problem pip packages
pip: pip:
name: name:
- virtualenv
- tox
- appdirs - appdirs
- backports
- contextlib2 - contextlib2
- distlib - distlib
- filelock - filelock
- importlib_metadata - importlib_metadata
- importlib_resources - importlib_resources
- six - six
- virtualenv - zipp
- zipp - backports
state: absent state: absent
- name: Remove package blacklist for yum/dnf - name: Remove package blacklist for yum/dnf