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

Dylan Baker baker.dylan.c at gmail.com
Tue Jul 15 07:55:09 PDT 2014


bump

On Wednesday, June 25, 2014 04:42:02 PM Dylan Baker wrote:
> 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140715/63ecb208/attachment.sig>


More information about the Piglit mailing list