Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 04da2c6

Browse files
author
Matthias Koeppe
committed
build/pkgs/ipywidgets: Patch out declaring install-requires of nbformat and jupyterlab-widgets
1 parent 6700223 commit 04da2c6

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.6.3
1+
7.6.3.p0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
From e64096431a7099f8db46748ef7d1021939f1a624 Mon Sep 17 00:00:00 2001
2+
From: Matthias Koeppe <[email protected]>
3+
Date: Wed, 24 Mar 2021 12:59:13 -0700
4+
Subject: [PATCH] setup.py: Remove install-requires of jupyterlab_widgets,
5+
nbformat
6+
7+
---
8+
setup.py | 4 ----
9+
1 file changed, 4 deletions(-)
10+
11+
diff --git a/setup.py b/setup.py
12+
index e544267a..bff154af 100644
13+
--- a/setup.py
14+
+++ b/setup.py
15+
@@ -112,9 +112,6 @@ setuptools_args = {}
16+
install_requires = setuptools_args['install_requires'] = [
17+
'ipykernel>=4.5.1',
18+
'traitlets>=4.3.1',
19+
- # Requiring nbformat to specify bugfix version which is not required by
20+
- # notebook.
21+
- 'nbformat>=4.2.0',
22+
# TODO: Dynamically add this dependency
23+
# only if notebook 4.x is installed in this
24+
# interpreter, to allow ipywidgets to be
25+
@@ -125,7 +122,6 @@ install_requires = setuptools_args['install_requires'] = [
26+
extras_require = setuptools_args['extras_require'] = {
27+
':python_version<"3.3"' : ['ipython>=4.0.0,<6.0.0'],
28+
':python_version>="3.3"': ['ipython>=4.0.0'],
29+
- ':python_version>="3.6"': ['jupyterlab_widgets>=1.0.0'],
30+
'test:python_version=="2.7"': ['mock'],
31+
'test': ['pytest>=3.6.0', 'pytest-cov'],
32+
}
33+
--
34+
2.28.0
35+

0 commit comments

Comments
 (0)