Drop explicit Python 2.6 support

Removes py26 env from tox.ini and other 2.6 references.

Change-Id: I2060047d3bc29c25c500086ab7d9c0e827486654
This commit is contained in:
Jim Rollenhagen 2015-11-17 09:15:58 -08:00
parent b66f5e8dd6
commit 4757e69c13
3 changed files with 4 additions and 5 deletions

View File

@ -14,7 +14,6 @@ classifier =
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 2.6
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3

View File

@ -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):

View File

@ -1,6 +1,6 @@
[tox]
minversion = 1.6
envlist = py26,py27,py33,py34,pep8,pypy
envlist = py27,py33,py34,pep8,pypy
skipsdist = True
[testenv]