Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: jupyterlab
Date: Fri, 21 May 2021 18:36:31 +0200	[thread overview]
Message-ID: <20210521163631.UwtQY1A82Bpp4hfytK9n4GtI9cvKbDBry1ZprK5O1rk@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: 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
+}

  parent reply	other threads:[~2021-05-21 16:36 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 ` ahesford [this message]
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

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=20210521163631.UwtQY1A82Bpp4hfytK9n4GtI9cvKbDBry1ZprK5O1rk@z \
    --to=ahesford@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).