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:
parent
b66f5e8dd6
commit
4757e69c13
|
@ -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
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue