Skip to content

Commit 9b597a9

Browse files
jasongroutlresende
authored andcommitted
Notebook 6 supports only Python 3.5 or later, not Python 3.4. (#4875)
1 parent c2d4561 commit 9b597a9

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

setup.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@
1111
# The full license is in the file COPYING.md, distributed with this software.
1212
#-----------------------------------------------------------------------------
1313

14-
from __future__ import print_function
15-
1614
import os
1715
import sys
1816

1917
name = "notebook"
2018

21-
if sys.version_info < (3, 4):
19+
if sys.version_info < (3, 5):
2220
pip_message = 'This may be due to an out of date pip. Make sure you have pip >= 9.0.1.'
2321
try:
2422
import pip
@@ -34,8 +32,8 @@
3432

3533

3634
error = """
37-
Notebook 6.0+ supports Python 3.4 and above.
38-
When using Python 2.7, please install Notebook 5.x.
35+
Notebook 6.0+ supports Python 3.5 and above.
36+
When using Python 3.4 or earlier (including 2.7), please install Notebook 5.x.
3937
4038
Python {py} detected.
4139
{pip}
@@ -92,8 +90,10 @@
9290
'Intended Audience :: Science/Research',
9391
'License :: OSI Approved :: BSD License',
9492
'Programming Language :: Python',
95-
'Programming Language :: Python :: 2.7',
9693
'Programming Language :: Python :: 3',
94+
'Programming Language :: Python :: 3.5',
95+
'Programming Language :: Python :: 3.6',
96+
'Programming Language :: Python :: 3.7'
9797
],
9898
zip_safe = False,
9999
install_requires = [
@@ -114,8 +114,6 @@
114114
'prometheus_client'
115115
],
116116
extras_require = {
117-
':python_version == "2.7"': ['ipaddress'],
118-
'test:python_version == "2.7"': ['mock'],
119117
'test': ['nose', 'coverage', 'requests', 'nose_warnings_filters',
120118
'nbval', 'nose-exclude', 'selenium', 'pytest', 'pytest-cov'],
121119
'test:sys_platform == "win32"': ['nose-exclude'],

0 commit comments

Comments
 (0)