This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build/pkgs/ipywidgets: Patch out declaring install-requires of nbform…
…at and jupyterlab-widgets
- Loading branch information
Matthias Koeppe
committed
Mar 24, 2021
1 parent
6700223
commit 04da2c6
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.6.3 | ||
7.6.3.p0 |
35 changes: 35 additions & 0 deletions
35
...d/pkgs/ipywidgets/patches/0001-setup.py-Remove-install-requires-of-jupyterlab_widge.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From e64096431a7099f8db46748ef7d1021939f1a624 Mon Sep 17 00:00:00 2001 | ||
From: Matthias Koeppe <mkoeppe@math.ucdavis.edu> | ||
Date: Wed, 24 Mar 2021 12:59:13 -0700 | ||
Subject: [PATCH] setup.py: Remove install-requires of jupyterlab_widgets, | ||
nbformat | ||
|
||
--- | ||
setup.py | 4 ---- | ||
1 file changed, 4 deletions(-) | ||
|
||
diff --git a/setup.py b/setup.py | ||
index e544267a..bff154af 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -112,9 +112,6 @@ setuptools_args = {} | ||
install_requires = setuptools_args['install_requires'] = [ | ||
'ipykernel>=4.5.1', | ||
'traitlets>=4.3.1', | ||
- # Requiring nbformat to specify bugfix version which is not required by | ||
- # notebook. | ||
- 'nbformat>=4.2.0', | ||
# TODO: Dynamically add this dependency | ||
# only if notebook 4.x is installed in this | ||
# interpreter, to allow ipywidgets to be | ||
@@ -125,7 +122,6 @@ install_requires = setuptools_args['install_requires'] = [ | ||
extras_require = setuptools_args['extras_require'] = { | ||
':python_version<"3.3"' : ['ipython>=4.0.0,<6.0.0'], | ||
':python_version>="3.3"': ['ipython>=4.0.0'], | ||
- ':python_version>="3.6"': ['jupyterlab_widgets>=1.0.0'], | ||
'test:python_version=="2.7"': ['mock'], | ||
'test': ['pytest>=3.6.0', 'pytest-cov'], | ||
} | ||
-- | ||
2.28.0 | ||
|