[Python-modules-commits] [cf-python] 02/09: Remove check for python version.

Klaus Zimmermann zklaus-guest at moszumanska.debian.org
Sat Oct 1 17:16:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

zklaus-guest pushed a commit to branch master-helper
in repository cf-python.

commit c8212b7157f5f7c67fc0bc08ab75c630eafa78e0
Author: Klaus Zimmermann <klaus_zimmermann at gmx.de>
Date:   Wed Sep 14 12:10:45 2016 +0200

    Remove check for python version.
    
    The python version in sid at the moment is 2.7.12+.
    The + breaks the check, which is superfluous in any case, since
    the python2 version is guaranteed to be 2.7 anyway.
    
    Signed-off-by: Klaus Zimmermann <klaus_zimmermann at gmx.de>
---
 cf/__init__.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/cf/__init__.py b/cf/__init__.py
index 6e0a66d..66855f1 100644
--- a/cf/__init__.py
+++ b/cf/__init__.py
@@ -57,14 +57,6 @@ from distutils.version import StrictVersion
 import imp
 import platform
 
-# Check the version of python
-if not (StrictVersion('2.6.0')
-        <= StrictVersion(platform.python_version())
-        < StrictVersion('3.0.0')):
-    raise ValueError(
-        "Bad python version: cf requires 2.6 <= python < 3.0. Got %s" %
-        platform.python_version())
-
 ## Check the version of numpy
 #import numpy
 #if StrictVersion(numpy.__version__) < StrictVersion('1.7'):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/cf-python.git



More information about the Python-modules-commits mailing list