Skip to content

Commit 0b688e5

Browse files
committed
Require Python >=3.5
1 parent 4770a9e commit 0b688e5

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

setup.py

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
'Installation requires pip>=10.0.')
1212
sys.exit(1)
1313

14+
if sys.version_info < (3, 5):
15+
raise ValueError(
16+
'Unsupported Python version {}.{}.{} found. OpenML requires Python 3.5 or higher.'
17+
.format(sys.version_info.major, sys.version_info.minor, sys.version_info.micro)
18+
)
19+
1420
setuptools.setup(name="openml",
1521
author="Matthias Feurer, Andreas Müller, Farzan Majdani, "
1622
"Joaquin Vanschoren, Jan van Rijn and Pieter Gijsbers",
@@ -51,15 +57,15 @@
5157

5258
],
5359
'examples': [
54-
'matplotlib',
55-
'jupyter',
56-
'notebook',
57-
'nbconvert',
58-
'nbformat',
59-
'jupyter_client',
60-
'ipython',
61-
'ipykernel',
62-
'seaborn'
60+
'matplotlib',
61+
'jupyter',
62+
'notebook',
63+
'nbconvert',
64+
'nbformat',
65+
'jupyter_client',
66+
'ipython',
67+
'ipykernel',
68+
'seaborn'
6369
]
6470
},
6571
test_suite="pytest",

0 commit comments

Comments
 (0)