[all][infra] Upcoming removal of preinstalled pip and virtualenv from base images

Ian Wienand iwienand at redhat.com
Mon Jun 15 03:07:22 UTC 2020

On Sat, May 30, 2020 at 10:43:14AM +1000, Ian Wienand wrote:
> This is to notify the community of the planned upcoming removal of the
> "pip-and-virtualenv" element from our infra image builds.

Just a note that [1] has merged and new images should start appearing

Just to re-iterate; if virtualenv goes missing, you probabaly just
want to use the "ensure-virtualenv" role.  However, in the Python 3
world, you should probably consider if you actually *need* virtualenv
or can use "venv" which comes with Python 3.  The "ensure-pip" role
exports "ensure_pip_virtualenv_command" which you can use with the
"pip:" role from Ansible.  An example is [1].  If you don't need the
full virtualenv experience, longer term it's one less thing likely to
break in your tests.

Please pop into #opendev or reply mail and we can work through any



[1] https://review.opendev.org/#/c/735267/

More information about the openstack-discuss mailing list