File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -1032,17 +1032,9 @@ def check_python_version():
10321032 python_ver = '%d.%d' % (python_maj_ver , python_min_ver )
10331033 _log .info ("Found Python version %s" , python_ver )
10341034
1035- silence_deprecation_warnings = build_option ('silence_deprecation_warnings' ) or []
1036-
10371035 if python_maj_ver == 2 :
1038- if python_min_ver < 6 :
1039- raise EasyBuildError ("Python 2.6 or higher is required when using Python 2, found Python %s" , python_ver )
1040- elif python_min_ver == 6 :
1041- depr_msg = "Running EasyBuild with Python 2.6 is deprecated"
1042- if 'Python26' in silence_deprecation_warnings :
1043- _log .warning (depr_msg )
1044- else :
1045- _log .deprecated (depr_msg , '5.0' )
1036+ if python_min_ver < 7 :
1037+ raise EasyBuildError ("Python 2.7 is required when using Python 2, found Python %s" , python_ver )
10461038 else :
10471039 _log .info ("Running EasyBuild with Python 2 (version %s)" , python_ver )
10481040
You can’t perform that action at this time.
0 commit comments