Ansible role to manage the building of python venvs
Go to file
Doug Hellmann 57df4885f2 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: I1a40301df569d59733343b13db2dc11533eb3b58
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:41:31 -04:00
defaults Add option for default pip package install 2018-09-09 18:35:15 +01:00
doc Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
handlers Revise the role to properly cater to use-cases 2018-05-04 18:03:59 +01:00
meta Add Bionic testing 2018-07-30 13:10:31 +00:00
releasenotes Update reno for stable/rocky 2018-08-10 16:44:00 +00:00
tasks Add option for default pip package install 2018-09-09 18:35:15 +01:00
tests Add option for default pip package install 2018-09-09 18:35:15 +01:00
zuul.d switch documentation job to new PTI 2018-08-21 13:21:41 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-28 09:23:18 +00:00
.gitreview Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
LICENSE Initial commit 2018-03-09 17:50:21 +00:00
README.rst Use the virtualenv's pip to build the wheels 2018-08-19 20:15:37 +01:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:46:34 +00:00
bindep.txt Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:18:18 +00:00
setup.cfg Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
setup.py Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
tox.ini fix tox python3 overrides 2018-09-26 18:41:31 -04:00

README.rst

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/