Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [wip] new package: jupyterlab
@ 2021-05-14 16:03 dkwo
  2021-05-14 16:06 ` dkwo
                   ` (34 more replies)
  0 siblings, 35 replies; 36+ messages in thread
From: dkwo @ 2021-05-14 16:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

There is a new pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

[wip] new package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 32866 bytes --]

From b82308e9766140d1902027c71a7d9eba83401e70 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..d9f5478dc9e0 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
@@ -13,12 +13,12 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
 
 do_check() {
 	# Those two tests are problematic in python 3.8,
 	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
+	pytest --ignore=ipykernel/inprocess/tests
 }
 
 post_install() {

From dae6dab1948cbbf22a9c84a116c2985c3098a699 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From 8988006166b0640aa82de30eae2a50830c251997 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..5ad39cf7f279
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From be58ab45b354648c71d9a4f4ea17063e606692a0 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0

---
 .../patches/test_session.patch                | 15 -------------
 srcpkgs/python3-jupyter_client/template       | 22 ++++++++-----------
 2 files changed, 9 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..0379755040b7 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,29 +1,25 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.2.0
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
+checkdepends="python3-pytest python3-async_generator python3-msgpack
+ python3-ipython_ipykernel python3-Sphinx $depends"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9
 conflicts="python-jupyter_client<=5.2.4_2"
 
 do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
+	# test_install_kernel_spec_prefix runs fine in-tree but fails when
+	# running xbps-src check
 	pytest -k 'not test_install_kernel_spec_prefix'
 }
 

From c491ff8a348b1b93f45a17d920cd074a0e23c73a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/20]  python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 10 +++-------
 2 files changed, 3 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..53de02560075 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,14 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
 
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
-
 post_install() {
 	vlicense COPYING.md LICENSE
 }

From ecafebe6ec43fa25e9a8731a26c6dc2e106b2b18 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/20]  python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..61c6e81360ad 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,23 +1,22 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
+checkdepends="$depends python3-pytest python3-ipython_ipykernel"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
 
 do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
+	python3 -m pytest -k 'not test_jupyter_path_prefer_env'
 }
 
 post_install() {

From 8fe3b250ba3b8745081837ce1cb9772efb44874e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/20]  New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..0d341b4e5e28
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From dc812482d6dbf69009111279507cc42a00aa57b2 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..4abf04331bca
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From a69aeebd809f70318202577a188c273d2990186d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/20]  python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 -----------
 srcpkgs/python3-jupyter_nbconvert/template    | 28 ++++++-------------
 2 files changed, 9 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..59d7d2c5014a 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,26 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
 
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
-
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From f0bfa5e232931f5ec08a2f9b17498b847e8bc34d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From bb25cc1aeed2cb38a3e128650072e0000c685316 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From 202fedf9a35dda3e727b0a05fc64c3501fdf2c9a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..386376360c60 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,19 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From 45e15eecd0c4b9b583d97d1ac03c9514eed8b586 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/20] New package: python3-pyrsistent

---
 srcpkgs/python3-pyrsistent/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..6242a0fab219
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="Nathan Owens <ndowens@artixlinux.org>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From 14b46fd64a5158e1161aa88941420359783ff1f5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/20] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..b32387ade0a8 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From bc4cad0d0ea597f834009cd9571ce08430bb17b4 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/20] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..f7ec544ead12
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+
+post_install() {
+	vlicense LICENSE
+}

From 5f69d018731e06eeef6240c33a045e7fe8cd37b4 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/20] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..006405804c2e
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=json5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${PYPI_SITE}/j/json5/json5-${version}.tar.gz"
+checksum=703cfee540790576b56a92e1c6aaa6c4b0d98971dc358ead83812aa4d06bdb96
+
+post_install() {
+	vlicense LICENSE
+}

From 9c465989b2167c691ba08c0c2cfbfee7a3e03e8f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:52:29 +0200
Subject: [PATCH 17/20] New package: python3-jupyter_nbclassic-0.2.8

---
 srcpkgs/python3-jupyter_nbclassic/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_nbclassic/template

diff --git a/srcpkgs/python3-jupyter_nbclassic/template b/srcpkgs/python3-jupyter_nbclassic/template
new file mode 100644
index 000000000000..9d267219ca9a
--- /dev/null
+++ b/srcpkgs/python3-jupyter_nbclassic/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyter_nbclassic'
+pkgname=python3-jupyter_nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+
+post_install() {
+	vlicense LICENSE
+}

From ebd1a085d30fc3d5715de48d9376c8828abadb96 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 18/20] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..781be9460360
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+python3-jupyter_nbconvert python3-terminado
+python3-prometheus_client python3-traitlets python3-tornado
+python3-Jinja2 python3-send2trash python3-websocket-client"
+# python-jupyter_packaging
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+
+post_install() {
+	vlicense COPYING.md
+}

From d9c6e174ec66f79e579f6640090a124260f6e5e4 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 19/20] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..92bd959615a2
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Set of server components for JupyterLab and JupyterLab like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+
+post_install() {
+	vlicense LICENSE
+}

From 28a5ee246bf00f0589fe7fb097360f41f8cc5fe7 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 20/20] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..928efeb60779
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,17 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-jupyter_nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [wip] new package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
@ 2021-05-14 16:06 ` dkwo
  2021-05-14 16:08 ` dkwo
                   ` (33 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-14 16:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-841339507

Comment:
@ahesford Could you help me fix this loop?
`Build-time cyclic dependency python3-ipython_ipykernel(host), python3-jupyter_client(host), python3-ipython_ipykernel(host) detected.`

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [wip] new package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
  2021-05-14 16:06 ` dkwo
@ 2021-05-14 16:08 ` dkwo
  2021-05-14 16:28 ` FollieHiyuki
                   ` (32 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-14 16:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-841340619

Comment:
also, I'm not sure what to do with this
`srcpkgs/python3-json5/template:16: license Apache-2.0 should not be installed`

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [wip] new package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
  2021-05-14 16:06 ` dkwo
  2021-05-14 16:08 ` dkwo
@ 2021-05-14 16:28 ` FollieHiyuki
  2021-05-15 11:48 ` [PR PATCH] [Updated] " dkwo
                   ` (31 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: FollieHiyuki @ 2021-05-14 16:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-841353573

Comment:
> also, I'm not sure what to do with this `srcpkgs/python3-json5/template:16: license Apache-2.0 should not be installed`

You can drop the `post_install()` with vlicense


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] [wip] new package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (2 preceding siblings ...)
  2021-05-14 16:28 ` FollieHiyuki
@ 2021-05-15 11:48 ` dkwo
  2021-05-15 12:13 ` dkwo
                   ` (30 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-15 11:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

[wip] new package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 32784 bytes --]

From b82308e9766140d1902027c71a7d9eba83401e70 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..d9f5478dc9e0 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
@@ -13,12 +13,12 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
 
 do_check() {
 	# Those two tests are problematic in python 3.8,
 	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
+	pytest --ignore=ipykernel/inprocess/tests
 }
 
 post_install() {

From dae6dab1948cbbf22a9c84a116c2985c3098a699 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From 8988006166b0640aa82de30eae2a50830c251997 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..5ad39cf7f279
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From a913ba9e054497ead8770a069b02128adb678203 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0

---
 .../patches/test_session.patch                | 15 -------------
 srcpkgs/python3-jupyter_client/template       | 22 ++++++++-----------
 2 files changed, 9 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..d06b9b7642c0 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,29 +1,25 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.2.0
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
+checkdepends="python3-pytest python3-async_generator python3-msgpack
+ python3-Sphinx $depends"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9
 conflicts="python-jupyter_client<=5.2.4_2"
 
 do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
+	# test_install_kernel_spec_prefix runs fine in-tree but fails when
+	# running xbps-src check
 	pytest -k 'not test_install_kernel_spec_prefix'
 }
 

From 001ea4ea830c0e53bb7115a00bd720b54d39885a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/20]  python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 10 +++-------
 2 files changed, 3 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..53de02560075 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,14 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
 
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
-
 post_install() {
 	vlicense COPYING.md LICENSE
 }

From 52412ac3a113cd8b134df9e5705b438774ebf6c8 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/20]  python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..61c6e81360ad 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,23 +1,22 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
+checkdepends="$depends python3-pytest python3-ipython_ipykernel"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
 
 do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
+	python3 -m pytest -k 'not test_jupyter_path_prefer_env'
 }
 
 post_install() {

From d6ca595ef9cd1f9232b4f5c1029b73f82f0ca76d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/20]  New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..0d341b4e5e28
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7a73fb345d2d8600dbc5eb97a8aa8fe21899c5c7 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..4abf04331bca
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From edf0dc181aca846171308526d895f4ce8d6c1dd4 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/20]  python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 -----------
 srcpkgs/python3-jupyter_nbconvert/template    | 28 ++++++-------------
 2 files changed, 9 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..59d7d2c5014a 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,26 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
 
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
-
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From dcf644e9536d67a0fbecfe6ce736ef281d3aab7c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From b4afbb4b23c7eefe46b80f902c3d6c682afb28fc Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From 6e2806941f2d78b3d5b566aa88fb10050b47b8d4 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..386376360c60 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,19 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From 4d3b625e0d72ad4b0c7f5c1a3423becafe9bfd93 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/20] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..6242a0fab219
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="Nathan Owens <ndowens@artixlinux.org>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From bff1e41ef6ca5c9cd48f5036b5c11a280d57b4d1 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/20] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..b32387ade0a8 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From 42f2833a3cfdb82ac4b03b3ae714455a3cece3a9 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/20] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..f7ec544ead12
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+
+post_install() {
+	vlicense LICENSE
+}

From ba14450e5227f9c3798ced33c946bfdaaf47acd6 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/20] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..84483176d2a5
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=json5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${PYPI_SITE}/j/json5/json5-${version}.tar.gz"
+checksum=703cfee540790576b56a92e1c6aaa6c4b0d98971dc358ead83812aa4d06bdb96

From b4da73e7d1a171556de7d94f46ca4f88a6bb3148 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:52:29 +0200
Subject: [PATCH 17/20] New package: python3-jupyter_nbclassic-0.2.8

---
 srcpkgs/python3-jupyter_nbclassic/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_nbclassic/template

diff --git a/srcpkgs/python3-jupyter_nbclassic/template b/srcpkgs/python3-jupyter_nbclassic/template
new file mode 100644
index 000000000000..9d267219ca9a
--- /dev/null
+++ b/srcpkgs/python3-jupyter_nbclassic/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyter_nbclassic'
+pkgname=python3-jupyter_nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+
+post_install() {
+	vlicense LICENSE
+}

From c5d442d1a44eea21fadc3267ec44e9de2529026a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 18/20] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..781be9460360
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+python3-jupyter_nbconvert python3-terminado
+python3-prometheus_client python3-traitlets python3-tornado
+python3-Jinja2 python3-send2trash python3-websocket-client"
+# python-jupyter_packaging
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+
+post_install() {
+	vlicense COPYING.md
+}

From 0d358763eebb255d1b1763bf446d0477f77201b7 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 19/20] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..aec757d35f1f
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+
+post_install() {
+	vlicense LICENSE
+}

From a204bbc841d21ab99932fa27a3f61e3ac508a830 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 20/20] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..928efeb60779
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,17 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-jupyter_nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] [wip] new package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (3 preceding siblings ...)
  2021-05-15 11:48 ` [PR PATCH] [Updated] " dkwo
@ 2021-05-15 12:13 ` dkwo
  2021-05-15 12:18 ` New " dkwo
                   ` (29 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-15 12:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

[wip] new package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 32784 bytes --]

