Skip to content

Commit 85755a7

Browse files
committed
JupyterLab 3 only works on python >=3.5, so only depend on jupyterlab_widgets if python >=3.5.
Fixes #3049
1 parent b7dcbc3 commit 85755a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@
119119
# only if notebook 4.x is installed in this
120120
# interpreter, to allow ipywidgets to be
121121
# installed on bare kernels.
122-
'widgetsnbextension~=3.5.0',
123-
'jupyterlab_widgets>=1.0.0',
122+
'widgetsnbextension~=3.5.0'
124123
]
125124

126125
extras_require = setuptools_args['extras_require'] = {
127126
':python_version<"3.3"' : ['ipython>=4.0.0,<6.0.0'],
128127
':python_version>="3.3"': ['ipython>=4.0.0'],
128+
':python_version>="3.5"': ['jupyterlab_widgets>=1.0.0'],
129129
'test:python_version=="2.7"': ['mock'],
130130
'test': ['pytest>=3.6.0', 'pytest-cov'],
131131
}

0 commit comments

Comments
 (0)