File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -1186,12 +1186,17 @@ def check(self):
1186
1186
import six
1187
1187
except ImportError :
1188
1188
return (
1189
- "six was not found." )
1189
+ "six was not found."
1190
+ "pip will attempt to install it "
1191
+ "after matplotlib." )
1190
1192
1191
1193
if not is_min_version (six .__version__ , self .min_version ):
1192
- raise CheckFailed (
1193
- "Requires six %s or later. Found %s." %
1194
- (self .min_version , six .__version__ ))
1194
+ return ("The installed version of six is {inst_ver} but "
1195
+ "a the minimum required version is {min_ver}. "
1196
+ "pip/easy install will attempt to install a "
1197
+ "newer version."
1198
+ ).format (min_ver = self .min_version ,
1199
+ inst_ver = six .__version__ )
1195
1200
1196
1201
return "using six version %s" % six .__version__
1197
1202
You can’t perform that action at this time.
0 commit comments