From b82308e9766140d1902027c71a7d9eba83401e70 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..d9f5478dc9e0 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
@@ -13,12 +13,12 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
 
 do_check() {
 	# Those two tests are problematic in python 3.8,
 	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
+	pytest --ignore=ipykernel/inprocess/tests
 }
 
 post_install() {

From dae6dab1948cbbf22a9c84a116c2985c3098a699 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From 8988006166b0640aa82de30eae2a50830c251997 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..5ad39cf7f279
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From 36149bddfc5573b6bedc08633593a601c8d5d9bd Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0

---
 .../patches/test_session.patch                | 15 -------------
 srcpkgs/python3-jupyter_client/template       | 22 ++++++++-----------
 2 files changed, 9 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..0379755040b7 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,29 +1,25 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.2.0
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
+checkdepends="python3-pytest python3-async_generator python3-msgpack
+ python3-ipython_ipykernel python3-Sphinx $depends"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9
 conflicts="python-jupyter_client<=5.2.4_2"
 
 do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
+	# test_install_kernel_spec_prefix runs fine in-tree but fails when
+	# running xbps-src check
 	pytest -k 'not test_install_kernel_spec_prefix'
 }
 

From 33a0aa5aef33679c67d7536bb37b71979cdbcfe4 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/20]  python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 10 +++-------
 2 files changed, 3 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..53de02560075 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,14 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
 
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
-
 post_install() {
 	vlicense COPYING.md LICENSE
 }

From 3cbbc17a258938b34c33f41770b59fd48f2c57a4 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/20]  python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..61c6e81360ad 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,23 +1,22 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
+checkdepends="$depends python3-pytest python3-ipython_ipykernel"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
 
 do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
+	python3 -m pytest -k 'not test_jupyter_path_prefer_env'
 }
 
 post_install() {

From e794eb5be54c63d3a733b7a6d70208b8f061c0a4 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/20]  New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..0d341b4e5e28
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 1bb701f92381aacdba049dea24bda2aaed49da16 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..4abf04331bca
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From c5ef84255d05614d0c0e1ce339fe9b45ef7805ed Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/20]  python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 -----------
 srcpkgs/python3-jupyter_nbconvert/template    | 28 ++++++-------------
 2 files changed, 9 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..59d7d2c5014a 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,26 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
 
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
-
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From 2a360ce70ec759edf82af97bea67f10a9d90c990 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From bb296d8292aaf080b538d3756f7c3d231dbdc06c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From 09705d5c07b55681d77ccf9e8ac43bac0d735342 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..386376360c60 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,19 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From 5b54d18810c1d298be769c606ba830a821b09712 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/20] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..6242a0fab219
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="Nathan Owens <ndowens@artixlinux.org>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From e892fd3b68243a45fac6517b73c44a15d60c2405 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/20] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..b32387ade0a8 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From caf1787d67a91c5b251bc03ec47a59b62b43304c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/20] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..f7ec544ead12
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+
+post_install() {
+	vlicense LICENSE
+}

From 947b9b6a60607c77ac2fefe2b90b7aed94577d8f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/20] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..84483176d2a5
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=json5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${PYPI_SITE}/j/json5/json5-${version}.tar.gz"
+checksum=703cfee540790576b56a92e1c6aaa6c4b0d98971dc358ead83812aa4d06bdb96

From 61931c2d644c25fccaa8352c0fa73d13b58af082 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:52:29 +0200
Subject: [PATCH 17/20] New package: python3-jupyter_nbclassic-0.2.8

---
 srcpkgs/python3-jupyter_nbclassic/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_nbclassic/template

diff --git a/srcpkgs/python3-jupyter_nbclassic/template b/srcpkgs/python3-jupyter_nbclassic/template
new file mode 100644
index 000000000000..9d267219ca9a
--- /dev/null
+++ b/srcpkgs/python3-jupyter_nbclassic/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyter_nbclassic'
+pkgname=python3-jupyter_nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+
+post_install() {
+	vlicense LICENSE
+}

From bb25f03e5445cc20c1cbfa81384a1d0736812808 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 18/20] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..52113c84cca0
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+ python3-jupyter_nbconvert python3-terminado
+ python3-prometheus_client python3-traitlets python3-tornado
+ python3-Jinja2 python3-send2trash python3-websocket-client"
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+
+post_install() {
+	vlicense COPYING.md
+}

From c1898a778033d9b16bf589e2a3c729e2c7574d93 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 19/20] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..aec757d35f1f
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+
+post_install() {
+	vlicense LICENSE
+}

From 72c55bcbf8e3d78d64a7f11044211ab01d8d885e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 20/20] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..928efeb60779
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,17 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-jupyter_nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (4 preceding siblings ...)
  2021-05-15 12:13 ` dkwo
@ 2021-05-15 12:18 ` dkwo
  2021-05-15 12:30 ` ahesford
                   ` (28 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-15 12:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 290 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-841649338

Comment:
This doesn't seem a real build-time cycle, rather a runtime dependency that is not correctly handled by `xbps-src`, so I think this is ready for review.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (5 preceding siblings ...)
  2021-05-15 12:18 ` New " dkwo
@ 2021-05-15 12:30 ` ahesford
  2021-05-21 16:36 ` [PR PATCH] [Updated] " ahesford
                   ` (27 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: ahesford @ 2021-05-15 12:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-841652011

Comment:
The cycle is probably introduced by `checkdepends`. I encountered this at one point and disabled tests in one template because they failed anyway, and that broke the cycle. I'll take a look to see where the cycle is in this case.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (6 preceding siblings ...)
  2021-05-15 12:30 ` ahesford
@ 2021-05-21 16:36 ` ahesford
  2021-05-21 16:42 ` ahesford
                   ` (26 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: ahesford @ 2021-05-21 16:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

There is an updated pull request by ahesford against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

New package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 33263 bytes --]

From d19b2e4736839f873d1ac591221cb238e5e2934d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..4cf95a85c8d6 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,25 +1,20 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
  python3-jupyter_client python3-traitlets python3-tornado"
 depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
-checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose"
 short_desc="IPython kernel for Jupyter (Python3)"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
-
-do_check() {
-	# Those two tests are problematic in python 3.8,
-	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
-}
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
+# checks create a cycle with python3-jupyter_core and python3-jupyter_client
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 83c77a4ef2768615c8be4748bed49bb5856fa907 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From 2d358e51b2004bacc3a62f3c468c879488267295 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..5ad39cf7f279
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From 7c9b056143cdbbf05aad4e9c1ab6b500b874c0d6 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0

---
 .../patches/test_session.patch                | 15 ------------
 srcpkgs/python3-jupyter_client/template       | 24 ++++++-------------
 2 files changed, 7 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..99a46093dec7 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,31 +1,21 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.2.0
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9
 conflicts="python-jupyter_client<=5.2.4_2"
-
-do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
-	pytest -k 'not test_install_kernel_spec_prefix'
-}
+# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From ec02d75118a83472293139be3417721c6c40f1c9 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/20] python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 10 +++-------
 2 files changed, 3 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..53de02560075 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,14 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
 
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
-
 post_install() {
 	vlicense COPYING.md LICENSE
 }

From 937c247fec52478098221889dc3db04561964886 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/20] python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..ceb91e029f5b 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,24 +1,20 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
-
-do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
-}
+# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 17cc37a364c6477ac2a0e6a2718859b0607ec6fd Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/20] New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..0d341b4e5e28
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From c7965b60e5534f10bb66e9c0cbdc01e344135fa2 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..4abf04331bca
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From fa34747e8f8f6cf5139dec38eab72c0784b136b3 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/20] python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 -----------
 srcpkgs/python3-jupyter_nbconvert/template    | 28 ++++++-------------
 2 files changed, 9 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..59d7d2c5014a 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,26 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
 
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
-
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From 9cd5fc7842efa7dc8be34609201e8a44ffe78c44 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From d52a0619aadf25f22676fe9fc7d1c3a461c57e22 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From 4ad1f31f8976900ef828f0a87bd147d04fb41925 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..916a2d3164e3 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,20 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
+checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From 51425078b97ea174b7e1020d409c47c6fba55bd9 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/20] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..6242a0fab219
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="Nathan Owens <ndowens@artixlinux.org>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From b9061a38ff969d6badbfc39aaf4ab7a787bd959a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/20] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..4dbe5964dd38 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-ptyprocess python3-tornado"
+checkdepends="python3-pytest $depends"
 short_desc="Terminals served to term.js using Tornado websockets (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From 6c224a039d0506fd21ae90953e4aa4bae348d58a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/20] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..f7ec544ead12
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+
+post_install() {
+	vlicense LICENSE
+}

From 51e0fb9efb1b574d2d3ffc4fba49f5bb839051b1 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/20] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..84483176d2a5
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=json5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${PYPI_SITE}/j/json5/json5-${version}.tar.gz"
+checksum=703cfee540790576b56a92e1c6aaa6c4b0d98971dc358ead83812aa4d06bdb96

From d48480e52031687a24a3b6a43ffd77ec000559ff Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:52:29 +0200
Subject: [PATCH 17/20] New package: python3-jupyter_nbclassic-0.2.8

---
 srcpkgs/python3-jupyter_nbclassic/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_nbclassic/template

diff --git a/srcpkgs/python3-jupyter_nbclassic/template b/srcpkgs/python3-jupyter_nbclassic/template
new file mode 100644
index 000000000000..9d267219ca9a
--- /dev/null
+++ b/srcpkgs/python3-jupyter_nbclassic/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyter_nbclassic'
+pkgname=python3-jupyter_nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+
+post_install() {
+	vlicense LICENSE
+}

From 03c9020eda2a0e250d8d36f8fc4ea21e7c50a580 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 18/20] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..52113c84cca0
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+ python3-jupyter_nbconvert python3-terminado
+ python3-prometheus_client python3-traitlets python3-tornado
+ python3-Jinja2 python3-send2trash python3-websocket-client"
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+
+post_install() {
+	vlicense COPYING.md
+}

From e7d6f0784a535473d76399f4acdea7750eb7323e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 19/20] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..aec757d35f1f
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+
+post_install() {
+	vlicense LICENSE
+}

