Github messages for voidlinux
 help / color / mirror / Atom feed
From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: jupyterlab
Date: Mon, 07 Jun 2021 19:12:38 +0200	[thread overview]
Message-ID: <20210607171238.x0fQ55EUJ7uCXaq6uumVx9tz3bCI4mbIErxVtN4BDdQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30873@inbox.vuxu.org>

[-- 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"

  parent reply	other threads:[~2021-06-07 17:12 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14 16:03 [PR PATCH] [wip] new " 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 [this message]
2021-06-07 18:13 ` dkwo
2021-06-07 19:36 ` [PR PATCH] [Closed]: " ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210607171238.x0fQ55EUJ7uCXaq6uumVx9tz3bCI4mbIErxVtN4BDdQ@z \
    --to=dkwo@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).