From af37dc9b8b6504b2c1404fdc1d05ecafba552d92 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Thu, 13 Feb 2014 14:35:38 -0500 Subject: [PATCH] Add a note about python2.6 support to the README This commit adds a new section to the tempest README regarding python2.6 with tempest. It also outlines the steps required to enable testr with python2.6. Change-Id: I1603b24a9654ac5e71a54f63754d874cd39ce4da --- README.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.rst b/README.rst index bff2bf809b..9daf873a42 100644 --- a/README.rst +++ b/README.rst @@ -118,3 +118,15 @@ tempest suite. Alternatively, you can use the run_tests.sh script which will create a venv and run the unit tests. There are also the py26, py27, or py33 tox jobs which will run the unit tests with the corresponding version of python. + +Python 2.6 +---------- + +Tempest can be run with Python 2.6 however the unit tests and the gate +currently only run with Python 2.7, so there are no guarantees about the state +of tempest when running with Python 2.6. Additionally, to enable testr to work +with tempest using python 2.6 the discover module from the unittest-ext +project has to be patched to switch the unittest.TestSuite to use +unittest2.TestSuite instead. See:: + +https://code.google.com/p/unittest-ext/issues/detail?id=79