From 4a7ed39ec5f9ae17ad737633da4ab1c5c4d08e8f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 20/20] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..928efeb60779
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,17 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-jupyter_nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (7 preceding siblings ...)
  2021-05-21 16:36 ` [PR PATCH] [Updated] " ahesford
@ 2021-05-21 16:42 ` ahesford
  2021-05-22 18:25 ` [PR PATCH] [Updated] " dkwo
                   ` (25 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: ahesford @ 2021-05-21 16:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-846094493

Comment:
I force-pushed a couple of fixes and broke the check cycle by disabling checks in `python3-jupyter_core`, `python3_jupyter_client` and `python3-ipython_ipykernel`. However, there are still some changes that should be made:
1. Please take ownership of all the new packages added here. I am not interested in maintaining the ones I added to support my earlier effort, and you should also control `python3-pyrsistent` since you are adding it to support Jupyter.
2. There are still some other tests that fail and need to be reconciled. I didn't fix everything in the list.
3. Rename `python3-jupyter_nbclassic` to `python3-nbclassic`. (Most of the existing `python3-jupyter*` packages are misnamed, but I don't know if we want to bother renaming them now; we should at least pick the right name for new packages.)
4. I don't think this resolves the `jupyter console` issue I was having, which also triggers some test failures in (I think) `python3-nbformat`. This seems to be related to PyZMQ, but I haven't dug into it and am not sure if there is an upstream fix somewhere. That needs to be resolved.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (8 preceding siblings ...)
  2021-05-21 16:42 ` ahesford
@ 2021-05-22 18:25 ` dkwo
  2021-05-22 18:28 ` dkwo
                   ` (24 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-22 18:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

New package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 33183 bytes --]

From d19b2e4736839f873d1ac591221cb238e5e2934d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..4cf95a85c8d6 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,25 +1,20 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
  python3-jupyter_client python3-traitlets python3-tornado"
 depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
-checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose"
 short_desc="IPython kernel for Jupyter (Python3)"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
-
-do_check() {
-	# Those two tests are problematic in python 3.8,
-	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
-}
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
+# checks create a cycle with python3-jupyter_core and python3-jupyter_client
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 83c77a4ef2768615c8be4748bed49bb5856fa907 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From 1fcddbeb9e3ab4820dc04c20cd1db09d7bf853f0 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..00ecc33a132b
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From 5449d3cecb048fc5211d65ffffa77f26465be2e5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0

---
 .../patches/test_session.patch                | 15 ------------
 srcpkgs/python3-jupyter_client/template       | 24 ++++++-------------
 2 files changed, 7 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..99a46093dec7 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,31 +1,21 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.2.0
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9
 conflicts="python-jupyter_client<=5.2.4_2"
-
-do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
-	pytest -k 'not test_install_kernel_spec_prefix'
-}
+# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 922c18d10b0c57fefdcd447e07d17c9c6717e429 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/20] python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 10 +++-------
 2 files changed, 3 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..53de02560075 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,14 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
 
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
-
 post_install() {
 	vlicense COPYING.md LICENSE
 }

From 6a1431956aaa80af45567d097c0e839059a74056 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/20] python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..ceb91e029f5b 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,24 +1,20 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
-
-do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
-}
+# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 4e49fb3dcd72bbc90346757484fe647236347b4e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/20] New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..e0d031841387
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From b277ec589791eeffbec6c9908a63fe48d0798fdd Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..f97fd91f3d4c
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 90871bf784e8b8c7b4cf230663f55599f994ac53 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/20] python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 -----------
 srcpkgs/python3-jupyter_nbconvert/template    | 28 ++++++-------------
 2 files changed, 9 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..59d7d2c5014a 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,26 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
 
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
-
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From ca2939dd7453d7614fd0d62151e03f749893a40a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From 12237f1a29df068477bb3fe0c621a21d98240ddd Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From 5aa146122b6816d3e9a223542b455f2e9b92d0aa Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..916a2d3164e3 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,20 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
+checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From 8748884a978307255116f4a8be802213dcecfac0 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/20] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..1162f8d74ede
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From 6f64f4d6763987745784b0ad681bb238fb89f9e5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/20] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..4dbe5964dd38 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-ptyprocess python3-tornado"
+checkdepends="python3-pytest $depends"
 short_desc="Terminals served to term.js using Tornado websockets (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From e0d792be241920838882be08c9fb81d423d9b3f3 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/20] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..f7ec544ead12
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+
+post_install() {
+	vlicense LICENSE
+}

From ce210ce392c84c148df860f55cd36070af636bc2 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/20] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..84483176d2a5
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=json5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${PYPI_SITE}/j/json5/json5-${version}.tar.gz"
+checksum=703cfee540790576b56a92e1c6aaa6c4b0d98971dc358ead83812aa4d06bdb96

From cfed2867cddc3e5a98d02f497debff5d6dc9a3ed Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 17/20] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..52113c84cca0
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+ python3-jupyter_nbconvert python3-terminado
+ python3-prometheus_client python3-traitlets python3-tornado
+ python3-Jinja2 python3-send2trash python3-websocket-client"
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+
+post_install() {
+	vlicense COPYING.md
+}

From 2c21b4583ab58556aa74edeb946731ba3c31e4b7 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 18/20] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..aec757d35f1f
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+
+post_install() {
+	vlicense LICENSE
+}

From dcef50bd57a32a9b2a171acc251f53a475d934ff Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 19/20] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..3060d5415553
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,17 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+
+post_install() {
+	vlicense LICENSE
+}

From fe05b935b26102bea502d5f8162dc1685253b35a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 22 May 2021 20:20:05 +0200
Subject: [PATCH 20/20]  New package: python3-nbclassic-0.2.8

---
 srcpkgs/python3-nbclassic/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-nbclassic/template

diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
new file mode 100644
index 000000000000..ddb4c5660e6d
--- /dev/null
+++ b/srcpkgs/python3-nbclassic/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-nbclassic'
+pkgname=python3-nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (9 preceding siblings ...)
  2021-05-22 18:25 ` [PR PATCH] [Updated] " dkwo
@ 2021-05-22 18:28 ` dkwo
  2021-05-22 19:01 ` dkwo
                   ` (23 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-22 18:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-846446487

Comment:
@ahesford Thanks. I fixed the easy stuff, will look at tests now.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (10 preceding siblings ...)
  2021-05-22 18:28 ` dkwo
@ 2021-05-22 19:01 ` dkwo
  2021-05-22 21:24 ` [PR PATCH] [Updated] " dkwo
                   ` (22 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-22 19:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-846450282

Comment:
if on my machine I do
```
./xbps-src update-bulk
./xbps-src check python3-jupyter_nbconvert
```
then I get
`========== 275 passed, 5 skipped, 5 deselected, 5 warnings in 49.49s ===========`
Why is it failing on ci?

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (11 preceding siblings ...)
  2021-05-22 19:01 ` dkwo
@ 2021-05-22 21:24 ` dkwo
  2021-05-22 21:36 ` dkwo
                   ` (21 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-22 21:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

New package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 33240 bytes --]

From d19b2e4736839f873d1ac591221cb238e5e2934d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..4cf95a85c8d6 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,25 +1,20 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
  python3-jupyter_client python3-traitlets python3-tornado"
 depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
-checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose"
 short_desc="IPython kernel for Jupyter (Python3)"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
-
-do_check() {
-	# Those two tests are problematic in python 3.8,
-	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
-}
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
+# checks create a cycle with python3-jupyter_core and python3-jupyter_client
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 83c77a4ef2768615c8be4748bed49bb5856fa907 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From 1fcddbeb9e3ab4820dc04c20cd1db09d7bf853f0 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..00ecc33a132b
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From 5449d3cecb048fc5211d65ffffa77f26465be2e5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0

---
 .../patches/test_session.patch                | 15 ------------
 srcpkgs/python3-jupyter_client/template       | 24 ++++++-------------
 2 files changed, 7 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..99a46093dec7 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,31 +1,21 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.2.0
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9
 conflicts="python-jupyter_client<=5.2.4_2"
-
-do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
-	pytest -k 'not test_install_kernel_spec_prefix'
-}
+# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 922c18d10b0c57fefdcd447e07d17c9c6717e429 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/20] python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 10 +++-------
 2 files changed, 3 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..53de02560075 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,14 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
 
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
-
 post_install() {
 	vlicense COPYING.md LICENSE
 }

From 6a1431956aaa80af45567d097c0e839059a74056 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/20] python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..ceb91e029f5b 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,24 +1,20 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
-
-do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
-}
+# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 4e49fb3dcd72bbc90346757484fe647236347b4e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/20] New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..e0d031841387
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From b277ec589791eeffbec6c9908a63fe48d0798fdd Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..f97fd91f3d4c
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 90871bf784e8b8c7b4cf230663f55599f994ac53 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/20] python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 -----------
 srcpkgs/python3-jupyter_nbconvert/template    | 28 ++++++-------------
 2 files changed, 9 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..59d7d2c5014a 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,26 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
 
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
-
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From ca2939dd7453d7614fd0d62151e03f749893a40a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From 12237f1a29df068477bb3fe0c621a21d98240ddd Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From 5aa146122b6816d3e9a223542b455f2e9b92d0aa Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..916a2d3164e3 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,20 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
+checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From 8748884a978307255116f4a8be802213dcecfac0 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/20] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..1162f8d74ede
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From 6f64f4d6763987745784b0ad681bb238fb89f9e5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/20] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..4dbe5964dd38 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-ptyprocess python3-tornado"
+checkdepends="python3-pytest $depends"
 short_desc="Terminals served to term.js using Tornado websockets (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From e0d792be241920838882be08c9fb81d423d9b3f3 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/20] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..f7ec544ead12
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+
+post_install() {
+	vlicense LICENSE
+}

From 23691572110bbc02ea07b1ed0ce45de4239b49ae Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/20] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..93e359df6d13
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=pyjson5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-pytest python3-hypothesis"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=4631b8a6c61704b7942fe9d16a1e95f2b26a2bdcc38a1fdc3b5c984f2e861045

From e9462324ebe7201cc67721d200e521ceb56b5998 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 17/20] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..52113c84cca0
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+ python3-jupyter_nbconvert python3-terminado
+ python3-prometheus_client python3-traitlets python3-tornado
+ python3-Jinja2 python3-send2trash python3-websocket-client"
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+
+post_install() {
+	vlicense COPYING.md
+}

From 1d2794df53927ef3ea7be4f4a380fc5e03847b8d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 18/20] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..aec757d35f1f
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+
+post_install() {
+	vlicense LICENSE
+}

From 15f303eebf6ea3abe4434111096ae0cb2cd5391c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 19/20] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..3060d5415553
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,17 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+
+post_install() {
+	vlicense LICENSE
+}

From a219040777b04c2cd64f28b726220fc46d931173 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 22 May 2021 20:20:05 +0200
Subject: [PATCH 20/20]  New package: python3-nbclassic-0.2.8

---
 srcpkgs/python3-nbclassic/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-nbclassic/template

diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
new file mode 100644
index 000000000000..ddb4c5660e6d
--- /dev/null
+++ b/srcpkgs/python3-nbclassic/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-nbclassic'
+pkgname=python3-nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (12 preceding siblings ...)
  2021-05-22 21:24 ` [PR PATCH] [Updated] " dkwo
@ 2021-05-22 21:36 ` dkwo
  2021-05-22 21:50 ` dkwo
                   ` (20 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-22 21:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-846450282

Comment:
If on my machine I do
```
./xbps-src update-bulk
./xbps-src check python3-jupyter_nbconvert
```
then I get
`========== 275 passed, 5 skipped, 5 deselected, 5 warnings in 49.49s ===========`
Why is it failing on ci?

I fixed `json5`, but I'm still unable to fix`anyio`, `jupyter_server`, `jupyterlab_server`, `jupyterlab`, `nbclassic` due presumably to missing packages in Void. Can I skip test for these?

Finally, `jupyter_console` was probably broken already before, but
```
 ./xbps-src check python3-jupyter_nbformat
======================= 99 passed, 2 deselected in 0.34s =======================
```
so that seems fine.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (13 preceding siblings ...)
  2021-05-22 21:36 ` dkwo
@ 2021-05-22 21:50 ` dkwo
  2021-05-26 18:31 ` [PR REVIEW] " non-Jedi
                   ` (19 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-22 21:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 842 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-846450282

Comment:
If on my machine I do
```
./xbps-src update-bulk
./xbps-src check python3-jupyter_nbconvert
```
then I get
`========== 275 passed, 5 skipped, 5 deselected, 5 warnings in 49.49s ===========`
Why is it failing on ci?

I fixed `json5`, but I'm still unable to fix`anyio`, `jupyter_server`, `jupyterlab_server`, `jupyterlab`, `nbclassic` due presumably to missing packages in Void, or their depending on packages that already skip tests. Can I skip test for these as well?

Finally, `jupyter_console` was probably broken already before, but
```
 ./xbps-src check python3-jupyter_nbformat
======================= 99 passed, 2 deselected in 0.34s =======================
```
so that seems fine.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR REVIEW] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (14 preceding siblings ...)
  2021-05-22 21:50 ` dkwo
@ 2021-05-26 18:31 ` non-Jedi
  2021-05-27 18:53 ` dkwo
                   ` (18 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: non-Jedi @ 2021-05-26 18:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

New review comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#discussion_r640024254

Comment:
Could you please add an explanation to this commit that `jupyter_console` now unconditionally uses setuptools rather than distutils (explaining why patch is deleted).

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR REVIEW] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (15 preceding siblings ...)
  2021-05-26 18:31 ` [PR REVIEW] " non-Jedi
@ 2021-05-27 18:53 ` dkwo
  2021-05-27 19:06 ` non-Jedi
                   ` (17 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-05-27 18:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#discussion_r640886456

Comment:
I've forked this commit from @ahesford , so I'm not sure about their reason. However, it seems to build fine without. What was the reason for adding patch?

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR REVIEW] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (16 preceding siblings ...)
  2021-05-27 18:53 ` dkwo
@ 2021-05-27 19:06 ` non-Jedi
  2021-05-27 19:07 ` non-Jedi
                   ` (16 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: non-Jedi @ 2021-05-27 19:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 370 bytes --]

New review comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#discussion_r640894484

Comment:
Yep. It should be fine without now since recent versions of jupyter_console made the change to `setuptools`. This patch was necessary because `distutils` doesn't generate the `/usr/bin/jupyter-console` script during build.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR REVIEW] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (17 preceding siblings ...)
  2021-05-27 19:06 ` non-Jedi
@ 2021-05-27 19:07 ` non-Jedi
  2021-06-02  8:21 ` dkwo
                   ` (15 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: non-Jedi @ 2021-05-27 19:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

New review comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#discussion_r640894484

Comment:
Yep. It should be fine without now since recent versions of jupyter_console made the change to `setuptools`. This patch was necessary because `distutils` doesn't generate the `/usr/bin/jupyter-console` script during build. See <https://github.com/void-linux/void-packages/pull/23473>

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR REVIEW] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (18 preceding siblings ...)
  2021-05-27 19:07 ` non-Jedi
@ 2021-06-02  8:21 ` dkwo
  2021-06-02 10:25 ` ahesford
                   ` (14 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-02  8:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#discussion_r643760424

Comment:
Good. Should I add a comment to the commit message?

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR REVIEW] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (19 preceding siblings ...)
  2021-06-02  8:21 ` dkwo
@ 2021-06-02 10:25 ` ahesford
  2021-06-04 17:31 ` [PR PATCH] [Updated] " dkwo
                   ` (13 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: ahesford @ 2021-06-02 10:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#discussion_r643827314

Comment:
No. The patch is obsolete and the reason for its removal is readily discerned. If we took space to explain the removal of every obsolete patch, the commit logs would be awash in noise.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (20 preceding siblings ...)
  2021-06-02 10:25 ` ahesford
@ 2021-06-04 17:31 ` dkwo
  2021-06-04 17:31 ` dkwo
                   ` (12 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-04 17:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

New package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 33276 bytes --]

From d19b2e4736839f873d1ac591221cb238e5e2934d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..4cf95a85c8d6 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,25 +1,20 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
  python3-jupyter_client python3-traitlets python3-tornado"
 depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
-checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose"
 short_desc="IPython kernel for Jupyter (Python3)"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
-
-do_check() {
-	# Those two tests are problematic in python 3.8,
-	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
-}
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
+# checks create a cycle with python3-jupyter_core and python3-jupyter_client
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 83c77a4ef2768615c8be4748bed49bb5856fa907 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From 1fcddbeb9e3ab4820dc04c20cd1db09d7bf853f0 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..00ecc33a132b
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From 5449d3cecb048fc5211d65ffffa77f26465be2e5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0

---
 .../patches/test_session.patch                | 15 ------------
 srcpkgs/python3-jupyter_client/template       | 24 ++++++-------------
 2 files changed, 7 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..99a46093dec7 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,31 +1,21 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.2.0
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9
 conflicts="python-jupyter_client<=5.2.4_2"
-
-do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
-	pytest -k 'not test_install_kernel_spec_prefix'
-}
+# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From af8dae4a549e8dfc4d1403dc744e421eaeb5a28b Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/20] python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 11 ++++-------
 2 files changed, 4 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..a9cc6c6cb843 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,13 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
-
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From fa9c3c60c12fc652cf1b2a3af649ad305b83af29 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/20] python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..ceb91e029f5b 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,24 +1,20 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
-
-do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
-}
+# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From aad10c8c59ed58ec4d0f3d3287e1479e29082898 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/20] New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..e0d031841387
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 92443e44ad328eda989c5fdea10aa43d380d1635 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..f97fd91f3d4c
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7b868afe0bfe6566867d067adf285c4df7fb82f8 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/20] python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 -----------
 srcpkgs/python3-jupyter_nbconvert/template    | 28 ++++++-------------
 2 files changed, 9 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..59d7d2c5014a 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,26 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
 
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
-
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From 2df381c01b9295fef0556ab89b4d4d99495158f2 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From 51c6e7055ebc6f4b905ae73d157c324e036d4fda Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From 9ffbe13644a47b88d8b95de03ba824cf680dccdb Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..916a2d3164e3 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,20 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
+checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From 352437adade5cacc8e832cfa75ff7bff0b99bbfc Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/20] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..1162f8d74ede
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From 9325bcc352eff13f6e9f5c24b6d81fdd37e00a02 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/20] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..4dbe5964dd38 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-ptyprocess python3-tornado"
+checkdepends="python3-pytest $depends"
 short_desc="Terminals served to term.js using Tornado websockets (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From f33d67f41bec41aab650dc30b2b275127363fb89 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/20] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..078d295976e6
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 3a7fc0579a053b253d40ca1a8f0f40c56ce2eca0 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/20] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..84483176d2a5
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=json5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${PYPI_SITE}/j/json5/json5-${version}.tar.gz"
+checksum=703cfee540790576b56a92e1c6aaa6c4b0d98971dc358ead83812aa4d06bdb96

From 46430fe19609612ec4e1776b5672c4c6d8c68e29 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 17/20] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..e54efa88c3a8
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+ python3-jupyter_nbconvert python3-terminado
+ python3-prometheus_client python3-traitlets python3-tornado
+ python3-Jinja2 python3-send2trash python3-websocket-client"
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+make_check=no
+
+post_install() {
+	vlicense COPYING.md
+}

From a7c8cc18a70c168836263809fe917bed7fbcc4cc Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 18/20] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..128cda576ce4
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 62ebf1962cf8d54b3e1a71dc37b14a19249d3e61 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 19/20] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..3c558c4e485a
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,18 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 4b2aeb010a35fbccfba8706b9d4ac3f230abb444 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 22 May 2021 20:20:05 +0200
Subject: [PATCH 20/20]  New package: python3-nbclassic-0.2.8

---
 srcpkgs/python3-nbclassic/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nbclassic/template

diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
new file mode 100644
index 000000000000..3bcc7cf89318
--- /dev/null
+++ b/srcpkgs/python3-nbclassic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nbclassic'
+pkgname=python3-nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (21 preceding siblings ...)
  2021-06-04 17:31 ` [PR PATCH] [Updated] " dkwo
@ 2021-06-04 17:31 ` dkwo
  2021-06-04 17:35 ` [PR PATCH] [Updated] " dkwo
                   ` (11 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-04 17:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-854892791

Comment:
Added `make_check=no` to anyio, jupyter_server, jupyterlab_server, jupyterlab, nbclassic, jupyter_console

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (22 preceding siblings ...)
  2021-06-04 17:31 ` dkwo
@ 2021-06-04 17:35 ` dkwo
  2021-06-05  7:56 ` dkwo
                   ` (10 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-04 17:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

New package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 33276 bytes --]

From 8eb8acd15473777afba1b6c655da57fe9dfc93da Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..4cf95a85c8d6 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,25 +1,20 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
  python3-jupyter_client python3-traitlets python3-tornado"
 depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
-checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose"
 short_desc="IPython kernel for Jupyter (Python3)"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
-
-do_check() {
-	# Those two tests are problematic in python 3.8,
-	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
-}
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
+# checks create a cycle with python3-jupyter_core and python3-jupyter_client
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From a16bf0b9640ef51902d82244b78fb7844a6f661c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From e4d939b7734f8c235f3621aaf4a062a965e2df6e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..00ecc33a132b
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From 36889a1b3594056ccd1cf3c32408f5a98809281e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0

---
 .../patches/test_session.patch                | 15 ------------
 srcpkgs/python3-jupyter_client/template       | 24 ++++++-------------
 2 files changed, 7 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..99a46093dec7 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,31 +1,21 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.2.0
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9
 conflicts="python-jupyter_client<=5.2.4_2"
-
-do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
-	pytest -k 'not test_install_kernel_spec_prefix'
-}
+# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 096f96df405930054255718e9a6bddbb3faf3a7a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/20] python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 11 ++++-------
 2 files changed, 4 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..a9cc6c6cb843 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,13 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
-
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From be7c12523dc1582f964d3d74a0d8f21f654e576b Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/20] python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..ceb91e029f5b 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,24 +1,20 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
-
-do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
-}
+# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From dca85a83bc8a7c74bf69a7ce6e2442ece726e846 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/20] New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..e0d031841387
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7a4186b302a93b7afe624c83434396bada81c51d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..f97fd91f3d4c
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 16afbf6c4536cf8bef999ee5868081cc550ae583 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/20] python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 -----------
 srcpkgs/python3-jupyter_nbconvert/template    | 28 ++++++-------------
 2 files changed, 9 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..59d7d2c5014a 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,26 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
 
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
-
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From 9999b05bf2cf9c6af4502c271e75f6efdfddea4f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From 4a488089c4c1cd6f8c652b1bc95b671df3368f0f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From 6b538fd84cdfc8902ec20566a15ad1dc1e6ecf30 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..916a2d3164e3 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,20 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
+checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From 8caecd6e5c1556dc6f85a1a6bfda16cea22be52a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/20] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..1162f8d74ede
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From bcc239936c04698b22331f71cbbd74588b9385d4 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/20] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..4dbe5964dd38 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-ptyprocess python3-tornado"
+checkdepends="python3-pytest $depends"
 short_desc="Terminals served to term.js using Tornado websockets (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From 06579ad9d69d16b5aaa09dd6f1b657fed343ab9d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/20] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..078d295976e6
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7aad6be8379e8904ca61b2843e0fa4d20a9bb1bb Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/20] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..84483176d2a5
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=json5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${PYPI_SITE}/j/json5/json5-${version}.tar.gz"
+checksum=703cfee540790576b56a92e1c6aaa6c4b0d98971dc358ead83812aa4d06bdb96

From c6b817aa819ce528d909607325385683cb957879 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 17/20] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..e54efa88c3a8
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+ python3-jupyter_nbconvert python3-terminado
+ python3-prometheus_client python3-traitlets python3-tornado
+ python3-Jinja2 python3-send2trash python3-websocket-client"
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+make_check=no
+
+post_install() {
+	vlicense COPYING.md
+}

From e9b74c730bc9a6896dded0ba819840a49ca53a95 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 18/20] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..128cda576ce4
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From e98f2aaf918f7f14abe6c9eb4ba3c43194da82d7 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 19/20] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..3c558c4e485a
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,18 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From af1bcdaeb2c2a05d7583a3389fcda6d4746c586e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 22 May 2021 20:20:05 +0200
Subject: [PATCH 20/20]  New package: python3-nbclassic-0.2.8

