huang.zhiping 7c91d603dd fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I14400678a53a66e2b0d1a5377d881b9df7dbfc71
Closes-Bug:  #1801657
2019-01-12 03:28:54 +00:00
2018-07-30 13:10:31 +00:00
2018-08-10 16:44:00 +00:00
2018-03-09 17:50:21 +00:00
2019-01-12 03:28:54 +00:00

Team and repository tags

image

OpenStack-Ansible python_venv_build

This Ansible role prepares a python venv for use in OpenStack-Ansible.

The role requires the following to be present prior to execution:

  • virtualenv >= 1.10 (to support using the never-download option)
  • pip >= 7.1 (to support using the constraints option) in the virtualenv once it has been created.

Use-cases

This role is built to cater to the following use-cases:

# Execute a build against a build host, then serve the venvs from a web

server.

# Execute a build against the first host in a group, then serving the

venvs from the deployment host.

References

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-python_venv_build/latest/

The project home is at:

http://launchpad.net/openstack-ansible

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/ansible-role-python_venv_build/

Description
Ansible role to manage the building of python venvs
Readme 2.8 MiB
Languages
Python 72.5%
Shell 27.5%