diff options
author | isaackwy <isaacyu@protonmail.com> | 2024-10-31 00:43:38 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-10-31 15:27:00 +0700 |
commit | e602f010650fa6eb25ffc63c504eaa789567b43d (patch) | |
tree | 4622603171a9c8623b7b72cb79d8cf652e6d9ef6 /development | |
parent | d2a11c4a0d80aa53b6fc4658d6b67b41d710099b (diff) |
development/jupyter-notebook: Update for 6.5.7
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/jupyter-notebook/fix-traitlets-error.patch | 21 | ||||
-rw-r--r-- | development/jupyter-notebook/jupyter-notebook.SlackBuild | 8 | ||||
-rw-r--r-- | development/jupyter-notebook/jupyter-notebook.info | 6 |
3 files changed, 5 insertions, 30 deletions
diff --git a/development/jupyter-notebook/fix-traitlets-error.patch b/development/jupyter-notebook/fix-traitlets-error.patch deleted file mode 100644 index 874fc6b3edb2..000000000000 --- a/development/jupyter-notebook/fix-traitlets-error.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/notebook/notebookapp.py 2023-12-20 18:04:52.352937385 -0800 -+++ b/notebook/notebookapp.py 2023-12-20 18:06:22.564933788 -0800 -@@ -1408,7 +1408,7 @@ - # and allow jupyter_server contents managers to pass - # through. If jupyter_server is not installed, this class - # will be ignored. -- 'jupyter_server.contents.services.managers.ContentsManager' -+ "jupyter_server.services.contents.managers.ContentsManager", - ], - config=True, - help=_('The notebook manager class to use.') ---- a/notebook/traittypes.py 2023-12-20 18:08:44.904928112 -0800 -+++ b/notebook/traittypes.py 2023-12-20 18:09:04.503927331 -0800 -@@ -1,5 +1,6 @@ - import inspect --from traitlets import ClassBasedTraitType, Undefined, warn -+from warnings import warn -+from traitlets import ClassBasedTraitType, Undefined - - # Traitlet's 5.x includes a set of utilities for building - # description strings for objects. Traitlets 5.x does not diff --git a/development/jupyter-notebook/jupyter-notebook.SlackBuild b/development/jupyter-notebook/jupyter-notebook.SlackBuild index d92c54f3f7c2..0f1922221e83 100644 --- a/development/jupyter-notebook/jupyter-notebook.SlackBuild +++ b/development/jupyter-notebook/jupyter-notebook.SlackBuild @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jupyter-notebook -VERSION=${VERSION:-6.5.4} -BUILD=${BUILD:-3} +VERSION=${VERSION:-6.5.7} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,10 +65,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fix traitlets warning and error: -# https://github.com/jupyter/notebook/pull/7051 -patch -p1 < $CWD/fix-traitlets-error.patch - python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/development/jupyter-notebook/jupyter-notebook.info b/development/jupyter-notebook/jupyter-notebook.info index 7195441d98c5..9608cabc60cf 100644 --- a/development/jupyter-notebook/jupyter-notebook.info +++ b/development/jupyter-notebook/jupyter-notebook.info @@ -1,8 +1,8 @@ PRGNAM="jupyter-notebook" -VERSION="6.5.4" +VERSION="6.5.7" HOMEPAGE="https://jupyter.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook/notebook-6.5.4.tar.gz" -MD5SUM="6a2f44954dfa39c55bba2f576dd59e4a" +DOWNLOAD="https://files.pythonhosted.org/packages/source/n/notebook/notebook-6.5.7.tar.gz" +MD5SUM="4026bb5c1f7d517affa1e45ad6c576a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jupyter-ipykernel jupyter-nbclassic python3-ipython_genutils" |