---
 srcpkgs/python3-nbclassic/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nbclassic/template

diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
new file mode 100644
index 000000000000..3bcc7cf89318
--- /dev/null
+++ b/srcpkgs/python3-nbclassic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nbclassic'
+pkgname=python3-nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (23 preceding siblings ...)
  2021-06-04 17:35 ` [PR PATCH] [Updated] " dkwo
@ 2021-06-05  7:56 ` dkwo
  2021-06-05  7:57 ` dkwo
                   ` (9 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-05  7:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

New package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 33291 bytes --]

From 8eb8acd15473777afba1b6c655da57fe9dfc93da Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..4cf95a85c8d6 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,25 +1,20 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
  python3-jupyter_client python3-traitlets python3-tornado"
 depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
-checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose"
 short_desc="IPython kernel for Jupyter (Python3)"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
-
-do_check() {
-	# Those two tests are problematic in python 3.8,
-	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
-}
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
+# checks create a cycle with python3-jupyter_core and python3-jupyter_client
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From a16bf0b9640ef51902d82244b78fb7844a6f661c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From e4d939b7734f8c235f3621aaf4a062a965e2df6e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..00ecc33a132b
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From 36889a1b3594056ccd1cf3c32408f5a98809281e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0

---
 .../patches/test_session.patch                | 15 ------------
 srcpkgs/python3-jupyter_client/template       | 24 ++++++-------------
 2 files changed, 7 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..99a46093dec7 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,31 +1,21 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.2.0
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9
 conflicts="python-jupyter_client<=5.2.4_2"
-
-do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
-	pytest -k 'not test_install_kernel_spec_prefix'
-}
+# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 096f96df405930054255718e9a6bddbb3faf3a7a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/20] python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 11 ++++-------
 2 files changed, 4 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..a9cc6c6cb843 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,13 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
-
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From be7c12523dc1582f964d3d74a0d8f21f654e576b Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/20] python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..ceb91e029f5b 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,24 +1,20 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
-
-do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
-}
+# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From dca85a83bc8a7c74bf69a7ce6e2442ece726e846 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/20] New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..e0d031841387
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7a4186b302a93b7afe624c83434396bada81c51d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..f97fd91f3d4c
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From aac1c8305b0524b6db11011e1ca62d3a15791d1f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/20] python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 ----------
 srcpkgs/python3-jupyter_nbconvert/template    | 29 +++++++------------
 2 files changed, 10 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..49acb11d6bbd 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,27 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
-
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
+make_check=no
 
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From 404ba32598a123c681325ce9a43090c97d6d1a23 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From 09d413fff3ab61d377f026e8b2c7c2e4f28a6595 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From fa48d49e41ae38f43636323fb825e8c268d2fc76 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..916a2d3164e3 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,20 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
+checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From 230d0577114bf73e9995c7b92de2466e318c080a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/20] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..1162f8d74ede
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From 87fc180b7befd35b14d696460141db31a14f6caf Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/20] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..4dbe5964dd38 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-ptyprocess python3-tornado"
+checkdepends="python3-pytest $depends"
 short_desc="Terminals served to term.js using Tornado websockets (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From c584e74f9613968bf47c37da48dafb88bc919390 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/20] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..078d295976e6
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 02a0829c46682a8fb320bdc7bd7e2a79e3fdf0b5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/20] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..84483176d2a5
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=json5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${PYPI_SITE}/j/json5/json5-${version}.tar.gz"
+checksum=703cfee540790576b56a92e1c6aaa6c4b0d98971dc358ead83812aa4d06bdb96

From aedbcc43cb8122543513f681cff0119cf8ed7e5d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 17/20] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..e54efa88c3a8
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+ python3-jupyter_nbconvert python3-terminado
+ python3-prometheus_client python3-traitlets python3-tornado
+ python3-Jinja2 python3-send2trash python3-websocket-client"
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+make_check=no
+
+post_install() {
+	vlicense COPYING.md
+}

From 1f1e30cff875404c7df82c0aeaa0eb6a78d28831 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 18/20] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..128cda576ce4
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 23d05ee583a57b9f3ba46bddae86d1ef88955615 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 19/20] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..3c558c4e485a
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,18 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From f6cd84c3b604381e71658d1523a1ea57fd63a136 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 22 May 2021 20:20:05 +0200
Subject: [PATCH 20/20]  New package: python3-nbclassic-0.2.8

---
 srcpkgs/python3-nbclassic/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nbclassic/template

diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
new file mode 100644
index 000000000000..3bcc7cf89318
--- /dev/null
+++ b/srcpkgs/python3-nbclassic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nbclassic'
+pkgname=python3-nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (24 preceding siblings ...)
  2021-06-05  7:56 ` dkwo
@ 2021-06-05  7:57 ` dkwo
  2021-06-05  8:24 ` [PR PATCH] [Updated] " dkwo
                   ` (8 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-05  7:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-854892791

Comment:
Added `make_check=no` to anyio, jupyter_server, jupyterlab_server, jupyterlab, nbclassic, jupyter_console, as well as to python3-jupyter_nbconvert (this one just temporarily, as I said).

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (25 preceding siblings ...)
  2021-06-05  7:57 ` dkwo
@ 2021-06-05  8:24 ` dkwo
  2021-06-05  9:21 ` dkwo
                   ` (7 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-05  8:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

New package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 33333 bytes --]

From 8eb8acd15473777afba1b6c655da57fe9dfc93da Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..4cf95a85c8d6 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,25 +1,20 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
  python3-jupyter_client python3-traitlets python3-tornado"
 depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
-checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose"
 short_desc="IPython kernel for Jupyter (Python3)"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
-
-do_check() {
-	# Those two tests are problematic in python 3.8,
-	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
-}
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
+# checks create a cycle with python3-jupyter_core and python3-jupyter_client
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From a16bf0b9640ef51902d82244b78fb7844a6f661c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From e4d939b7734f8c235f3621aaf4a062a965e2df6e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..00ecc33a132b
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From 36889a1b3594056ccd1cf3c32408f5a98809281e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0

---
 .../patches/test_session.patch                | 15 ------------
 srcpkgs/python3-jupyter_client/template       | 24 ++++++-------------
 2 files changed, 7 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..99a46093dec7 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,31 +1,21 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.2.0
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9
 conflicts="python-jupyter_client<=5.2.4_2"
-
-do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
-	pytest -k 'not test_install_kernel_spec_prefix'
-}
+# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 096f96df405930054255718e9a6bddbb3faf3a7a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/20] python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 11 ++++-------
 2 files changed, 4 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..a9cc6c6cb843 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,13 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
-
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From be7c12523dc1582f964d3d74a0d8f21f654e576b Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/20] python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..ceb91e029f5b 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,24 +1,20 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
-
-do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
-}
+# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From dca85a83bc8a7c74bf69a7ce6e2442ece726e846 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/20] New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..e0d031841387
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7a4186b302a93b7afe624c83434396bada81c51d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..f97fd91f3d4c
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From aac1c8305b0524b6db11011e1ca62d3a15791d1f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/20] python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 ----------
 srcpkgs/python3-jupyter_nbconvert/template    | 29 +++++++------------
 2 files changed, 10 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..49acb11d6bbd 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,27 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
-
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
+make_check=no
 
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From 404ba32598a123c681325ce9a43090c97d6d1a23 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From 09d413fff3ab61d377f026e8b2c7c2e4f28a6595 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From fa48d49e41ae38f43636323fb825e8c268d2fc76 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..916a2d3164e3 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,20 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
+checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From 230d0577114bf73e9995c7b92de2466e318c080a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/20] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..1162f8d74ede
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From 87fc180b7befd35b14d696460141db31a14f6caf Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/20] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..4dbe5964dd38 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-ptyprocess python3-tornado"
+checkdepends="python3-pytest $depends"
 short_desc="Terminals served to term.js using Tornado websockets (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From c584e74f9613968bf47c37da48dafb88bc919390 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/20] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..078d295976e6
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From bebcb6bafb15dc45ffb37ef7169141ad543cadae Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/20] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..97f8771d75d6
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=pyjson5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-hypothesis"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=4631b8a6c61704b7942fe9d16a1e95f2b26a2bdcc38a1fdc3b5c984f2e861045

From ee00aa25a25aaa23ca97924f09616af3794e2770 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 17/20] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..e54efa88c3a8
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+ python3-jupyter_nbconvert python3-terminado
+ python3-prometheus_client python3-traitlets python3-tornado
+ python3-Jinja2 python3-send2trash python3-websocket-client"
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+make_check=no
+
+post_install() {
+	vlicense COPYING.md
+}

From 308a12daf3e043f609cc012ec402c14eadc60c46 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 18/20] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..128cda576ce4
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 05aaed12d15209ae61ae51c0eff4e5b328a2c725 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 19/20] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..3c558c4e485a
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,18 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From eb0aedd6d84fa443e10f6236641bb333b0c65e08 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 22 May 2021 20:20:05 +0200
Subject: [PATCH 20/20]  New package: python3-nbclassic-0.2.8

---
 srcpkgs/python3-nbclassic/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nbclassic/template

diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
new file mode 100644
index 000000000000..3bcc7cf89318
--- /dev/null
+++ b/srcpkgs/python3-nbclassic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nbclassic'
+pkgname=python3-nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (26 preceding siblings ...)
  2021-06-05  8:24 ` [PR PATCH] [Updated] " dkwo
@ 2021-06-05  9:21 ` dkwo
  2021-06-07 13:52 ` ahesford
                   ` (6 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-05  9:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-855211423

Comment:
@ahesford Do you understand why the aarch and arm builds are failing?
The rest seems to be fine now.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (27 preceding siblings ...)
  2021-06-05  9:21 ` dkwo
@ 2021-06-07 13:52 ` ahesford
  2021-06-07 14:14 ` [PR PATCH] [Updated] " dkwo
                   ` (5 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: ahesford @ 2021-06-07 13:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-855949010

Comment:
Python dependencies (like `python3-jupyter_{notebook,server}` in `python3-jupyterlab_server`) should generally go in `hostmakedepends`, not `makedepends`, because the host Python interpreter needs to find them. As a special case, only if the Python packages include headers or shlibs that will be linked against in compiled extensions, the packages should be included in `makedepends` *in adddition* to `hostmakedepends`.

I haven't looked through the other templates in this PR, but you should probably move `python3-*` dependencies from `makedepends` to `hostmakedepends` in all of them.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (28 preceding siblings ...)
  2021-06-07 13:52 ` ahesford
@ 2021-06-07 14:14 ` dkwo
  2021-06-07 15:23 ` ahesford
                   ` (4 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-07 14:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

New package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 33301 bytes --]

From 8eb8acd15473777afba1b6c655da57fe9dfc93da Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/20] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..4cf95a85c8d6 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,25 +1,20 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
  python3-jupyter_client python3-traitlets python3-tornado"
 depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
-checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose"
 short_desc="IPython kernel for Jupyter (Python3)"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
-
-do_check() {
-	# Those two tests are problematic in python 3.8,
-	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
-}
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
+# checks create a cycle with python3-jupyter_core and python3-jupyter_client
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From a16bf0b9640ef51902d82244b78fb7844a6f661c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/20] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From e4d939b7734f8c235f3621aaf4a062a965e2df6e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/20] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..00ecc33a132b
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From 36889a1b3594056ccd1cf3c32408f5a98809281e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/20] python3-jupyter_client: update to 6.2.0

