Upgrade virtualenv to 13.1.0

Upgrade the preinstalled version of virtualenv on job workers from
13.0.3 to 13.1.0.

This updates the pip used in envs from 7.0.3 to 7.1.0 adding support
for constraints. https://github.com/pypa/pip/issues/2731

It also updates setuptools in envs from 17.0 to 18.0.1 adding
support for ranges in environment markers.
https://bitbucket.org/pypa/setuptools/issue/380

These versions are already being used extensively in devstack jobs
and support for constraints and marker ranges in tox-based jobs will
quickly become necessary as the features propagate into individual
repos. The other items mentioned in the virtualenv/pip/setuptools
changelogs between these versions are minor and unlikely to cause
impact in our use cases.

Change-Id: I85e13bfcfee8780be16d87a084fdf52546fa7459
This commit is contained in:
Jeremy Stanley 2015-07-03 15:28:51 +00:00
parent 75477ea218
commit 733fcf0bbc

View File

@ -197,7 +197,7 @@ class openstack_project::template (
# Manage python/pip
include pip
$desired_virtualenv = '13.0.3'
$desired_virtualenv = '13.1.0'
if (( versioncmp($::virtualenv_version, $desired_virtualenv) < 0 )) {
$virtualenv_ensure = $desired_virtualenv