diff options
author | Steve Martinelli <stevemar@ca.ibm.com> | 2015-12-15 00:10:01 -0500 |
---|---|---|
committer | Steve Martinelli <stevemar@ca.ibm.com> | 2015-12-15 00:11:06 -0500 |
commit | e706bc712ea594ba7c5e4f82855e0220ceccf067 (patch) | |
tree | 514d8193d0decdfb12b316b78d219203f3de1fa8 | |
parent | 5faacf23bbafb84f419afc73cd806a168175fd55 (diff) | |
download | oslo-incubator-e706bc712ea594ba7c5e4f82855e0220ceccf067.tar.gz |
remove py26 handling from install_venv files
we don't use py26 in our testing and CI any longer, we no longer
need to keep code to check specifically for py26.
Change-Id: If5071a3816c6d6bc0dcb1508080659c9207e2519
-rw-r--r-- | tools/install_venv.py | 1 | ||||
-rw-r--r-- | tools/install_venv_common.py | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py index 452b8bd6..15d02eed 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -61,7 +61,6 @@ def main(argv): install = install_venv.InstallVenv(root, venv, pip_requires, test_requires, py_version, project) options = install.parse_args(argv) - install.check_python_version() install.check_dependencies() install.create_virtualenv(no_site_packages=options.no_site_packages) install.install_dependencies() diff --git a/tools/install_venv_common.py b/tools/install_venv_common.py index e279159a..d132478b 100644 --- a/tools/install_venv_common.py +++ b/tools/install_venv_common.py @@ -16,9 +16,6 @@ """Provides methods needed by installation script for OpenStack development 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. - Synced in from openstack-common """ @@ -46,10 +43,6 @@ class InstallVenv(object): print(message % args, file=sys.stderr) sys.exit(1) - def check_python_version(self): - if sys.version_info < (2, 6): - self.die("Need Python Version >= 2.6") - def run_command_with_code(self, cmd, redirect_output=True, check_exit_code=True): """Runs a command in an out-of-process shell. |