File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 90
90
_log = None
91
91
92
92
93
+ if sys .version_info < (3 , 100 ):
94
+ full_py_ver = '.' .join (str (x ) for x in sys .version_info [:3 ])
95
+ warning_lines = [
96
+ "\033 [1;33m"
97
+ "WARNING: Running EasyBuild with Python < 3.9 is deprecated (you are using Python %s)" % full_py_ver ,
98
+ '' ,
99
+ "You should use a more recent Python version to run EasyBuild with," ,
100
+ "see https://docs.easybuild.io/installation/#more_pip_env_EB_PYTHON for more information."
101
+ "\033 [0m"
102
+ ]
103
+ sys .stderr .write ('\n ' + '\n ' .join (warning_lines ) + '\n \n ' )
104
+
105
+
93
106
def find_easyconfigs_by_specs (build_specs , robot_path , try_to_generate , testing = False ):
94
107
"""Find easyconfigs by build specifications."""
95
108
generated , ec_file = obtain_ec_for (build_specs , robot_path , None )
You can’t perform that action at this time.
0 commit comments