From 81f8fa655ccecd409fe6dcda0d3763592c053e57 Mon Sep 17 00:00:00 2001 From: Chuck Carmack Date: Mon, 23 Nov 2015 18:49:29 +0000 Subject: Remove python 2.6 support from python-novaclient Since oslo is removing support for python 2.6, nova needs to also remove support from clients and libraries. This commit is to remove support from python-novaclient. -- Python 2.6 compatibilty code was removed. -- Python 2.6 was removed as a tox environment, install venv, and from the classifiers in setup.cfg. -- Release notes have been updated. UpgradeImpact Co-Authored-By: Andrey Kurilin Change-Id: I3f587ff38d478d075af5fd014e2b4b8416e185d4 Closes-bug: 1518390 --- tools/install_venv_common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/install_venv_common.py b/tools/install_venv_common.py index e279159a..962b2f93 100644 --- a/tools/install_venv_common.py +++ b/tools/install_venv_common.py @@ -17,7 +17,7 @@ virtual environments. Since this script is used to bootstrap a virtualenv from the system's Python -environment, it should be kept strictly compatible with Python 2.6. +environment, it should be kept strictly compatible with Python 2.7. Synced in from openstack-common """ @@ -47,8 +47,8 @@ class InstallVenv(object): sys.exit(1) def check_python_version(self): - if sys.version_info < (2, 6): - self.die("Need Python Version >= 2.6") + if sys.version_info < (2, 7): + self.die("Need Python Version >= 2.7") def run_command_with_code(self, cmd, redirect_output=True, check_exit_code=True): -- cgit v1.2.1