[Python-modules-commits] [cf-python] 05/14: Remove check for python version.
Klaus Zimmermann
zklaus-guest at moszumanska.debian.org
Mon Sep 19 15:52:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
zklaus-guest pushed a commit to branch master
in repository cf-python.
commit 72d661ce03c959443961def011f8a3382da2f004
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 46a8b5f..2201cea 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