Skip to content

Commit e7fa45c

Browse files
authored
Merge pull request #3050 from jasongrout/py2
Require jupyterlab_widgets only on Python >=3.5
2 parents 2d7ebee + 85755a7 commit e7fa45c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/source/dev_release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ Using the above script, you can do:
114114
```
115115
hashes dist/*
116116
hashes widgetsnbextension/dist/*
117+
hashes jupyterlab_widgets/dist/*
117118
```
118119

119120
Commit the changes you've made above, and include the uploaded files hashes in the commit message. Tag the release if ipywidgets was released. Push to origin master (and include the tag in the push).

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)