[Piglit] [PATCH] Bump python version requirement to 2.7.x

Dylan Baker baker.dylan.c at gmail.com
Wed Jun 25 16:42:02 PDT 2014


Python 2.6.6 was the final feature release of the 2.6 branch, it was
released in August 2010. Python 2.6.9 was the last security release, it
was released in October 2013. There is no support from upstream for 2.6,
either for bugs or security problems, OSX, linux, windows all have 2.7
available to them, as does VMWare in their environment.

Since no one any longer has a hard 2.6 requirement going to 2.7 seems
like a natural choice. It has more features, more modules, and better
3.x compatibility than 2.6 does.

Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 CMakeLists.txt | 2 +-
 README         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f875f5b..0601728 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -169,7 +169,7 @@ ENDIF()
 # Check for presence of Python 2.6 or greater.
 foreach(python_cmd python2 python)
 	execute_process(
-		COMMAND ${python_cmd} -c "import sys; assert '2.6' <= sys.version < '3'"
+		COMMAND ${python_cmd} -c "import sys; assert '2.7' <= sys.version < '3'"
 		OUTPUT_QUIET
 		ERROR_QUIET
 		RESULT_VARIABLE python_version_check_error_code)
diff --git a/README b/README
index 682de66..002ddd9 100644
--- a/README
+++ b/README
@@ -29,7 +29,7 @@ The original tests have been taken from
 
 First of all, you need to make sure that the following are installed:
 
-  - Python 2.7 or greater
+  - Python 2.7.x
   - Python Mako module
   - numpy (http://www.numpy.org)
   - cmake (http://www.cmake.org)
-- 
2.0.0



More information about the Piglit mailing list