---
 .../patches/test_session.patch                | 15 ------------
 srcpkgs/python3-jupyter_client/template       | 24 ++++++-------------
 2 files changed, 7 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..99a46093dec7 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,31 +1,21 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.2.0
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=e2ab61d79fbf8b56734a4c2499f19830fbd7f6fefb3e87868ef0545cb3c17eb9
 conflicts="python-jupyter_client<=5.2.4_2"
-
-do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
-	pytest -k 'not test_install_kernel_spec_prefix'
-}
+# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 096f96df405930054255718e9a6bddbb3faf3a7a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/20] python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 11 ++++-------
 2 files changed, 4 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..a9cc6c6cb843 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,13 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
-
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From be7c12523dc1582f964d3d74a0d8f21f654e576b Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/20] python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..ceb91e029f5b 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,24 +1,20 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
-
-do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
-}
+# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From dca85a83bc8a7c74bf69a7ce6e2442ece726e846 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/20] New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..e0d031841387
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7a4186b302a93b7afe624c83434396bada81c51d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/20] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..f97fd91f3d4c
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From aac1c8305b0524b6db11011e1ca62d3a15791d1f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/20] python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 ----------
 srcpkgs/python3-jupyter_nbconvert/template    | 29 +++++++------------
 2 files changed, 10 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..49acb11d6bbd 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,27 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
-
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
+make_check=no
 
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From 404ba32598a123c681325ce9a43090c97d6d1a23 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/20] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From 09d413fff3ab61d377f026e8b2c7c2e4f28a6595 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/20] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From fa48d49e41ae38f43636323fb825e8c268d2fc76 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/20] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..916a2d3164e3 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,20 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
+checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From 2e4c720d47dae7f09513468893390caf3963a6e6 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/20] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..a986df06541a
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From 61b36e51312bb633040b3eb4000b35fb5249b9d8 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/20] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..4dbe5964dd38 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-ptyprocess python3-tornado"
+checkdepends="python3-pytest $depends"
 short_desc="Terminals served to term.js using Tornado websockets (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From c03963821f290577e9609157fd4624aa581cdfd6 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/20] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..078d295976e6
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 1b5e868f656e3baf81c3883e1c9e5ddd05c4ccfc Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/20] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..97f8771d75d6
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=pyjson5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-hypothesis"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=4631b8a6c61704b7942fe9d16a1e95f2b26a2bdcc38a1fdc3b5c984f2e861045

From e45494f7896517d6c1e301cecdf6b8039fe9033d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 17/20] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..e54efa88c3a8
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+ python3-jupyter_nbconvert python3-terminado
+ python3-prometheus_client python3-traitlets python3-tornado
+ python3-Jinja2 python3-send2trash python3-websocket-client"
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+make_check=no
+
+post_install() {
+	vlicense COPYING.md
+}

From b029c474c045db71e636ac4717c3c2d31fdad54f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 18/20] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..eb044817dd84
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From b8f574657645f22521cdcbce377d45a320e8b6df Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 19/20] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..3c558c4e485a
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,18 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 77e0b1fb20c46c8e8e123dfcd0a07da81f063c9d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 22 May 2021 20:20:05 +0200
Subject: [PATCH 20/20]  New package: python3-nbclassic-0.2.8

---
 srcpkgs/python3-nbclassic/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nbclassic/template

diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
new file mode 100644
index 000000000000..3bcc7cf89318
--- /dev/null
+++ b/srcpkgs/python3-nbclassic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nbclassic'
+pkgname=python3-nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (29 preceding siblings ...)
  2021-06-07 14:14 ` [PR PATCH] [Updated] " dkwo
@ 2021-06-07 15:23 ` ahesford
  2021-06-07 17:02 ` [PR PATCH] [Updated] " dkwo
                   ` (3 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: ahesford @ 2021-06-07 15:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 808 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-856032572

Comment:
Ok, this looks almost ready to go, but there are two issues:
1. Do you mind bumping the `python3-jupyter` meta-package to agree with `python3-jupyter_core` and taking ownership of that? I split it off some time ago to avoid a build loop.
2. Running `jupyter console` causes an error described in https://github.com/jupyter/jupyter_console/issues/241. Downgrading to our currently packaged `python3-jupyter_client-6.1.0_2` seems to fix the issue. Can you update `python3-jupyter_client` to version 6.1.12 (the last pre-6.2 release that hasn't been yanked) instead of 6.2.0, then make sure everything works as expected? We should delay 6.2 until that issue is fixed.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (30 preceding siblings ...)
  2021-06-07 15:23 ` ahesford
@ 2021-06-07 17:02 ` dkwo
  2021-06-07 17:12 ` dkwo
                   ` (2 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-07 17:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

New package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 34468 bytes --]

From 8eb8acd15473777afba1b6c655da57fe9dfc93da Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/21] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..4cf95a85c8d6 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,25 +1,20 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
  python3-jupyter_client python3-traitlets python3-tornado"
 depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
-checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose"
 short_desc="IPython kernel for Jupyter (Python3)"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
-
-do_check() {
-	# Those two tests are problematic in python 3.8,
-	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
-}
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
+# checks create a cycle with python3-jupyter_core and python3-jupyter_client
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From a16bf0b9640ef51902d82244b78fb7844a6f661c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/21] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From e4d939b7734f8c235f3621aaf4a062a965e2df6e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/21] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..00ecc33a132b
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From 6254aad847deb8316d78afeb92fb77c9cf157802 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/21] python3-jupyter_client: update to 6.1.12

---
 .../patches/test_session.patch                | 15 -----------
 srcpkgs/python3-jupyter_client/template       | 25 ++++++-------------
 2 files changed, 8 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..93b4d4984a42 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,31 +1,22 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.1.12
+# delay 6.2 until jupyter/jupyter_console#241 is fixed
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=c4bca1d0846186ca8be97f4d2fa6d2bae889cce4892a167ffa1ba6bd1f73e782
 conflicts="python-jupyter_client<=5.2.4_2"
-
-do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
-	pytest -k 'not test_install_kernel_spec_prefix'
-}
+# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From b1c715f063bd4f15f37d103a4afc944e30c9180f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/21] python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 11 ++++-------
 2 files changed, 4 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..a9cc6c6cb843 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,13 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
-
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 0f1faf72c2460a1b8fde7235526f5b4409cd5561 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/21] python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..ceb91e029f5b 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,24 +1,20 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
-
-do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
-}
+# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From d013595d7018ce9e1283df0ce96909d31b8aeb72 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/21] New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..e0d031841387
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From c6f71b3cb07065175900f136265e1d8c6979c633 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/21] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..f97fd91f3d4c
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 4bdf1349eda90ab1f06837fed984b5861301c806 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/21] python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 ----------
 srcpkgs/python3-jupyter_nbconvert/template    | 30 +++++++------------
 2 files changed, 11 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..979cf11f0124 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,28 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
-
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
+# working locally, failing on ci, possibly due to other commits
+make_check=no
 
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From cd4c0cef2b027fa300cd868a09816dd891bfda0f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/21] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From 455e1703e4a5d8f65188be61eedc101400f4bc12 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/21] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From e543193edc4e9d53226612b4383eab03db401c4c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/21] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..916a2d3164e3 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,20 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
+checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From ac1bc4f46163612fb5db8a395648ce920bcedce5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/21] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..a986df06541a
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From 162063df8d2f7b62db732c9974e4eed68fc4fc14 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/21] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..4dbe5964dd38 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-ptyprocess python3-tornado"
+checkdepends="python3-pytest $depends"
 short_desc="Terminals served to term.js using Tornado websockets (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From 85d6835e8451b161c9f4c302d6fcd4e9ee3d1558 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/21] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..078d295976e6
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From ca08607b31d53ddd4a487223115db5f4b84775c6 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/21] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..97f8771d75d6
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=pyjson5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-hypothesis"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=4631b8a6c61704b7942fe9d16a1e95f2b26a2bdcc38a1fdc3b5c984f2e861045

From 60669356f9fabb69ba9bc1ee63a5e4edae2f33ce Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 17/21] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..e54efa88c3a8
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+ python3-jupyter_nbconvert python3-terminado
+ python3-prometheus_client python3-traitlets python3-tornado
+ python3-Jinja2 python3-send2trash python3-websocket-client"
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+make_check=no
+
+post_install() {
+	vlicense COPYING.md
+}

From 9d8c8121bc22f8479dbc79b46d1c36d617328fcc Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 18/21] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..eb044817dd84
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 68e43cc3e0ec961269ee41e870446a61b1a52e1a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 19/21] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..3c558c4e485a
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,18 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 71aa27f752b86d663d02ecb82b753e872f0669a0 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 22 May 2021 20:20:05 +0200
Subject: [PATCH 20/21]  New package: python3-nbclassic-0.2.8

---
 srcpkgs/python3-nbclassic/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nbclassic/template

diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
new file mode 100644
index 000000000000..3bcc7cf89318
--- /dev/null
+++ b/srcpkgs/python3-nbclassic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nbclassic'
+pkgname=python3-nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 0ac89495611c133918df4fa88bd757152d8bf78f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Mon, 7 Jun 2021 18:56:09 +0200
Subject: [PATCH 21/21] python3-jupyter: update to 4.7.1 and take ownership

---
 srcpkgs/python3-jupyter/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jupyter/template b/srcpkgs/python3-jupyter/template
index 58c34884363c..b17bd1020c9b 100644
--- a/srcpkgs/python3-jupyter/template
+++ b/srcpkgs/python3-jupyter/template
@@ -2,11 +2,11 @@
 # 
 # THIS PACKAGE WAS SPLIT FROM python3-jupyter_core TO AVOID A DEPENDENCY CYCLE
 pkgname=python3-jupyter
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 build_style=meta
 depends="python3-jupyter_notebook python3-jupyter_console python3-jupyter_ipywidgets"
 short_desc="Jupyter metapackage for Void Linux"
-maintainer="Andrew J. Hesford <ajh@sideband.org>"
-license="BSD-3-Clause"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="GPL-3.0-or-later"
 homepage="https://jupyter.org"

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Updated] New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (31 preceding siblings ...)
  2021-06-07 17:02 ` [PR PATCH] [Updated] " dkwo
@ 2021-06-07 17:12 ` dkwo
  2021-06-07 18:13 ` dkwo
  2021-06-07 19:36 ` [PR PATCH] [Closed]: " ahesford
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-07 17:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages jlab
https://github.com/void-linux/void-packages/pull/30873

New package: jupyterlab
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

A patch file from https://github.com/void-linux/void-packages/pull/30873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jlab-30873.patch --]
[-- Type: text/x-diff, Size: 34468 bytes --]

From 8eb8acd15473777afba1b6c655da57fe9dfc93da Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:40:27 +0200
Subject: [PATCH 01/21] python3-ipython_ipykernel: update to 5.5.4

---
 srcpkgs/python3-ipython_ipykernel/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 36ef97f08d73..4cf95a85c8d6 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,25 +1,20 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=5.2.0
-revision=2
+version=5.5.4
+revision=1
 wrksrc="ipykernel-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-ipython
  python3-jupyter_client python3-traitlets python3-tornado"
 depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
-checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose"
 short_desc="IPython kernel for Jupyter (Python3)"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
-
-do_check() {
-	# Those two tests are problematic in python 3.8,
-	# Old versions of ipykernel are more problematic
-	pytest -k 'not ipykernel/inprocess'
-}
+checksum=1ce0e83672cc3bfdc1ffb5603e1d77ab125f24b41abc4612e22bfb3e994c0db2
+# checks create a cycle with python3-jupyter_core and python3-jupyter_client
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From a16bf0b9640ef51902d82244b78fb7844a6f661c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:11 +0200
Subject: [PATCH 02/21] python3-jupyter_ipywidgets: update to 7.6.3

