8000 MNT : bump python version test · matplotlib/matplotlib@a83ea1a · GitHub
[go: up one dir, main page]

Skip to content

Commit a83ea1a

Browse files
committed
MNT : bump python version test
Bump minimum python version test to match what we run tests on
1 parent 865b206 commit a83ea1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,14 @@ def _forward_ilshift(self, other):
190190

191191

192192
major, minor1, minor2, s, tmp = sys.version_info
193-
_python24 = (major == 2 and minor1 >= 4) or major >= 3
193+
_python26 = (major == 2 and minor1 >= 6) or major >= 3
194194

195195
# the havedate check was a legacy from old matplotlib which preceeded
196196
# datetime support
197197
_havedate = True
198198

199-
if not _python24:
200-
raise ImportError('matplotlib requires Python 2.4 or later')
199+
if not _python26:
200+
raise ImportError('matplotlib requires Python 2.6 or later')
201201

202202

203203
if not compare_versions(numpy.__version__, __version__numpy__):

0 commit comments

Comments
 (0)
0