We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e79a583 + 73cc574 commit 1550439Copy full SHA for 1550439
setupext.py
@@ -1186,12 +1186,17 @@ def check(self):
1186
import six
1187
except ImportError:
1188
return (
1189
- "six was not found.")
+ "six was not found."
1190
+ "pip will attempt to install it "
1191
+ "after matplotlib.")
1192
1193
if not is_min_version(six.__version__, self.min_version):
- raise CheckFailed(
- "Requires six %s or later. Found %s." %
1194
- (self.min_version, six.__version__))
+ 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__)
1200
1201
return "using six version %s" % six.__version__
1202
0 commit comments