---
 srcpkgs/python3-jupyter_ipywidgets/template | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index fa38f1632a83..9dd693ee4ae9 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,25 +1,18 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.5.1
-revision=2
-_widgetsnbextver=3.5.0
+version=7.6.3
+revision=1
 wrksrc="ipywidgets-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
- python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest python3-jupyter_widgetsnbextension
- python3-ipython_ipykernel python3-traitlets"
+depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
-
-do_check() {
-	pytest
-}
+checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
 
 post_install() {
 	vlicense LICENSE

From e4d939b7734f8c235f3621aaf4a062a965e2df6e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:41:43 +0200
Subject: [PATCH 03/21] New package: python3-nest_asyncio-1.5.1

---
 srcpkgs/python3-nest_asyncio/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nest_asyncio/template

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
new file mode 100644
index 000000000000..00ecc33a132b
--- /dev/null
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nest_asyncio'
+pkgname=python3-nest_asyncio
+version=1.5.1
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-toml"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python asyncio patch to allow nested event loops"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/erdewit/nest_asyncio"
+distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz"
+checksum=afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa
+
+post_install() {
+	vlicense LICENSE
+}

From 7cc09f3121089fafc95eaa4969bc619b1fda80a0 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:42:25 +0200
Subject: [PATCH 04/21] python3-jupyter_client: update to 6.1.12

---
 .../patches/test_session.patch                | 15 -----------
 srcpkgs/python3-jupyter_client/template       | 25 ++++++-------------
 2 files changed, 8 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch

diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch
deleted file mode 100644
index 2febffe28cf9..000000000000
--- a/srcpkgs/python3-jupyter_client/patches/test_session.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-encoding option is removed from msgpack.unpackb
-See: https://pypi.org/project/msgpack/
-diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py
-index 82d63df..d8636ff 100644
---- jupyter_client/tests/test_session.py
-+++ jupyter_client/tests/test_session.py
-@@ -311,7 +311,7 @@ class TestSession(SessionTestCase):
- 
-         session = ss.Session(
-             pack=msgpack.packb,
--            unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+            unpack=lambda buf: msgpack.unpackb(buf),
-         )
-         self._datetime_test(session)
- 
diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 9dc13b8a261f..50e9f84a6923 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,31 +1,22 @@
 # Template file for 'python3-jupyter_client'
+# delay 6.2 until jupyter/jupyter_console#241 is fixed
 pkgname=python3-jupyter_client
-version=6.1.0
-revision=2
+version=6.1.12
+revision=1
 wrksrc="jupyter_client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
- python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
- python3-simplejson"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-setuptools python3-traitlets python3-jupyter_core
- python3-pyzmq python3-dateutil python3-tornado
- python3-simplejson python3-msgpack python3-Sphinx"
+depends="python3-traitlets python3-jupyter_core python3-pyzmq
+ python3-dateutil python3-tornado python3-nest_asyncio"
 short_desc="Jupyter protocol client APIs"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
+checksum=c4bca1d0846186ca8be97f4d2fa6d2bae889cce4892a167ffa1ba6bd1f73e782
 conflicts="python-jupyter_client<=5.2.4_2"
-
-do_check() {
-	# test_install_kernel_spec_prefix is problematic
-	# The test is fine when run in-tree,
-	# but it's failing in ./xbps-src check
-	pytest -k 'not test_install_kernel_spec_prefix'
-}
+# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 39f7a58d0652967010cf8f8150b55b053c2cc41a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:00 +0200
Subject: [PATCH 05/21] python3-jupyter_console: update to 6.4.0

---
 .../python3-jupyter_console/patches/setuptools.diff   | 11 -----------
 srcpkgs/python3-jupyter_console/template              | 11 ++++-------
 2 files changed, 4 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_console/patches/setuptools.diff

diff --git a/srcpkgs/python3-jupyter_console/patches/setuptools.diff b/srcpkgs/python3-jupyter_console/patches/setuptools.diff
deleted file mode 100644
index 4c39edde077f..000000000000
--- a/srcpkgs/python3-jupyter_console/patches/setuptools.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py
-+++ setup.py
-@@ -51,7 +51,7 @@
- import os
- from glob import glob
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- pjoin = os.path.join
- here = os.path.abspath(os.path.dirname(__file__))
diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template
index f491e1640f5c..a9cc6c6cb843 100644
--- a/srcpkgs/python3-jupyter_console/template
+++ b/srcpkgs/python3-jupyter_console/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_console'
 pkgname=python3-jupyter_console
-version=6.1.0
-revision=5
+version=6.4.0
+revision=1
 wrksrc="jupyter_console-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -13,13 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_console"
 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
-checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
+checksum=242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
 # alternatives will be a conflict
 conflicts="python-jupyter_console<=6.0.0_2"
-
-do_check() {
-	: pytest reports Stdin is not a terminal.
-}
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 8ea9440c0d406b498e179cd86a768f3d282f2be5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:31 +0200
Subject: [PATCH 06/21] python3-jupyter_core: update to 4.7.1

---
 srcpkgs/python3-jupyter_core/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 413be27873f2..ceb91e029f5b 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,24 +1,20 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 wrksrc="jupyter_core-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-traitlets"
-checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
- python3-ipython_ipykernel python3-decorator python3-nose"
 short_desc="Jupyter core package"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
+checksum=79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4
 conflicts="python-jupyter_core<=4.4.0_3"
-
-do_check() {
-	PYTHONPATH=$(pwd)/build/lib py.test
-}
+# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel
+make_check=no
 
 post_install() {
 	vlicense COPYING.md LICENSE

From 287ce945c75721f0711508b09a39bf016ed90488 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:43:56 +0200
Subject: [PATCH 07/21] New package: python3-jupyterlab_pygments-0.1.2

---
 srcpkgs/python3-jupyterlab_pygments/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_pygments/template

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
new file mode 100644
index 000000000000..e0d031841387
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyterlab_pygments'
+pkgname=python3-jupyterlab_pygments
+version=0.1.2
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Pygments"
+short_desc="Pygments theme making use of JupyterLab CSS variables"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/jupyterlab_pygments"
+distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
+checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146
+# Upstream defines no tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 4e7d51fcd516fb97de1e1c2eba8ca87c8703b54e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:44:36 +0200
Subject: [PATCH 08/21] New package: python3-nbclient-0.5.3

---
 srcpkgs/python3-nbclient/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-nbclient/template

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
new file mode 100644
index 000000000000..f97fd91f3d4c
--- /dev/null
+++ b/srcpkgs/python3-nbclient/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-nbclient'
+pkgname=python3-nbclient
+version=0.5.3
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-traitlets python3-jupyter_client
+ python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+short_desc="Client library for executing Jupyter notebooks"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://nbclient.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
+checksum=db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c
+# Package might need to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 368d88648e4db920949109750086dc693e456ac9 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:11 +0200
Subject: [PATCH 09/21] python3-jupyter_nbconvert: update to 6.0.7

---
 .../patches/test-timeout.patch                | 16 ----------
 srcpkgs/python3-jupyter_nbconvert/template    | 30 +++++++------------
 2 files changed, 11 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch

diff --git a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch b/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
deleted file mode 100644
index 172692d34384..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/patches/test-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-This test is used to test other errors instead of TimeoutError,
-according to the attached comment, increase timeout should be fine.
-I run into the timeout 1 out of 10 run.
-diff --git nbconvert/preprocessors/tests/test_execute.py nbconvert/preprocessors/tests/test_execute.py
-index 243a725..a55116e 100644
---- nbconvert/preprocessors/tests/test_execute.py
-+++ nbconvert/preprocessors/tests/test_execute.py
-@@ -317,7 +317,7 @@ def test_many_parallel_notebooks(capfd):
-     with ProcessPool(max_workers=4) as pool:
-         futures = [
-             # Travis needs a lot more time even though 10s is enough on most dev machines
--            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=30)
-+            pool.schedule(run_notebook, args=(input_file, opts, res), timeout=60)
-             for i in range(0, 8)
-         ]
-         for index, future in enumerate(futures):
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index fd3a27576358..979cf11f0124 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,36 +1,28 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=5.6.1
-revision=2
+version=6.0.7
+revision=1
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
- python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
- python3-entrypoints>=0.2.2 python3-testpath python3-bleach
- python3-pandocfilters>=1.4.1 python3-defusedxml"
+depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
+ python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
+ python3-bleach python3-pandocfilters python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
- python3-traitlets python3-jupyter_core python3-jupyter_nbformat
- python3-entrypoints python3-testpath python3-bleach
- python3-pandocfilters python3-defusedxml
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape"
+ python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
 short_desc="Converting Jupyter notebooks"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523
+checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
 conflicts="python-jupyter_nbconvert<=5.4.1_2"
-
-post_patch() {
-	# only 1 test cases in test_nbconvertapp is failing,
-	# but disable it will make everything run into trouble
-	rm -f nbconvert/tests/test_nbconvertapp.py
-}
+# working locally, failing on ci, possibly due to other commits
+make_check=no
 
 do_check() {
-	pytest -k 'not test_run_all_notebooks[SVG.ipynb-opts9]'
+	# WebPDF export depends on unpackaged pyppeteer
+	python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
 }
 
 post_install() {

From 96164c37aa0d022d113c5be39dc2fce61a150cce Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:45:41 +0200
Subject: [PATCH 10/21] python3-jupyter_nbformat: update to 5.1.3

---
 srcpkgs/python3-jupyter_nbformat/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 4a04f11f5fb3..f8d21d621bd8 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,25 +1,24 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.0.4
-revision=2
+version=5.1.3
+revision=1
 wrksrc="nbformat-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
- python3-ipython_genutils python3-jupyter_core"
-checkdepends="python3-pytest python3-testpath
- python3-jsonschema python3-traitlets
+depends="python3-jsonschema python3-traitlets
  python3-ipython_genutils python3-jupyter_core"
+checkdepends="python3-pytest python3-testpath $depends"
 short_desc="Jupyter notebook format"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
+checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 do_check() {
-	pytest
+	# Tests require a non-existent notebook file
+	python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
 }
 
 post_install() {

From f857dedfed6ff7e3c7436757cd138c709e541e35 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:46:09 +0200
Subject: [PATCH 11/21] python3-jupyter_notebook: update to 6.3.0

---
 srcpkgs/python3-jupyter_notebook/template | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index c7a8b2d03904..441ac0f9a4a6 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.0.3
-revision=2
+version=6.3.0
+revision=1
 wrksrc="notebook-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -9,15 +9,16 @@ depends="python3-Jinja2 python3-terminado python3-tornado
  python3-ipython_genutils python3-traitlets python3-jupyter_core
  python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
  python3-ipython_ipykernel python3-send2trash python3-prometheus_client
- mathjax"
-checkdepends="$depends"
+ mathjax python3-argon2"
 short_desc="Jupyter interactive notebook"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org/"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48
+checksum=cbc9398d6c81473e9cdb891d2cae9c0d3718fca289dda6d26df5cb660fcadc7d
 conflicts="python-jupyter_notebook<=5.7.0_2"
+# Tests require unpackaged selenium
+make_check=no
 
 post_install() {
 	vlicense LICENSE
@@ -25,7 +26,3 @@ post_install() {
 	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
-
-do_check() {
-	: no selenium
-}

From 0cfbf066f4af27c0723dea9f80287b12bc493b72 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:47:42 +0200
Subject: [PATCH 12/21] python3-jsonschema: update to 3.2.0

---
 srcpkgs/python3-jsonschema/template | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index c3954b106dc5..916a2d3164e3 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,27 +1,20 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-reverts="3.0.2_1"
-version=2.6.0
-revision=6
+version=3.2.0
+revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
+depends="python3-setuptools python3-six python3-attrs python3-pyrsistent"
+checkdepends="python3-pytest python3-Twisted $depends"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
+changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
-conflicts="python-jsonschema>=0"
+checksum=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
 
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires/d' \
-		-e '/vcversioner/d' \
-		-e "/name=/a\
-		version=\"${version}\","
-}
 post_install() {
 	vlicense COPYING LICENSE
 }

From a3b0d0515a64ca9cd31bca43a32ac4c8e4790869 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:48:15 +0200
Subject: [PATCH 13/21] New package: python3-pyrsistent-0.17.3

---
 srcpkgs/python3-pyrsistent/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-pyrsistent/template

diff --git a/srcpkgs/python3-pyrsistent/template b/srcpkgs/python3-pyrsistent/template
new file mode 100644
index 000000000000..a986df06541a
--- /dev/null
+++ b/srcpkgs/python3-pyrsistent/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-pyrsistent'
+pkgname=python3-pyrsistent
+version=0.17.3
+revision=1
+wrksrc="pyrsistent-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-devel"
+depends="python3"
+short_desc="Python persistent immutable data structures"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/tobgu/pyrsistent/"
+distfiles="${PYPI_SITE}/p/pyrsistent/pyrsistent-${version}.tar.gz"
+checksum=2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e
+
+do_check() {
+	: # Disable as it downloads many packages
+}
+
+post_install() {
+	vlicense LICENCE.mit LICENSE
+}

From b72b520d1ec473946667c91c7334e87fcb5a0a85 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:49:33 +0200
Subject: [PATCH 14/21] python3-terminado: update to 0.9.4

---
 srcpkgs/python3-terminado/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index f7e32aebd35a..4dbe5964dd38 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-terminado'
 pkgname=python3-terminado
-version=0.8.2
-revision=4
+version=0.9.4
+revision=1
 wrksrc="terminado-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-ptyprocess python3-tornado"
+checkdepends="python3-pytest $depends"
 short_desc="Terminals served to term.js using Tornado websockets (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/takluyver/terminado"
 distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
+checksum=9a7dbcfbc2778830eeb70261bf7aa9d98a3eac8631a3afe3febeb57c12f798be
 
 post_install() {
 	vlicense LICENSE

From ca47cf732098689732af8caf9fed317fea98f828 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:34 +0200
Subject: [PATCH 15/21] New package: python3-anyio-3.0.1

---
 srcpkgs/python3-anyio/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-anyio/template

diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
new file mode 100644
index 000000000000..078d295976e6
--- /dev/null
+++ b/srcpkgs/python3-anyio/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-anyio'
+pkgname=python3-anyio
+version=3.0.1
+revision=1
+wrksrc=anyio-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-sniffio python3-idna"
+short_desc="High level asynchronous concurrency and networking framework
+that works on top of either trio or asyncio"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://github.com/agronholm/anyio"
+distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
+checksum=1ef7622396ab55829d4236a6f75e2199df6d26a4ba79bea0cb942a5fd2f79a23
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 90aaf5ab4cea5a976f2221e728ebde141bb1c019 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:51:58 +0200
Subject: [PATCH 16/21] New package: python3-json5-0.9.5

---
 srcpkgs/python3-json5/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-json5/template

diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
new file mode 100644
index 000000000000..97f8771d75d6
--- /dev/null
+++ b/srcpkgs/python3-json5/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-json5'
+pkgname=python3-json5
+version=0.9.5
+revision=1
+wrksrc=pyjson5-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-hypothesis"
+short_desc="Python implementation of the JSON5 data format"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/dpranke/pyjson5"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=4631b8a6c61704b7942fe9d16a1e95f2b26a2bdcc38a1fdc3b5c984f2e861045

From d92c7b6b11f8e9a84cbdc165d36936780a58e338 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:00 +0200
Subject: [PATCH 17/21] New package: python3-jupyter_server-1.7.0

---
 srcpkgs/python3-jupyter_server/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_server/template

diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
new file mode 100644
index 000000000000..e54efa88c3a8
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-jupyter_server'
+pkgname=python3-jupyter_server
+version=1.7.0
+revision=1
+wrksrc="jupyter_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-anyio python3-jupyter_client python3-jupyter_nbformat
+ python3-jupyter_nbconvert python3-terminado
+ python3-prometheus_client python3-traitlets python3-tornado
+ python3-Jinja2 python3-send2trash python3-websocket-client"
+short_desc="Backend to Jupyter web applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
+checksum=d9cfc1d21ff9951f185d9cbf9b742b911f57b98887ed79e210acd6f720505576
+make_check=no
+
+post_install() {
+	vlicense COPYING.md
+}

From 6b0974b5019e37d44e3d702ad324f9e9ec996cb2 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:53:26 +0200
Subject: [PATCH 18/21] New package: python3-jupyterlab_server-2.5.1

---
 srcpkgs/python3-jupyterlab_server/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-jupyterlab_server/template

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
new file mode 100644
index 000000000000..eb044817dd84
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab_server'
+pkgname=python3-jupyterlab_server
+version=2.5.1
+revision=1
+wrksrc="jupyterlab_server-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-jupyter_notebook python3-jupyter_server"
+depends="python3-requests python3-json5 python3-Babel"
+short_desc="Server components for JupyterLab and -like applications"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab_server/archive/refs/tags/v${version}.tar.gz"
+checksum=2b6016b893b6999ce4f3eb2413548486d0a795e4a5c92959a12ad2c65ee6874c
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 48b7db38c58987553def25c9ce09c301818f0221 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 14 May 2021 17:54:03 +0200
Subject: [PATCH 19/21] New package: jupyterlab-3.0.15

---
 srcpkgs/jupyterlab/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/jupyterlab/template

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
new file mode 100644
index 000000000000..3c558c4e485a
--- /dev/null
+++ b/srcpkgs/jupyterlab/template
@@ -0,0 +1,18 @@
+# Template file for 'jupyterlab'
+pkgname=jupyterlab
+version=3.0.15
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyterlab_server nodejs python3-nbclassic"
+short_desc="JupyterLab computational environment"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="custom:jupyterlab"
+homepage="https://jupyter.org"
+distfiles="https://github.com/jupyterlab/jupyterlab/archive/refs/tags/v${version}.tar.gz"
+checksum=b83ccd2dc068e714158155f2e0f22313ca0be2dfb7aacdc604efdb05969a0af8
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 2b23cc00fc2bf6189fa6ac5c3a8a23594ccf44e7 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 22 May 2021 20:20:05 +0200
Subject: [PATCH 20/21]  New package: python3-nbclassic-0.2.8

---
 srcpkgs/python3-nbclassic/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-nbclassic/template

diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
new file mode 100644
index 000000000000..3bcc7cf89318
--- /dev/null
+++ b/srcpkgs/python3-nbclassic/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-nbclassic'
+pkgname=python3-nbclassic
+version=0.2.8
+revision=1
+wrksrc=nbclassic-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_notebook python3-jupyter_server"
+short_desc="Jupyter Notebook as a Jupyter Server Extension"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://jupyter.org"
+distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
+checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 55fbbcaec9f6e1c593dc3a77dc0f268eec5bf12a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Mon, 7 Jun 2021 18:56:09 +0200
Subject: [PATCH 21/21] python3-jupyter: update to 4.7.1 and take ownership

---
 srcpkgs/python3-jupyter/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jupyter/template b/srcpkgs/python3-jupyter/template
index 58c34884363c..b17bd1020c9b 100644
--- a/srcpkgs/python3-jupyter/template
+++ b/srcpkgs/python3-jupyter/template
@@ -2,11 +2,11 @@
 # 
 # THIS PACKAGE WAS SPLIT FROM python3-jupyter_core TO AVOID A DEPENDENCY CYCLE
 pkgname=python3-jupyter
-version=4.6.3
-revision=2
+version=4.7.1
+revision=1
 build_style=meta
 depends="python3-jupyter_notebook python3-jupyter_console python3-jupyter_ipywidgets"
 short_desc="Jupyter metapackage for Void Linux"
-maintainer="Andrew J. Hesford <ajh@sideband.org>"
-license="BSD-3-Clause"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="GPL-3.0-or-later"
 homepage="https://jupyter.org"

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (32 preceding siblings ...)
  2021-06-07 17:12 ` dkwo
@ 2021-06-07 18:13 ` dkwo
  2021-06-07 19:36 ` [PR PATCH] [Closed]: " ahesford
  34 siblings, 0 replies; 36+ messages in thread
From: dkwo @ 2021-06-07 18:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/30873#issuecomment-856153640

Comment:
@ahesford Done.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PR PATCH] [Closed]: New package: jupyterlab
  2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
                   ` (33 preceding siblings ...)
  2021-06-07 18:13 ` dkwo
@ 2021-06-07 19:36 ` ahesford
  34 siblings, 0 replies; 36+ messages in thread
From: ahesford @ 2021-06-07 19:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

There's a closed pull request on the void-packages repository

New package: jupyterlab
https://github.com/void-linux/void-packages/pull/30873

Description:
Jupyterlab is the new generation of Jupyter notebook.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

It seems to build fine, but still running some tests. @maneandrea

I forked commits from #30802 (just a small edit as mentioned there) and #26806 (edited `hostmakedepends` otherwise it was failing)

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2021-06-07 19:36 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14 16:03 [PR PATCH] [wip] new package: jupyterlab dkwo
2021-05-14 16:06 ` dkwo
2021-05-14 16:08 ` dkwo
2021-05-14 16:28 ` FollieHiyuki
2021-05-15 11:48 ` [PR PATCH] [Updated] " dkwo
2021-05-15 12:13 ` dkwo
2021-05-15 12:18 ` New " dkwo
2021-05-15 12:30 ` ahesford
2021-05-21 16:36 ` [PR PATCH] [Updated] " ahesford
2021-05-21 16:42 ` ahesford
2021-05-22 18:25 ` [PR PATCH] [Updated] " dkwo
2021-05-22 18:28 ` dkwo
2021-05-22 19:01 ` dkwo
2021-05-22 21:24 ` [PR PATCH] [Updated] " dkwo
2021-05-22 21:36 ` dkwo
2021-05-22 21:50 ` dkwo
2021-05-26 18:31 ` [PR REVIEW] " non-Jedi
2021-05-27 18:53 ` dkwo
2021-05-27 19:06 ` non-Jedi
2021-05-27 19:07 ` non-Jedi
2021-06-02  8:21 ` dkwo
2021-06-02 10:25 ` ahesford
2021-06-04 17:31 ` [PR PATCH] [Updated] " dkwo
2021-06-04 17:31 ` dkwo
2021-06-04 17:35 ` [PR PATCH] [Updated] " dkwo
2021-06-05  7:56 ` dkwo
2021-06-05  7:57 ` dkwo
2021-06-05  8:24 ` [PR PATCH] [Updated] " dkwo
2021-06-05  9:21 ` dkwo
2021-06-07 13:52 ` ahesford
2021-06-07 14:14 ` [PR PATCH] [Updated] " dkwo
2021-06-07 15:23 ` ahesford
2021-06-07 17:02 ` [PR PATCH] [Updated] " dkwo
2021-06-07 17:12 ` dkwo
2021-06-07 18:13 ` dkwo
2021-06-07 19:36 ` [PR PATCH] [Closed]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).