Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [RFC] [WIP] updates to jupyter,  jupyterlab, notebook, etc.
@ 2023-05-30  2:01 tornaria
  2023-05-30  2:15 ` tornaria
                   ` (37 more replies)
  0 siblings, 38 replies; 39+ messages in thread
From: tornaria @ 2023-05-30  2:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tornaria/void-packages jupyter
https://github.com/void-linux/void-packages/pull/44160

[RFC] [WIP] updates to jupyter,  jupyterlab, notebook, etc.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 8fba96614ca93a14db88af8e15175c0cbc829996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 10:28:43 -0300
Subject: [PATCH 01/50] python3-fastjsonschema: update to 2.17.1.

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

diff --git a/srcpkgs/python3-fastjsonschema/template b/srcpkgs/python3-fastjsonschema/template
index 7e4495b9456b..dc536f8b835d 100644
--- a/srcpkgs/python3-fastjsonschema/template
+++ b/srcpkgs/python3-fastjsonschema/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-fastjsonschema'
 pkgname=python3-fastjsonschema
-version=2.16.3
+version=2.17.1
 revision=1
 build_style=python3-module
 make_check_args="--deselect tests/benchmarks/test_benchmark.py"
@@ -13,7 +13,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/horejsek/python-fastjsonschema"
 changelog="https://raw.githubusercontent.com/horejsek/python-fastjsonschema/master/CHANGELOG.txt"
 distfiles="https://github.com/horejsek/python-fastjsonschema/archive/refs/tags/v${version}.tar.gz"
-checksum=f9834e4994830942d58949043820024261dc22e2640bcf787391deb607cc91c6
+checksum=9295090b468152cea7a53c651a46d6a1afb83f0124f86c9a64da43fd3453a9f4
 
 post_install() {
 	vlicense LICENSE

From 1d44f68afd348db9c6ce04c09d40531bb0ca5f3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 20:40:38 -0300
Subject: [PATCH 02/50] python3-pytest-mock: update to 3.10.0.

---
 srcpkgs/python3-pytest-mock/template | 24 +++++++-----------------
 1 file changed, 7 insertions(+), 17 deletions(-)

diff --git a/srcpkgs/python3-pytest-mock/template b/srcpkgs/python3-pytest-mock/template
index 602337199a41..3ae4ec6cb3c0 100644
--- a/srcpkgs/python3-pytest-mock/template
+++ b/srcpkgs/python3-pytest-mock/template
@@ -1,28 +1,18 @@
 # Template file for 'python3-pytest-mock'
 pkgname=python3-pytest-mock
-version=3.9.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=3.10.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel python3-setuptools_scm"
 depends="python3-pytest"
-checkdepends="$depends"
-short_desc="Thin-wrapper around mock for easier use with py.test (Python3)"
+checkdepends="python3-pytest-asyncio python3-mock"
+short_desc="Thin-wrapper around mock for easier use with pytest"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/pytest-dev/pytest-mock/"
 changelog="https://raw.githubusercontent.com/pytest-dev/pytest-mock/main/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/p/pytest-mock/pytest-mock-${version}.tar.gz"
-checksum=c899a0dcc8a5f22930acd020b500abd5f956911f326864a3b979e4866e14da82
-
-# pytest-mock requires pytest-mock to be installed so it'll always fail during
-# packaging
-make_check=no
-
-pre_build() {
-	vsed -i setup.py \
-		-e '/setup_requires=/d' \
-		-e "s|use_scm_version=.*|version='${version}',|"
-}
+checksum=fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f
 
 post_install() {
 	vlicense LICENSE

From 605805c4bddd3d11ca9480c2ec51695a3d0149de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 01:01:14 -0300
Subject: [PATCH 03/50] python3-argcomplete: update to 3.0.8.

---
 srcpkgs/python3-argcomplete/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-argcomplete/template b/srcpkgs/python3-argcomplete/template
index abe32205b908..8e078f543700 100644
--- a/srcpkgs/python3-argcomplete/template
+++ b/srcpkgs/python3-argcomplete/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-argcomplete'
 pkgname=python3-argcomplete
-version=3.0.5
+version=3.0.8
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-wheel"
@@ -9,5 +9,6 @@ short_desc="Bash tab completion for argparse"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="Apache-2.0"
 homepage="https://github.com/kislyuk/argcomplete"
+changelog="https://github.com/kislyuk/argcomplete/raw/develop/Changes.rst"
 distfiles="${PYPI_SITE}/a/argcomplete/argcomplete-${version}.tar.gz"
-checksum=fe3ce77125f434a0dd1bffe5f4643e64126d5731ce8d173d36f62fa43d6eb6f7
+checksum=b9ca96448e14fa459d7450a4ab5a22bbf9cee4ba7adddf03e65c398b5daeea28

From f58a8e88418b767e55f49e009f68b208efb52753 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:25:45 -0300
Subject: [PATCH 04/50] python3-comm: update to 0.1.3.

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

diff --git a/srcpkgs/python3-comm/template b/srcpkgs/python3-comm/template
index 0bbba8dc0eda..36dc27d8f99b 100644
--- a/srcpkgs/python3-comm/template
+++ b/srcpkgs/python3-comm/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-comm'
 pkgname=python3-comm
-version=0.1.1
+version=0.1.3
 revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling"
@@ -10,8 +10,9 @@ short_desc="Python comm implementation for the Jupyter kernel protocol"
 maintainer="dkwo <npiazza@disroot.org>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/comm/"
-distfiles="https://github.com/ipython/comm/archive/refs/tags/$version.tar.gz"
-checksum=2868dfd1e482b821a929d662bf3d89adeb8a091239bf1497187797fe9e4c12fa
+changelog="https://github.com/ipython/comm/raw/main/CHANGELOG.md"
+distfiles="https://github.com/ipython/comm/archive/refs/tags/v$version.tar.gz"
+checksum=9bdea650a6194bf1628b17c2668bf74bf5295c87a7528a8aa4fe4472904b26f2
 
 post_install() {
 	vlicense LICENSE

From b7ebe11c9e7237e31c6901c04a004da65b733b4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:30:38 -0300
Subject: [PATCH 05/50] python3-nest_asyncio: update to 1.5.6.

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

diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template
index 41981f82fc19..46d8c0b642b3 100644
--- a/srcpkgs/python3-nest_asyncio/template
+++ b/srcpkgs/python3-nest_asyncio/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-nest_asyncio'
 pkgname=python3-nest_asyncio
-version=1.5.4
-revision=2
+version=1.5.6
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools_scm"
 depends="python3"
@@ -11,7 +11,7 @@ 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=f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd
+checksum=d267cc1ff794403f7df692964d1d2a3fa9418ffea2a3f6859a439ff482fef290
 
 post_install() {
 	vlicense LICENSE

From 446df735d3d25488590110bd9ab358a216833ae0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 00:32:26 -0300
Subject: [PATCH 06/50] python3-tornado: update to 6.3.2.

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

diff --git a/srcpkgs/python3-tornado/template b/srcpkgs/python3-tornado/template
index 48c9e57b0bdb..efcdab945118 100644
--- a/srcpkgs/python3-tornado/template
+++ b/srcpkgs/python3-tornado/template
@@ -1,20 +1,20 @@
 # Template file for 'python3-tornado'
 pkgname=python3-tornado
-version=6.2
+version=6.3.2
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 makedepends="python3-devel"
 depends="python3 ca-certificates"
+checkdepends="python3-curl python3-pycares python3-Twisted"
 short_desc="Python3 web framework and asynchronous networking library"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="http://www.tornadoweb.org/"
+changelog="https://www.tornadoweb.org/en/stable/releases.html"
 distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz"
-checksum=9b630419bde84ec666bfd7ea0a4cb2a8a651c2d5cccdbdd1972a0c859dfc3c13
-make_check=no # tests failing, already with 6.1
+checksum=4b927c4f19b71e627b13f3db2324e4ae660527143f9e1f2e2fb404f3a187e2ba
 
-pre_build() {
-	# use system ca-certificates
-	sed -i "/install_requires.append('certifi')/d" setup.py
+do_check() {
+	./runtests.sh
 }

From be238246799d165cbde335b652e5247fea4e2412 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:25:30 -0300
Subject: [PATCH 07/50] python3-bleach: update to 6.0.0.

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

diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index aea09c368c1f..446448708d51 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,10 +1,10 @@
 # Template file for 'python3-bleach'
 pkgname=python3-bleach
-version=4.1.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-six python3-webencodings python3-packaging"
+version=6.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3-six python3-webencodings"
 checkdepends="python3-pytest $depends"
 short_desc="Easy safelist-based HTML-sanitizing tool (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,4 +12,4 @@ license="Apache-2.0"
 homepage="https://github.com/mozilla/bleach"
 changelog="https://raw.githubusercontent.com/mozilla/bleach/master/CHANGES"
 distfiles="${PYPI_SITE}/b/bleach/bleach-${version}.tar.gz"
-checksum=0900d8b37eba61a802ee40ac0061f8c2b5dee29c1927dd1d233e075ebf5a71da
+checksum=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414

From 98317f037b456a288d8749826f9076109254cb87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:59:09 -0300
Subject: [PATCH 08/50] python3-BeautifulSoup4: update to 4.12.2.

---
 srcpkgs/python3-BeautifulSoup4/template | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 882ea8a33214..cdc4e6d367ff 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,18 +1,19 @@
 # Template file for 'python3-BeautifulSoup4'
 pkgname=python3-BeautifulSoup4
-version=4.11.1
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3 python3-soupsieve"
-checkdepends="python3-pytest $depends"
+version=4.12.2
+revision=1
+build_style=python3-pep517
+make_check_target="bs4"  # workaround for #43946
+hostmakedepends="hatchling"
+depends="python3-soupsieve"
+checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
 short_desc="Python3 HTML/XML parser"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://www.crummy.com/software/BeautifulSoup"
-changelog="https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/CHANGELOG"
+changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
 distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693
+checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
 
 post_install() {
 	vlicense LICENSE

From cea171fb2308d501275017cade4cf59cc998d1e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 13:16:19 -0300
Subject: [PATCH 09/50] python3-testpath: update to 0.6.0.

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

diff --git a/srcpkgs/python3-testpath/template b/srcpkgs/python3-testpath/template
index a439b95a62b0..3a3cf2f2647d 100644
--- a/srcpkgs/python3-testpath/template
+++ b/srcpkgs/python3-testpath/template
@@ -1,16 +1,18 @@
 # Template file for 'python3-testpath'
 pkgname=python3-testpath
-version=0.4.4
-revision=3
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.6.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
 depends="python3"
+checkdepends="python3-pytest"
 short_desc="Test utilities for code working with files and commands (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/testpath"
+changelog="https://github.com/jupyter/testpath/raw/master/doc/history.rst"
 distfiles="${PYPI_SITE}/t/testpath/testpath-${version}.tar.gz"
-checksum=60e0a3261c149755f4399a1fff7d37523179a70fdc3abdf78de9fc2604aeec7e
+checksum=2f1b97e6442c02681ebe01bd84f531028a7caea1af3825000f52345c30285e0f
 
 pre_build() {
 	rm -f testpath/cli-*.exe

From e78d92f6192c6d792051fdddfcec81884078d91b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:03:16 -0300
Subject: [PATCH 10/50] New package: python3-strict-rfc3339-0.7

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

diff --git a/srcpkgs/python3-strict-rfc3339/template b/srcpkgs/python3-strict-rfc3339/template
new file mode 100644
index 000000000000..027be8b71735
--- /dev/null
+++ b/srcpkgs/python3-strict-rfc3339/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-strict-rfc3339'
+pkgname=python3-strict-rfc3339
+version=0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3"
+short_desc="Strict, simple, lightweight RFC3339 functions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="https://pypi.org/project/strict-rfc3339/"
+distfiles="${PYPI_SITE}/s/strict-rfc3339/strict-rfc3339-${version}.tar.gz"
+checksum=5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277
+make_check=no  # no tests available

From 3b759d4d259a8bff6fdeff656ecec5d8183f98fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:09:32 -0300
Subject: [PATCH 11/50] New package: python3-rfc3339-validator-0.1.4

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

diff --git a/srcpkgs/python3-rfc3339-validator/template b/srcpkgs/python3-rfc3339-validator/template
new file mode 100644
index 000000000000..68eb8c0acfe1
--- /dev/null
+++ b/srcpkgs/python3-rfc3339-validator/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-rfc3339-validator'
+pkgname=python3-rfc3339-validator
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3-six"
+checkdepends="$depends python3-hypothesis python3-pytest
+ python3-strict-rfc3339"
+short_desc="Pure python RFC3339 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3339-validator"
+distfiles="${PYPI_SITE}/r/rfc3339-validator/rfc3339_validator-${version}.tar.gz"
+checksum=138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b
+
+post_install() {
+	vlicense LICENSE
+}

From 936758bfe8a6df5de8cb503da792d6cb6a0c4905 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:22:20 -0300
Subject: [PATCH 12/50] New package: python3-rfc3986-validator-0.1.1

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

diff --git a/srcpkgs/python3-rfc3986-validator/template b/srcpkgs/python3-rfc3986-validator/template
new file mode 100644
index 000000000000..6f126f1ac659
--- /dev/null
+++ b/srcpkgs/python3-rfc3986-validator/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-rfc3986-validator'
+pkgname=python3-rfc3986-validator
+version=0.1.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3"
+short_desc="Pure python RFC3986 validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/naimetti/rfc3986-validator"
+distfiles="${PYPI_SITE}/r/rfc3986-validator/rfc3986_validator-${version}.tar.gz"
+checksum=3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055
+make_check=no # needs rfc3987 (n/a)
+
+post_patch() {
+	vsed -e "s/'pytest-runner',//" -i setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 00504fa0a07f71154a372a3eb219c4fe369fbd86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:34:09 -0300
Subject: [PATCH 13/50] python3-jsonschema: add rfc3339 and rfc3986 validators.

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

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 8ec7cef8d755..83088a96b2ce 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,11 +1,11 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
 version=4.17.3
-revision=1
+revision=2
 build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug"
 hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-pyrsistent"
+depends="python3-attrs python3-pyrsistent python3-rfc3339-validator
+ python3-rfc3986-validator python3-idna python3-jsonpointer"
 checkdepends="${depends} python3-pytest python3-pip"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
@@ -15,10 +15,6 @@ changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
 checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
 
-pre_build() {
-	export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
-}
-
 post_install() {
 	vlicense COPYING LICENSE
 }

From 23a593a34539a1b3b464deb7481b25f5c8a0f037 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 18:18:06 -0300
Subject: [PATCH 14/50] New package: hatch-nodejs-version-0.3.1

---
 srcpkgs/hatch-nodejs-version/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/hatch-nodejs-version/template

diff --git a/srcpkgs/hatch-nodejs-version/template b/srcpkgs/hatch-nodejs-version/template
new file mode 100644
index 000000000000..389c85500bf2
--- /dev/null
+++ b/srcpkgs/hatch-nodejs-version/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-nodejs-version'
+pkgname=hatch-nodejs-version
+version=0.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest"
+short_desc="Hatch plugin to read pyproject.toml metadata from package.json"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/agoose77/hatch-nodejs-version"
+changelog="https://github.com/agoose77/hatch-nodejs-version/releases"
+distfiles="https://github.com/agoose77/hatch-nodejs-version/archive/refs/tags/v${version}.tar.gz"
+checksum=9959efbee3021dba4da7f8c152cacf104c746341ed176cd0488cbf3b45deba4d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From a7d376457ae99417df5151f250701cfb5991773d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 20:58:14 -0300
Subject: [PATCH 15/50] New package: python3-pytest-console-scripts-1.4.0

---
 .../python3-pytest-console-scripts/template   | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-console-scripts/template

diff --git a/srcpkgs/python3-pytest-console-scripts/template b/srcpkgs/python3-pytest-console-scripts/template
new file mode 100644
index 000000000000..e22464b3b7f9
--- /dev/null
+++ b/srcpkgs/python3-pytest-console-scripts/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-console-scripts'
+pkgname=python3-pytest-console-scripts
+version=1.4.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3-pytest"
+checkdepends="$depends"
+short_desc="Pytest plugin for testing console scripts"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/kvas-it/pytest-console-scripts"
+changelog="https://github.com/kvas-it/pytest-console-scripts/releases"
+distfiles="${PYPI_SITE}/p/pytest-console-scripts/pytest-console-scripts-${version}.tar.gz"
+checksum=6335679ef013fa20402dfd5b07219877d874bd3f0a198b84b23f17897ccbe50a
+
+post_install() {
+	vlicense LICENSE
+}

From 4b7181b8cff5544b22851be02e2fbf73144ab94c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 21:11:54 -0300
Subject: [PATCH 16/50] New package: python3-pep440-0.1.2

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

diff --git a/srcpkgs/python3-pep440/template b/srcpkgs/python3-pep440/template
new file mode 100644
index 000000000000..3048d03ae671
--- /dev/null
+++ b/srcpkgs/python3-pep440/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-pep440'
+pkgname=python3-pep440
+version=0.1.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+checkdepends="python3-pytest-console-scripts"
+short_desc="Utils to check whether version numbers match PEP 440"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/Carreau/pep440"
+distfiles="https://github.com/Carreau/pep440/archive/refs/tags/${version}.tar.gz"
+checksum=4f38145d7b71aad9743b3f4aec6338a2dad4010a14a223493bf0b3b7b99027ef
+
+post_install() {
+	vlicense LICENSE
+}

From f82686a22ca7505bcdab4002dd48d4b684fec95e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:56:29 -0300
Subject: [PATCH 17/50] New package: python3-json-logger-2.0.7

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

diff --git a/srcpkgs/python3-json-logger/template b/srcpkgs/python3-json-logger/template
new file mode 100644
index 000000000000..9e9d09767c51
--- /dev/null
+++ b/srcpkgs/python3-json-logger/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-json-logger'
+pkgname=python3-json-logger
+version=2.0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Json Formatter for the standard python logger"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-2-Clause"
+homepage="https://github.com/madzak/python-json-logger"
+changelog="https://github.com/madzak/python-json-logger/raw/master/CHANGELOG.md"
+distfiles="https://github.com/madzak/python-json-logger/archive/refs/tags/v${version}.tar.gz"
+checksum=1d743e5573642bed1a5698dbfa5fc1c2a8e076fea95212e67518bec940e43ec1
+
+post_install() {
+	vlicense LICENSE
+}

From f6582eee9da1d8d0f5d947ea1b822102f7009391 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 19:19:18 -0300
Subject: [PATCH 18/50] New package: python3-overrides-7.3.1

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

diff --git a/srcpkgs/python3-overrides/template b/srcpkgs/python3-overrides/template
new file mode 100644
index 000000000000..99a2de77d792
--- /dev/null
+++ b/srcpkgs/python3-overrides/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-overrides'
+pkgname=python3-overrides
+version=7.3.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Decorator to automatically detect mismatch when overriding a method"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/mkorpela/overrides"
+changelog="https://github.com/mkorpela/overrides/releases"
+distfiles="https://github.com/mkorpela/overrides/archive/refs/tags/${version}.tar.gz"
+checksum=ff904c45a8a664aaeeac0a849f5097567d52a88c2324b12ad002c8b58e83625c

From 7bc96f1f662f498a710ce96eeec5bf432d258252 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 28 May 2023 00:07:40 -0300
Subject: [PATCH 19/50] New package: python3-async-lru-2.0.2

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

diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
new file mode 100644
index 000000000000..0aacd0f0b07e
--- /dev/null
+++ b/srcpkgs/python3-async-lru/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-async-lru'
+pkgname=python3-async-lru
+version=2.0.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3-typing_extensions"
+checkdepends="$depends python3-pytest-asyncio python3-pytest-cov
+ python3-pytest-timeout"
+short_desc="Simple LRU cache for asyncio"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/aio-libs/async-lru"
+#changelog=""
+distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
+checksum=3b87ec4f2460c52cc7916a0138cc606b584c75d1ef7d661853c95d1d3acb869a
+
+post_install() {
+	vlicense LICENSE
+}

From 4366b1ccf70c3dd531416aec2f75f95f5ad5827c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 29 May 2023 18:48:26 -0300
Subject: [PATCH 20/50] python3-coverage: update to 7.2.7.

---
 srcpkgs/python3-coverage/template | 39 +++++++++++++++++++++++--------
 1 file changed, 29 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template
index 223f93ac4447..ba54d97d2573 100644
--- a/srcpkgs/python3-coverage/template
+++ b/srcpkgs/python3-coverage/template
@@ -1,17 +1,36 @@
 # Template file for 'python3-coverage'
 pkgname=python3-coverage
-version=5.0.3
-revision=5
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=7.2.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
 makedepends="python3-devel"
-depends="python3-setuptools"
-checkdepends="python3-pytest-xdist python3-flaky python3-unittest-mixins"
+checkdepends="$depends python3-pytest-xdist python3-flaky
+ python3-hypothesis"
 short_desc="Code coverage testing for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://bitbucket.org/ned/coveragepy"
+homepage="https://github.com/nedbat/coveragepy"
+changelog="https://github.com/nedbat/coveragepy/raw/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
-checksum=77afca04240c40450c331fa796b3eab6f1e15c5ecf8bf2b8bee9706cd5452fef
-# coverage executable needs to run for many tests
-make_check=no
+checksum=924d94291ca674905fe9481f12294eb11f2d3d3fd1adb20314ba89e94f44ed59
+
+pre_check() {
+	# required setup, see tox.ini
+	python igor.py zip_mods
+}
+
+do_check() {
+	# Running via PYTHONPATH breaks... venv works
+	# This could be moved to build-style/python3-pep517.sh
+	local testdir="${wrksrc}/tmp/$(date +%s)"
+	python3 -m venv --system-site-packages --without-pip $testdir
+	$testdir/bin/python3 -m installer dist/*.whl
+	PATH=$testdir/bin:$PATH python3 -m pytest -n $XBPS_MAKEJOBS
+}
+
+post_install() {
+	# remove versioned scripts (keep only /usr/bin/coverage)
+	rm ${DESTDIR}/usr/bin/coverage3
+	rm ${DESTDIR}/usr/bin/coverage-${py3_ver}
+}

From fc03d6cbadc2aaa47732854be693697257965875 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 29 May 2023 19:06:45 -0300
Subject: [PATCH 21/50] New package: python3-process-tests-2.1.2

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

diff --git a/srcpkgs/python3-process-tests/template b/srcpkgs/python3-process-tests/template
new file mode 100644
index 000000000000..75a7398f5d1b
--- /dev/null
+++ b/srcpkgs/python3-process-tests/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-process-tests'
+pkgname=python3-process-tests
+version=2.1.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
+depends="python3"
+short_desc="Tools for testing processes"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-2-Clause"
+homepage="https://github.com/ionelmc/python-process-tests"
+changelog="https://github.com/ionelmc/python-process-tests/blob/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/process-tests/process-tests-${version}.tar.gz"
+checksum=a3747ad947bdfc93e5c986bdb17a6d718f3f26e8577a0807a00962f29e26deba
+make_check=no  # no tests available
+
+post_install() {
+	vlicense LICENSE
+}

From 4088b0441124088ab12c396ba6808955d64652be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 29 May 2023 21:01:36 -0300
Subject: [PATCH 22/50] python3-pytest-xdist: update to 3.3.1.

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

diff --git a/srcpkgs/python3-pytest-xdist/template b/srcpkgs/python3-pytest-xdist/template
index 3128717d293a..d64c3b6df8c7 100644
--- a/srcpkgs/python3-pytest-xdist/template
+++ b/srcpkgs/python3-pytest-xdist/template
@@ -1,19 +1,18 @@
 # Template file for 'python3-pytest-xdist'
 pkgname=python3-pytest-xdist
-version=3.2.1
+version=3.3.1
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel"
 depends="python3-pytest python3-execnet"
+checkdepends="$depends python3-filelock python3-pexpect python3-psutil"
 short_desc="Pytest plugin for distributed testing & loop-on-failures testing modes"
 maintainer="classabbyamp <void@placeviolette.net>"
 license="MIT"
 homepage="https://github.com/pytest-dev/pytest-xdist"
 changelog="https://raw.githubusercontent.com/pytest-dev/pytest-xdist/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/p/pytest-xdist/pytest-xdist-${version}.tar.gz"
-checksum=1849bd98d8b242b948e472db7478e090bf3361912a8fed87992ed94085f54727
-# tests only work in tox
-make_check=no
+checksum=d5ee0520eb1b7bcca50a60a518ab7a7707992812c578198f8b44fdfac78e8c93
 
 post_install() {
 	vlicense LICENSE

From 65eb1057479d8dff616e56dcafacf3d587657170 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 29 May 2023 22:46:04 -0300
Subject: [PATCH 23/50] python3-pytest-cov: update to 4.1.0.

---
 srcpkgs/python3-pytest-cov/template | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index 47dc36d44017..a9e1dc18fe91 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,20 +1,31 @@
 # Template file for 'python3-pytest-cov'
 pkgname=python3-pytest-cov
-version=3.0.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=4.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
 depends="python3-pytest python3-coverage"
-checkdepends="$depends python3-toml python3-py python3-pluggy python3-packaging
- python3-more-itertools python3-attrs python3-six python3-parsing"
+checkdepends="$depends python3-fields python3-process-tests
+ python3-pytest-xdist python3-virtualenv"
 short_desc="Pytest plugin for measuring coverage"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
 license="MIT"
 homepage="https://pytest-cov.readthedocs.io/en/latest/"
 changelog="https://raw.githubusercontent.com/pytest-dev/pytest-cov/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/p/pytest-cov/pytest-cov-${version}.tar.gz"
-checksum=e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470
-make_check=no # requires unpackaged xdist, fields, process_tests
+checksum=3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6
+
+do_check() {
+	# Running via PYTHONPATH breaks... venv works
+	# This could be moved to build-style/python3-pep517.sh
+	local testdir="${wrksrc}/tmp/$(date +%s)"
+	python3 -m venv --system-site-packages --without-pip $testdir
+	$testdir/bin/python3 -m installer dist/*.whl
+	# coverage needs to be installed inside venv (?)
+	# see: https://github.com/pytest-dev/pytest-cov/issues/517
+	ln -s /${py3_sitelib}/coverage ${testdir}${py3_sitelib#usr}
+	PATH=$testdir/bin:$PATH python3 -m pytest -n $XBPS_MAKEJOBS
+}
 
 post_install() {
 	vlicense LICENSE

From 3c715c17c9b9f6b9013301afe21f6ee1f98ffd1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 21:18:00 -0300
Subject: [PATCH 24/50] New package: python3-pathable-0.4.3

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

diff --git a/srcpkgs/python3-pathable/template b/srcpkgs/python3-pathable/template
new file mode 100644
index 000000000000..70892d570eaa
--- /dev/null
+++ b/srcpkgs/python3-pathable/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pathable'
+pkgname=python3-pathable
+version=0.4.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3"
+checkdepends="python3-pytest-cov python3-toml"
+short_desc="Object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/pathable"
+changelog="https://github.com/p1c2u/pathable/releases"
+distfiles="https://github.com/p1c2u/pathable/archive/refs/tags/${version}.tar.gz"
+checksum=eea76120e5fdc54f4e9b7bc5e24748d163cef61c3e60ed32675828ade141cf4b

From 060283300ec187b287fa7af6e61e8163173ac4d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 26 May 2023 20:52:44 -0300
Subject: [PATCH 25/50] New package: python3-jsonschema-spec-0.1.4

---
 srcpkgs/python3-jsonschema-spec/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-jsonschema-spec/template

diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
new file mode 100644
index 000000000000..2baf429eff08
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-jsonschema-spec'
+pkgname=python3-jsonschema-spec
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema python3-pathable python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="JSONSchema Spec with object-oriented paths"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/p1c2u/jsonschema-spec"
+changelog="https://github.com/p1c2u/jsonschema-spec/releases"
+distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
+checksum=2a4ffb901ced9f37d86c64b29b9bfed72362e9cae82a319346ad234e434baf94

From a8ca875e058af8ef28507619382cff809edcfb50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:39:45 -0300
Subject: [PATCH 26/50] New package: python3-openapi-schema-validator-0.4.4

---
 .../python3-openapi-schema-validator/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-openapi-schema-validator/template

diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
new file mode 100644
index 000000000000..bb26e4a7d603
--- /dev/null
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-openapi-schema-validator'
+pkgname=python3-openapi-schema-validator
+version=0.4.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI schema validation for Python"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-schema-validator"
+changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
+checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+
+post_install() {
+	vlicense LICENSE
+}

From 1680499383e4864cdefe2cd6a75ad1e41461b92b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 00:40:13 -0300
Subject: [PATCH 27/50] New package: python3-openapi-spec-validator-0.5.6

---
 srcpkgs/python3-openapi-spec-validator/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-openapi-spec-validator/template

diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
new file mode 100644
index 000000000000..f1e9665a676a
--- /dev/null
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-openapi-spec-validator'
+pkgname=python3-openapi-spec-validator
+version=0.5.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-jsonschema-spec python3-lazy-object-proxy
+ python3-openapi-schema-validator"
+checkdepends="$depends python3-pytest-cov python3-toml"
+short_desc="OpenAPI spec validator"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/python-openapi/openapi-spec-validator"
+changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
+distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
+checksum=1189d0618ae0678ccf6c883cc1266d381454eece6f21fcf330cc7caea5fc25eb

From eba5814db40b77badcd2440c46f7c121058f5c24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 01:38:55 -0300
Subject: [PATCH 28/50] New package: python3-openapi-core-0.17.1

---
 srcpkgs/python3-openapi-core/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/python3-openapi-core/template

diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
new file mode 100644
index 000000000000..1b7f07bce42d
--- /dev/null
+++ b/srcpkgs/python3-openapi-core/template
@@ -0,0 +1,27 @@
+# Template file for 'python3-openapi-core'
+pkgname=python3-openapi-core
+version=0.17.1
+revision=1
+build_style=python3-pep517
+make_check_args="
+ --ignore tests/unit/contrib/django
+ --ignore tests/integration/contrib/django
+ --ignore tests/integration/contrib/falcon
+ --ignore tests/integration/contrib/starlette
+ "
+hostmakedepends="python3-poetry-core"
+depends="python3-isodate python3-more-itertools
+ python3-openapi-spec-validator python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-Flask
+ python3-requests python3-responses python3-toml python3-WebOb"
+short_desc="Support for the OpenAPI Specification v3"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/python-openapi/openapi-core"
+changelog="https://github.com/python-openapi/openapi-core/releases"
+distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
+checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+
+post_install() {
+	vlicense LICENSE
+}

From 9fc3aeb6379c4697fbe2c0d616bd8ac189cdefde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 1 May 2023 20:46:40 -0300
Subject: [PATCH 29/50] python3-traitlets: cleanup dependencies, adopt.

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

diff --git a/srcpkgs/python3-traitlets/template b/srcpkgs/python3-traitlets/template
index 7b4e13ff871b..a8ed6611188c 100644
--- a/srcpkgs/python3-traitlets/template
+++ b/srcpkgs/python3-traitlets/template
@@ -1,13 +1,13 @@
 # Template file for 'python3-traitlets'
 pkgname=python3-traitlets
 version=5.9.0
-revision=1
+revision=2
 build_style=python3-pep517
-hostmakedepends="python3-flit_core hatchling"
-depends="python3-decorator python3-ipython_genutils python3-six"
-checkdepends="$depends python3-pytest"
+hostmakedepends="hatchling"
+depends="python3"
+checkdepends="python3-argcomplete python3-pytest-mock"
 short_desc="Configuration system for Python applications"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/traitlets"
 changelog="https://github.com/ipython/traitlets/raw/main/CHANGELOG.md"

From 32361fd46413f6755f8c980349d88912e2ad51dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 1 May 2023 21:17:12 -0300
Subject: [PATCH 30/50] python3-jupyter_core: update to 5.3.0, adopt.

---
 srcpkgs/python3-jupyter_core/template | 28 +++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template
index 175a296b6e6c..0252cbd8ce96 100644
--- a/srcpkgs/python3-jupyter_core/template
+++ b/srcpkgs/python3-jupyter_core/template
@@ -1,20 +1,28 @@
 # Template file for 'python3-jupyter_core'
 pkgname=python3-jupyter_core
-version=5.0.0
-revision=2
+version=5.3.0
+revision=1
 build_style=python3-pep517
-hostmakedepends="python3-flit_core hatchling"
-depends="python3-traitlets python3-platformdirs"
+# first 3 fail because PYTHONPATH is not propagated to subprocess
+# last 3 fail because those tests are not well designed for unix
+make_check_args="
+ --deselect jupyter_core/tests/test_command.py::test_not_on_path
+ --deselect jupyter_core/tests/test_command.py::test_path_priority
+ --deselect jupyter_core/tests/test_command.py::test_argv0
+ --deselect jupyter_core/tests/test_paths.py::test_jupyter_path_user_site
+ --deselect jupyter_core/tests/test_paths.py::test_jupyter_path_no_user_site
+ --deselect jupyter_core/tests/test_paths.py::test_jupyter_path_prefer_env"
+hostmakedepends="hatchling"
+depends="python3-platformdirs python3-traitlets"
+checkdepends="python3-pytest $depends"
 short_desc="Jupyter core package"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://jupyter.org"
+changelog="https://github.com/jupyter/jupyter_core/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
-checksum=4ed68b7c606197c7e344a24b7195eef57898157075a69655a886074b6beb7043
-conflicts="python-jupyter_core<=4.4.0_3"
-# checks create a cycle with python3-jypter_client and python3-ipython_ipykernel
-make_check=no
+checksum=6db75be0c83edbf1b7c9f91ec266a9a24ef945da630f3120e1a0046dc13713fc
 
 post_install() {
-	vlicense COPYING.md LICENSE
+	vlicense LICENSE
 }

From e7e0f3fb045784e057174baffdf643a8027c7ec2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 1 May 2023 23:01:30 -0300
Subject: [PATCH 31/50] New package: python3-pytest-jupyter-0.7.0

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

diff --git a/srcpkgs/python3-pytest-jupyter/template b/srcpkgs/python3-pytest-jupyter/template
new file mode 100644
index 000000000000..38d2bbe9332f
--- /dev/null
+++ b/srcpkgs/python3-pytest-jupyter/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-jupyter'
+pkgname=python3-pytest-jupyter
+version=0.7.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-jupyter_core python3-pytest-timeout"
+checkdepends="$depends python3-ipython_ipykernel python3-jupyter_server"
+short_desc="Pytest plugins for Jupyter libraries and extensions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-server/pytest-jupyter"
+changelog="https://github.com/jupyter-server/pytest-jupyter/raw/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/p/pytest_jupyter/pytest_jupyter-${version}.tar.gz"
+checksum=6403b7f6f5eaaa5a9faffd73d2ff1097106a7dc5c3204292212487fc9fb71843
+
+post_install() {
+	vlicense LICENSE
+}

From 2b8b8be4daa403e2e398ac5d1407b6a55ef1fc5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 1 May 2023 22:43:07 -0300
Subject: [PATCH 32/50] python3-jupyter_client: update to 8.2.0, adopt.

---
 srcpkgs/python3-jupyter_client/template | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 6839108ea962..496e3888d0a5 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,21 +1,23 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=7.4.5
+version=8.2.0
 revision=1
 build_style=python3-pep517
-hostmakedepends="python3-flit_core hatchling"
-depends="python3-traitlets python3-jupyter_core python3-pyzmq
- python3-dateutil python3-tornado python3-nest_asyncio python3-entrypoints"
+make_check_args="--dist=loadfile"
+hostmakedepends="hatchling"
+depends="python3-dateutil python3-jupyter_core python3-pyzmq
+ python3-tornado"
+checkdepends="$depends inetutils-ifconfig iproute2 openssh
+ python3-ipython_ipykernel python3-pytest-jupyter
+ python3-pytest-timeout python3-pytest-xdist"
 short_desc="Jupyter protocol client APIs"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
+changelog="https://github.com/jupyter/jupyter_client/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=63eae06c40e1f2d9afa14447511fddc065c95dea3f2491fda2acccf91221954a
-conflicts="python-jupyter_client<=5.2.4_2"
-# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel
-make_check=no
+checksum=9fe233834edd0e6c0aa5f05ca2ab4bdea1842bfd2d8a932878212fc5301ddaf0
 
 post_install() {
-	vlicense COPYING.md LICENSE
+	vlicense LICENSE
 }

From 41d891b2e58a8a78a357ddd5e278ddab544b3500 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 2 May 2023 01:07:04 -0300
Subject: [PATCH 33/50] python3-ipython_ipykernel: update to 6.23.1, adopt.

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

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index 4034b98a6ff5..d9af580640b3 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,21 +1,28 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=6.19.2
+version=6.23.1
 revision=1
 build_style=python3-pep517
-hostmakedepends="hatchling python3-jupyter_client python3-jupyter_core
- python3-platformdirs"
-depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado
- python3-matplotlib-inline python3-nest_asyncio python3-packaging python3-psutil
- python3 python3-comm python3-pyzmq"
+# these tests fail in 6.23.1
+make_check_args="
+ --deselect ipykernel/tests/test_eventloop.py::test_asyncio_interrupt
+ --deselect ipykernel/tests/test_embed_kernel.py::test_embed_kernel_func
+ --deselect ipykernel/tests/test_kernelspec.py::test_install_kernelspec"
+hostmakedepends="hatchling python3-jupyter_client"
+depends="python3-comm python3-ipython python3-jupyter_client
+ python3-nest_asyncio python3-packaging python3-psutil
+ python3-tornado"
+checkdepends="$depends python3-flaky python3-ipyparallel
+ python3-pytest-asyncio python3-pytest-timeout
+ python3-trio python3-curio"
 short_desc="IPython kernel for Jupyter (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
+changelog="https://github.com/ipython/ipykernel/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=1ab68d3d3654196266baa93990055413e167263ffbe4cfe834f871bcd3d3506d
-make_check=no # cycle with python3-jupyter_core and python3-jupyter_client
+checksum=1aba0ae8453e15e9bc6b24e497ef6840114afcdb832ae597f32137fa19d42a6f
 
 post_install() {
-	vlicense COPYING.md LICENSE
+	vlicense LICENSE
 }

From ac06d8f210f9744783ffefcf5ea28c2bca36a5ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 23:14:55 -0300
Subject: [PATCH 34/50] python3-ipyparallel: enable check

---
 srcpkgs/python3-ipyparallel/template | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-ipyparallel/template b/srcpkgs/python3-ipyparallel/template
index 9c86bba760a0..41aa22548b80 100644
--- a/srcpkgs/python3-ipyparallel/template
+++ b/srcpkgs/python3-ipyparallel/template
@@ -7,6 +7,9 @@ hostmakedepends="hatchling"
 depends="python3-entrypoints python3-decorator python3-pyzmq python3-traitlets
  python3-ipython python3-jupyter_client python3-ipython_ipykernel
  python3-tornado python3-psutil python3-dateutil python3-tqdm"
+checkdepends="$depends python3-pytest python3-pytest-asyncio
+ python3-testpath python3-matplotlib python3-joblib python3-numpy
+ python3-pandas"
 short_desc="Interactive parallel computing in Python"
 maintainer="Andrew J. Hesford <ajh@sideband.org>"
 license="BSD-3-Clause"
@@ -14,8 +17,11 @@ homepage="https://ipyparallel.readthedocs.io/"
 changelog="https://ipyparallel.readthedocs.io/en/latest/changelog.html"
 distfiles="${PYPI_SITE}/i/ipyparallel/ipyparallel-${version}.tar.gz"
 checksum=a39aa5ef9560170bf0e9afedca9ff045e1b9c1832c49303377edcc91cea9fb77
-# Too many tests fail with a "local" cluster type
-make_check=no
+
+pre_check() {
+	# having HOME=/tmp confuses a few tests
+	HOME=/home
+}
 
 post_install() {
 	vlicense COPYING.md

From 324e34749a4615d242636c2ad3295cccf3c6a289 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 23:15:56 -0300
Subject: [PATCH 35/50] python3-jupyter_nbformat: update to 5.8.0, adopt.

---
 srcpkgs/python3-jupyter_nbformat/template | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template
index 70b9db5e6705..c2f0df70ec11 100644
--- a/srcpkgs/python3-jupyter_nbformat/template
+++ b/srcpkgs/python3-jupyter_nbformat/template
@@ -1,21 +1,21 @@
 # Template file for 'python3-jupyter_nbformat'
 pkgname=python3-jupyter_nbformat
-version=5.3.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-jsonschema python3-traitlets
- python3-ipython_genutils python3-jupyter_core
- python3-fastjsonschema"
-checkdepends="python3-pytest python3-testpath $depends"
+version=5.8.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-nodejs-version"
+depends="python3-fastjsonschema python3-jsonschema
+ python3-jupyter_core python3-traitlets"
+checkdepends="python3-pytest python3-testpath python3-pep440 $depends"
 short_desc="Jupyter notebook format"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbformat"
+changelog="https://github.com/jupyter/nbformat/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
-checksum=fcc5ab8cb74e20b19570b5be809e2dba9b82836fd2761a89066ad43394ba29f5
+checksum=46dac64c781f1c34dfd8acba16547024110348f9fc7eab0f31981c2a3dc48d1f
 conflicts="python-jupyter_nbformat<=4.4.0_3"
 
 post_install() {
-	vlicense COPYING.md LICENSE
+	vlicense LICENSE
 }

From 0787aafaa64ada4015462fcd6dd95470572f39a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 23:58:52 -0300
Subject: [PATCH 36/50] New package: python3-jupyter_packaging-0.12.3

---
 .../patches/178.patch                         | 23 +++++++++++++++++++
 srcpkgs/python3-jupyter_packaging/template    | 20 ++++++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 srcpkgs/python3-jupyter_packaging/patches/178.patch
 create mode 100644 srcpkgs/python3-jupyter_packaging/template

diff --git a/srcpkgs/python3-jupyter_packaging/patches/178.patch b/srcpkgs/python3-jupyter_packaging/patches/178.patch
new file mode 100644
index 000000000000..a158454dbb73
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/patches/178.patch
@@ -0,0 +1,23 @@
+From e963fb27aa3b58cd70c5ca61ebe68c222d803b7e Mon Sep 17 00:00:00 2001
+From: Steven Silvester <steven.silvester@ieee.org>
+Date: Tue, 7 Mar 2023 10:47:22 -0600
+Subject: [PATCH] Ignore warning raised when importing
+ setuptools.command.develop
+
+---
+ pyproject.toml | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e4c1e27..b316257 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -81,5 +81,7 @@ filterwarnings= [
+   # Fail on warnings
+   "error",
+   # Ignore our own deprecation warnings.
+-  "ignore:.*:deprecation.DeprecatedWarning"
++  "ignore:.*:deprecation.DeprecatedWarning",
++  # Ignore warning raised when importing setuptools.command.develop.
++  "ignore:pkg_resources is deprecated as an API:DeprecationWarning"
+ ]
diff --git a/srcpkgs/python3-jupyter_packaging/template b/srcpkgs/python3-jupyter_packaging/template
new file mode 100644
index 000000000000..683ac6ce6d6e
--- /dev/null
+++ b/srcpkgs/python3-jupyter_packaging/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyter_packaging'
+pkgname=python3-jupyter_packaging
+version=0.12.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-packaging python3-tomlkit python3-setuptools
+ python3-wheel python3-deprecation"
+checkdepends="$depends python3-pytest-timeout python3-pytest-mock"
+short_desc="Tools to help build and install Jupyter Python packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter/jupyter-packaging"
+changelog="https://github.com/jupyter/jupyter-packaging/raw/main/CHANGELOG.md"
+distfiles="https://github.com/jupyter/jupyter-packaging/archive/refs/tags/v${version}.tar.gz"
+checksum=3a326f3b4e8b7fea8b7abf775741996095a4caf13767a9c017e9f17043e591e0
+
+post_install() {
+	vlicense LICENSE
+}

From 79c93d5ab5199258cbcdb1bd803ad310b1226dc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 10:31:37 -0300
Subject: [PATCH 37/50] New package: hatch-jupyter-builder-0.8.3

---
 srcpkgs/hatch-jupyter-builder/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/hatch-jupyter-builder/template

diff --git a/srcpkgs/hatch-jupyter-builder/template b/srcpkgs/hatch-jupyter-builder/template
new file mode 100644
index 000000000000..dafd4563350c
--- /dev/null
+++ b/srcpkgs/hatch-jupyter-builder/template
@@ -0,0 +1,19 @@
+# Template file for 'hatch-jupyter-builder'
+pkgname=hatch-jupyter-builder
+version=0.8.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest-mock python3-tomli"
+short_desc="Hatch plugin to help build Jupyter packages"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyterlab/hatch-jupyter-builder"
+changelog="https://github.com/jupyterlab/hatch-jupyter-builder/raw/main/CHANGELOG.md"
+distfiles="https://github.com/jupyterlab/hatch-jupyter-builder/archive/refs/tags/v${version}.tar.gz"
+checksum=b167709e9bd196b3b92fe13a20b10c09cd30ca550759a9f06834378eb371af96
+
+post_install() {
+	vlicense LICENSE.txt
+}

From e4494c7d7b35a9c360bd23ec0ed3280a37a13a76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 13:25:40 -0300
Subject: [PATCH 38/50] python3-jupyterlab_pygments: update to 0.2.2.

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

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
index cb6b1aded2e6..ad2f0aabdb2b 100644
--- a/srcpkgs/python3-jupyterlab_pygments/template
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -1,19 +1,24 @@
 # Template file for 'python3-jupyterlab_pygments'
 pkgname=python3-jupyterlab_pygments
-version=0.1.2
-revision=3
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.2.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-jupyter_packaging"
 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
+checksum=7405d7fde60819d905a9fa8ce89e4cd830e318cdad22a0030f7a901da705585d
 # Upstream defines no tests
 make_check=no
 
+post_patch() {
+	# jupyterlab not really needed for building
+	vsed -i -e 's|, "jupyterlab~=3.1"||' pyproject.toml
+}
+
 post_install() {
 	vlicense LICENSE
 }

From d8c02f3ee8377bb7b9da5f90ac53a53cc8107879 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 17:54:18 -0300
Subject: [PATCH 39/50] python3-jupyter_widgetsnbextension: update to 4.0.7,
 adopt.

---
 .../template                                   | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/template b/srcpkgs/python3-jupyter_widgetsnbextension/template
index 4b6b899992a3..efeb920ed572 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/template
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/template
@@ -1,19 +1,17 @@
 # Template file for 'python3-jupyter_widgetsnbextension'
 pkgname=python3-jupyter_widgetsnbextension
-version=3.5.1
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-jupyter_notebook"
-checkdepends="$depends"
+version=4.0.7
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-jupyter_packaging"
 short_desc="Interactive HTML widgets for Jupyter notebooks"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://pypi.org/project/widgetsnbextension/"
 distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
-checksum=079f87d87270bce047512400efd70238820751a11d2d8cb137a5a5bdbaf255c7
-replaces="python-jupyter_widgetsnbextension-data>=0"
-conf_files="/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json"
+checksum=ea67c17a7cd4ae358f8f46c3b304c40698bc0423732e3f273321ee141232c8be
+# Upstream defines no tests
+make_check=no
 
 post_install() {
 	# /usr/etc is intended for *example configuration*

From 086d487c4f64720c223f23fa13b8e7bf06884e47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 23:03:23 -0300
Subject: [PATCH 40/50] python3-jupyter_ipywidgets: update to 8.0.6, adopt.

---
 srcpkgs/python3-jupyter_ipywidgets/template | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index dee09caf562c..87628b19c478 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,17 +1,19 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
-version=7.6.3
-revision=3
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-jupyter_widgetsnbextension python3-ipython_ipykernel python3-traitlets"
-checkdepends="python3-pytest $depends"
+version=8.0.6
+revision=1
+build_style=python3-pep517
+make_check_target="ipywidgets"  # workaround for #43946
+hostmakedepends="python3-wheel"
+depends="python3-ipython_ipykernel"
+checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
 short_desc="IPython widgets for the Jupyter notebook"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter-widgets/ipywidgets"
+changelog="https://raw.githubusercontent.com/jupyter-widgets/ipywidgets/main/docs/source/changelog.md"
 distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
-checksum=9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
+checksum=de7d779f2045d60de9f6c25f653fdae2dba57898e6a1284494b3ba20b6893bb8
 
 post_install() {
 	vlicense LICENSE

From 452f3eff2160ea78ab6e223cde44fc9ca816c30a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 23:14:20 -0300
Subject: [PATCH 41/50] python3-nbclient: update to 0.8.0.

---
 srcpkgs/python3-nbclient/template | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index dca1870f7b9e..5e2347092885 100644
--- a/srcpkgs/python3-nbclient/template
+++ b/srcpkgs/python3-nbclient/template
@@ -1,19 +1,21 @@
 # Template file for 'python3-nbclient'
 pkgname=python3-nbclient
-version=0.7.0
+version=0.8.0
 revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-traitlets python3-jupyter_client
- python3-jupyter_nbformat python3-async_generator python3-nest_asyncio"
+build_style=python3-pep517
+make_check_target="nbclient"  # workaround for #43946
+hostmakedepends="hatchling"
+depends="python3-jupyter_client python3-jupyter_nbformat"
+checkdepends="$depends python3-pytest-asyncio python3-flaky
+ python3-jupyter_ipywidgets python3-jupyter_nbconvert
+ python3-xmltodict"
 short_desc="Client library for executing Jupyter notebooks"
 maintainer="dkwo <nicolopiazzalunga@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://nbclient.readthedocs.io/en/latest/"
+changelog="https://github.com/jupyter/nbclient/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
-checksum=a1d844efd6da9bc39d2209bf996dbd8e07bf0f36b796edfabaa8f8a9ab77c3aa
-# Package might need to be installed for testing
-make_check=no
+checksum=f9b179cd4b2d7bca965f900a2ebf0db4a12ebff2f36a711cb66861e4ae158e55
 
 post_install() {
 	vlicense LICENSE

From 796e7a7338e448773cb51539d00ff96e355e74d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 15:11:44 -0300
Subject: [PATCH 42/50] python3-jupyter_nbconvert: update to 7.4.0, adopt.

---
 srcpkgs/python3-jupyter_nbconvert/INSTALL.msg |  2 -
 srcpkgs/python3-jupyter_nbconvert/template    | 39 ++++++++++++-------
 2 files changed, 24 insertions(+), 17 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_nbconvert/INSTALL.msg

diff --git a/srcpkgs/python3-jupyter_nbconvert/INSTALL.msg b/srcpkgs/python3-jupyter_nbconvert/INSTALL.msg
deleted file mode 100644
index 5efba6bbb86f..000000000000
--- a/srcpkgs/python3-jupyter_nbconvert/INSTALL.msg
+++ /dev/null
@@ -1,2 +0,0 @@
-To convert notebooks to formats other than HTML and markdown install
-python3-Sphinx and/or pandoc.
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index 9a92c929b0a0..265792611932 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,24 +1,33 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=6.4.5
-revision=2
-build_style=python3-module
-# WebPDF export depends on unpackaged pyppeteer
-make_check_args="-m not(network) -k not(test_webpdf_without_chromium)"
-hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
- python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
- python3-bleach python3-pandocfilters python3-defusedxml
- python3-BeautifulSoup4"
-checkdepends="python3-pytest python3-ipython_ipykernel
- python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
+version=7.4.0
+revision=1
+build_style=python3-pep517
+# these two tests require nbconvert.tests (not installed)
+make_check_args="-k not((test_convert_full_qualified_name)or(test_post_processor))"
+hostmakedepends="hatchling"
+depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
+ python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
+ python3-MarkupSafe python3-mistune2 python3-nbclient
+ python3-jupyter_nbformat python3-packaging python3-pandocfilters
+ python3-tinycss2"
+checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
+ asciidoc inkscape pandoc"
 short_desc="Converting Jupyter notebooks"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
+changelog="https://github.com/jupyter/nbconvert/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=21163a8e2073c07109ca8f398836e45efdba2aacea68d6f75a8a545fef070d4e
-conflicts="python-jupyter_nbconvert<=5.4.1_2"
+checksum=51b6c77b507b177b73f6729dba15676e42c4e92bcb00edc8cc982ee72e7d89d7
+
+pre_check() {
+	# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
+	# but they are in ${wrksrc}/share/templates
+	# fix with a symlink  share/nbconvert -> share/.
+	[ -d share/nbconvert ] || ln -s . share/nbconvert
+	export JUPYTER_DATA_DIR="${wrksrc}/share"
+}
 
 post_install() {
 	vlicense LICENSE

From 616f1822911fdcbbd47355b82a2194257f017f17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 18:39:23 -0300
Subject: [PATCH 43/50] New package: python3-jupyter_events-0.6.3

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

diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
new file mode 100644
index 000000000000..751fe1da8d7d
--- /dev/null
+++ b/srcpkgs/python3-jupyter_events/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyter_events'
+pkgname=python3-jupyter_events
+version=0.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-jsonschema python3-json-logger python3-yaml
+ python3-traitlets python3-click python3-rich"
+checkdepends="$depends python3-pytest-asyncio python3-pytest-console-scripts"
+short_desc="Configurable event system for Jupyter applications and extensions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter/jupyter_events"
+changelog="https://github.com/jupyter/jupyter_events/raw/main/CHANGELOG.md"
+distfiles="https://github.com/jupyter/jupyter_events/archive/refs/tags/v${version}.tar.gz"
+checksum=4542e4d4af8cb8f2f3da3145b59053d879c0ffeea1c35be4b4879385f7aea123
+
+post_install() {
+	vlicense COPYING.md
+}

From a9d8a06d9f94ee02424911c6e9861ba8d13f86ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 19:05:16 -0300
Subject: [PATCH 44/50] New package: python3-jupyter_server_terminals-0.4.4

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

diff --git a/srcpkgs/python3-jupyter_server_terminals/template b/srcpkgs/python3-jupyter_server_terminals/template
new file mode 100644
index 000000000000..9b125e18780c
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server_terminals/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jupyter_server_terminals'
+pkgname=python3-jupyter_server_terminals
+version=0.4.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-terminado"
+checkdepends="$depends python3-pytest-jupyter python3-jupyter_server"
+short_desc="Jupyter server extension providing support for terminals"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-server/jupyter_server_terminals"
+changelog="https://github.com/jupyter-server/jupyter_server_terminals/raw/main/CHANGELOG.md"
+distfiles="https://github.com/jupyter-server/jupyter_server_terminals/archive/refs/tags/v${version}.tar.gz"
+checksum=19aacba9fc3a068495fa7b493e9f70dba8faeb3b9e6f6510f89fa07759024446
+
+post_install() {
+	mv ${DESTDIR}/usr/etc ${DESTDIR}
+	vlicense LICENSE
+}

From bb612a632fdc81a3bdbe4792a487fce7ab7699b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 22:30:26 -0300
Subject: [PATCH 45/50] python3-jupyter_server: update to 2.6.0.

---
 .../patches/fix-pytest-xdist.patch            | 32 +++++++++++++++++++
 srcpkgs/python3-jupyter_server/template       | 31 +++++++++---------
 2 files changed, 47 insertions(+), 16 deletions(-)
 create mode 100644 srcpkgs/python3-jupyter_server/patches/fix-pytest-xdist.patch

diff --git a/srcpkgs/python3-jupyter_server/patches/fix-pytest-xdist.patch b/srcpkgs/python3-jupyter_server/patches/fix-pytest-xdist.patch
new file mode 100644
index 000000000000..565e39ab2637
--- /dev/null
+++ b/srcpkgs/python3-jupyter_server/patches/fix-pytest-xdist.patch
@@ -0,0 +1,32 @@
+diff --git a/tests/test_gateway.py b/tests/test_gateway.py
+index b69564220..47280e971 100644
+--- a/tests/test_gateway.py
++++ b/tests/test_gateway.py
+@@ -362,15 +362,12 @@ def test_gateway_request_timeout_pad_option(
+     GatewayClient.clear_instance()
+ 
+ 
+-cookie_expire_time = format_datetime(datetime.now(tz=timezone.utc) + timedelta(seconds=180))
+-
+-
+ @pytest.mark.parametrize(
+     "accept_cookies,expire_arg,expire_param,existing_cookies,cookie_exists",
+     [
+         (False, None, None, "EXISTING=1", False),
+         (True, None, None, "EXISTING=1", True),
+-        (True, "Expires", cookie_expire_time, None, True),
++        (True, "Expires", 180, None, True),
+         (True, "Max-Age", "-360", "EXISTING=1", False),
+     ],
+ )
+@@ -389,6 +386,10 @@ def test_gateway_request_with_expiring_cookies(
+ 
+     cookie: SimpleCookie = SimpleCookie()
+     cookie.load("SERVERID=1234567; Path=/")
++    if expire_arg == "Expires":
++        expire_param = format_datetime(
++                datetime.now(tz=timezone.utc) +
++                timedelta(seconds=expire_param))
+     if expire_arg:
+         cookie["SERVERID"][expire_arg] = expire_param
+ 
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index 798aa4af2309..c1829a33d72d 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,26 +1,25 @@
 # Template file for 'python3-jupyter_server'
 pkgname=python3-jupyter_server
-version=1.23.1
+version=2.6.0
 revision=1
-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"
-checkdepends="${depends} python3-argon2 python3-packaging
- python3-coverage python3-pytest-mock python3-requests
- python3-pytest python3-pytest-timeout python3-pytest-asyncio"
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-jupyter-builder"
+depends="python3-anyio python3-argon2 python3-jupyter_client
+ python3-jupyter_events python3-jupyter_nbconvert
+ python3-jupyter_server_terminals python3-overrides
+ python3-prometheus_client python3-send2trash
+ python3-websocket-client"
+checkdepends="$depends pandoc python3-ipython_ipykernel
+ python3-pytest-console-scripts python3-pytest-jupyter
+ python3-pytest-xdist python3-requests"
 short_desc="Backend to Jupyter web applications"
 maintainer="dkwo <nicolopiazzalunga@gmail.com>"
 license="BSD-3-Clause"
-homepage="https://jupyter.org"
-changelog="https://raw.githubusercontent.com/jupyter-server/jupyter_server/main/CHANGELOG.md"
+homepage="https://github.com/jupyter-server/jupyter_server"
+changelog="https://github.com/jupyter-server/jupyter_server/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
-checksum=cee48d9d96cecd0f94b7cb41ecd4f0ab05b01643769f61c5d397b7873bc9a1e2
-# missing pytest-tornasync, pytest-console-scripts
-make_check=no
+checksum=ae4af349f030ed08dd78cb7ac1a03a92d886000380c9ea6283f3c542a81f4b06
 
 post_install() {
-	vlicense COPYING.md
+	vlicense LICENSE
 }

From 7104145debc0b563cd0ae4a564bf28d0308df0f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 24 May 2023 12:09:02 -0300
Subject: [PATCH 46/50] python3-notebook_shim: update to 0.2.3.

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

diff --git a/srcpkgs/python3-notebook_shim/template b/srcpkgs/python3-notebook_shim/template
index 37287de8e7d2..25efd961b6d8 100644
--- a/srcpkgs/python3-notebook_shim/template
+++ b/srcpkgs/python3-notebook_shim/template
@@ -1,19 +1,20 @@
 # Template file for 'python3-notebook_shim'
 pkgname=python3-notebook_shim
-version=0.2.2
+version=0.2.3
 revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling"
 depends="python3-jupyter_server"
+checkdepends="$depends python3-pytest-jupyter"
 short_desc="Shim layer for notebook traits and config"
 maintainer="dkwo <npiazza@disroot.org>"
 license="BSD-3-Clause"
 homepage="https://github.com/jupyter/notebook_shim"
+changelog="https://github.com/jupyter/notebook_shim/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/n/notebook_shim/notebook_shim-${version}.tar.gz"
-checksum=090e0baf9a5582ff59b607af523ca2db68ff216da0c69956b62cab2ef4fc9c3f
-make_check=no # missing pytest_tornasync
+checksum=f69388ac283ae008cd506dda10d0288b09a017d822d5e8c7129a152cbd3ce7e9
 
 post_install() {
+	mv ${DESTDIR}/usr/etc ${DESTDIR}
 	vlicense LICENSE
-	mv "${PKGDESTDIR}/usr/etc" ${PKGDESTDIR}/etc/
 }

From de5b5e43a020a1a132453d863fd0fc1dea86659c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 May 2023 23:12:45 -0300
Subject: [PATCH 47/50] python3-nbclassic: update to 1.0.0.

---
 srcpkgs/python3-nbclassic/template | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
index 4c751d222a60..9a200fae0bf8 100644
--- a/srcpkgs/python3-nbclassic/template
+++ b/srcpkgs/python3-nbclassic/template
@@ -1,25 +1,25 @@
 # Template file for 'python3-nbclassic'
 pkgname=python3-nbclassic
-version=0.4.8
+version=1.0.0
 revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-jupyter_notebook python3-jupyter_server"
-checkdepends="${depends} python3-pytest python3-pytest-fixture-config python3-pytest-subtests"
+build_style=python3-pep517
+make_build_args="--no-isolation  --wheel --skip-dependency-check"
+hostmakedepends="python3-jupyter_packaging python3-jupyter_server"
+depends="mathjax2 python3-notebook_shim"
+checkdepends="$depends python3-pytest-jupyter"
 short_desc="Jupyter Notebook as a Jupyter Server Extension"
 maintainer="dkwo <nicolopiazzalunga@gmail.com>"
 license="BSD-3-Clause"
-homepage="https://jupyter.org"
+homepage="https://github.com/jupyter/nbclassic"
+changelog="https://github.com/jupyter/nbclassic/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
-checksum=c74d8a500f8e058d46b576a41e5bc640711e1032cf7541dde5f73ea49497e283
-# missing fixtures: jp_create_notebook jp_fetch
-make_check=no
-
-conf_files="/etc/jupyter/jupyter_server_config.d/*.json"
+checksum=0ae11eb2319455d805596bf320336cda9554b41d99ab9a3c31bf8180bffa30e3
 
 post_install() {
 	vlicense LICENSE
+	mv ${DESTDIR}/usr/etc ${DESTDIR}
 
-	# jupyter honors /etc/juypter; move config files there
-	mv "${DESTDIR}/usr/etc" "${DESTDIR}/etc"
+	# use system mathjax2
+	rm -rf ${DESTDIR}/${py3_sitelib}/nbclassic/static/components/MathJax
+	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/nbclassic/static/components/MathJax
 }

From 3009c19588dea5bc3dcb2bca3333ea55e447b25f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 27 May 2023 17:50:24 -0300
Subject: [PATCH 48/50] python3-jupyterlab_server: update to 2.22.1.

---
 .../patches/fix-test-api.patch                | 21 +++++++++++++++++
 srcpkgs/python3-jupyterlab_server/template    | 23 +++++++++++--------
 2 files changed, 34 insertions(+), 10 deletions(-)
 create mode 100644 srcpkgs/python3-jupyterlab_server/patches/fix-test-api.patch

diff --git a/srcpkgs/python3-jupyterlab_server/patches/fix-test-api.patch b/srcpkgs/python3-jupyterlab_server/patches/fix-test-api.patch
new file mode 100644
index 000000000000..9bcf34ee7c17
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_server/patches/fix-test-api.patch
@@ -0,0 +1,21 @@
+diff --git a/jupyterlab_server/test_utils.py b/jupyterlab_server/test_utils.py
+index f761ec8..2c52664 100644
+--- a/jupyterlab_server/test_utils.py
++++ b/jupyterlab_server/test_utils.py
+@@ -156,14 +156,14 @@ def validate_request(response):
+         result = V30RequestValidator(openapi_spec).validate(request)
+     else:
+         result = openapi_request_validator.validate(openapi_spec, request)
+-    result.raise_for_errors()
++        result.raise_for_errors()
+ 
+     response = TornadoOpenAPIResponse(response)
+     if V30ResponseValidator:
+         result2 = V30ResponseValidator(openapi_spec).validate(request, response)
+     else:
+         result2 = openapi_response_validator.validate(openapi_spec, request, response)
+-    result2.raise_for_errors()
++        result2.raise_for_errors()
+ 
+ 
+ def maybe_patch_ioloop():
diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
index a09205776e6c..8daa0801c0c9 100644
--- a/srcpkgs/python3-jupyterlab_server/template
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -1,18 +1,21 @@
 # Template file for 'python3-jupyterlab_server'
 pkgname=python3-jupyterlab_server
-version=2.10.3
-revision=2
-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"
+version=2.22.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-jupyter_server python3-Babel python3-json5
+ python3-requests"
+checkdepends="$depends python3-pytest-jupyter python3-openapi-core
+ python3-requests-mock python3-strict-rfc3339 python3-ruamel.yaml
+ python3-pip"
+short_desc="Server components for JupyterLab and JL-like applications"
 maintainer="dkwo <nicolopiazzalunga@gmail.com>"
 license="BSD-3-Clause"
-homepage="https://jupyter.org"
+homepage="https://github.com/jupyterlab/jupyterlab_server"
+changelog="https://github.com/jupyterlab/jupyterlab_server/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/j/jupyterlab_server/jupyterlab_server-${version}.tar.gz"
-checksum=3fb84a5813d6d836ceda773fb2d4e9ef3c7944dbc1b45a8d59d98641a80de80a
-# Tests require unpackaged dependencies
-make_check=no
+checksum=dfaaf898af84b9d01ae9583b813f378b96ee90c3a66f24c5186ea5d1bbdb2089
 
 post_install() {
 	vlicense LICENSE

From 136af91f236354bddb53cdf019355acf144695b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 28 May 2023 18:19:20 -0300
Subject: [PATCH 49/50] jupyterlab: update to 4.0.0.

---
 srcpkgs/jupyterlab/template | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 65597d3b63d5..8d5592d04abb 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,22 +1,28 @@
 # Template file for 'jupyterlab'
 pkgname=jupyterlab
-version=3.5.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-jupyterlab_server nodejs python3-nbclassic
- python3-requests-unixsocket python3-jupyter_ipywidgets
- python3-notebook_shim"
+version=4.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-jupyter-builder"
+depends="nodejs python3-async-lru python3-ipython_ipykernel
+ python3-jupyterlab_server python3-notebook_shim"
+checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
 short_desc="JupyterLab computational environment"
 maintainer="dkwo <nicolopiazzalunga@gmail.com>"
 license="custom:jupyterlab"
 homepage="https://jupyter.org"
+changelog="https://github.com/jupyterlab/jupyterlab/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/j/jupyterlab/jupyterlab-${version}.tar.gz"
-checksum=e02556c8ea1b386963c4b464e4618aee153c5416b07ab481425c817a033323a2
-# Tests require unpackaged dependencies
-make_check=no
+checksum=ce656d04828b2e4ee0758e22c862cc99aedec66a10319d09f0fd5ea51be68dd8
+
+post_patch() {
+	# works ok with nodejs 16, and nodejs 18 is n/a (#41239)
+	vsed -e 's/"node": ">=18.0.0"/"node": ">=16.0.0"/' \
+		-i jupyterlab/staging/package.json
+}
 
 post_install() {
+	mv ${DESTDIR}/usr/etc ${DESTDIR}
 	vlicense LICENSE
 	vinstall "${FILESDIR}/jupyterlab.sh" 644 etc/profile.d
 }

From 91d2be928208d185ca5677f7ca8c796673d39610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 29 May 2023 16:40:44 -0300
Subject: [PATCH 50/50] python3-jupyter_notebook: update to 7.0.0b3.

---
 .../patches/no-versioned-coverage.patch       | 16 ----------
 srcpkgs/python3-jupyter_notebook/template     | 30 ++++++++-----------
 srcpkgs/python3-jupyter_notebook/update       |  2 +-
 3 files changed, 13 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/python3-coverage/patches/no-versioned-coverage.patch

diff --git a/srcpkgs/python3-coverage/patches/no-versioned-coverage.patch b/srcpkgs/python3-coverage/patches/no-versioned-coverage.patch
deleted file mode 100644
index fefbfc0af761..000000000000
--- a/srcpkgs/python3-coverage/patches/no-versioned-coverage.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -86,12 +86,9 @@ setup_args = dict(
-     },
- 
-     entry_points={
--        # Install a script as "coverage", and as "coverage[23]", and as
--        # "coverage-2.7" (or whatever).
-+        # Install a script as "coverage"
-         'console_scripts': [
-             'coverage = coverage.cmdline:main',
--            'coverage%d = coverage.cmdline:main' % sys.version_info[:1],
--            'coverage-%d.%d = coverage.cmdline:main' % sys.version_info[:2],
-         ],
-     },
- 
diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index 620b6715abfc..ca766e4aa368 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,27 +1,21 @@
 # Template file for 'python3-jupyter_notebook'
 pkgname=python3-jupyter_notebook
-version=6.4.10
-revision=3
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-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
- mathjax2 python3-argon2"
+version=7.0.0b3
+revision=1
+build_style=python3-pep517
+make_build_args="--no-isolation  --wheel --skip-dependency-check"
+hostmakedepends="hatchling hatch-jupyter-builder jupyterlab"
+depends="python3-jupyter_client"
+checkdepends="$depends python3-pytest-jupyter"
 short_desc="Jupyter interactive notebook"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
-homepage="https://jupyter.org/"
+homepage="https://github.com/jupyter/notebook"
+changelog="https://github.com/jupyter/notebook/raw/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=2408a76bc6289283a8eecfca67e298ec83c67db51a4c2e1b713dd180bb39e90e
-conflicts="python-jupyter_notebook<=5.7.0_2"
-# Tests require unpackaged selenium
-make_check=no
+checksum=5507449334c145e2a863ddb34498607d2394f35610923631d2f133c7c11e6da1
 
 post_install() {
+	mv ${DESTDIR}/usr/etc ${DESTDIR}
 	vlicense LICENSE
-	# use system mathjax
-	rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
-	ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
 }
diff --git a/srcpkgs/python3-jupyter_notebook/update b/srcpkgs/python3-jupyter_notebook/update
index 1bb284fed496..276c9bf787e5 100644
--- a/srcpkgs/python3-jupyter_notebook/update
+++ b/srcpkgs/python3-jupyter_notebook/update
@@ -1,2 +1,2 @@
 pkgname=notebook
-ignore="*a* *b* *rc*"
+#ignore="*a* *b* *rc*"

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

end of thread, other threads:[~2023-10-10 21:00 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-30  2:01 [PR PATCH] [RFC] [WIP] updates to jupyter, jupyterlab, notebook, etc tornaria
2023-05-30  2:15 ` tornaria
2023-05-30 21:51 ` dkwo
2023-05-31  0:10 ` tornaria
2023-06-28 21:30 ` dkwo
2023-07-06  1:43 ` dkwo
2023-07-06  2:08 ` [PR REVIEW] " classabbyamp
2023-08-19  8:42 ` dkwo
2023-08-19  8:42 ` dkwo
2023-08-19 19:00 ` tornaria
2023-09-26  1:47 ` [PR PATCH] [Updated] " tornaria
2023-09-26 13:54 ` tornaria
2023-09-26 19:46 ` tornaria
2023-09-26 20:27 ` tornaria
2023-09-27 13:00 ` tornaria
2023-09-28  1:40 ` tornaria
2023-09-28 23:40 ` tornaria
2023-09-29  0:48 ` tornaria
2023-09-29 12:30 ` tornaria
2023-09-30  2:53 ` tornaria
2023-09-30 15:49 ` tornaria
2023-10-02 19:06 ` dkwo
2023-10-03  0:15 ` tornaria
2023-10-03 15:19 ` dkwo
2023-10-09 21:10 ` [PR PATCH] [Updated] " tornaria
2023-10-09 21:31 ` tornaria
2023-10-09 21:31 ` tornaria
2023-10-09 21:41 ` [PR PATCH] [Updated] " tornaria
2023-10-09 22:11 ` tornaria
2023-10-09 22:31 ` dkwo
2023-10-10 13:44 ` tornaria
2023-10-10 14:21 ` [PR PATCH] [Updated] " tornaria
2023-10-10 15:19 ` tornaria
2023-10-10 16:22 ` Updates " tornaria
2023-10-10 16:24 ` tornaria
2023-10-10 16:29 ` [PR PATCH] [Merged]: " ahesford
2023-10-10 17:34 ` dkwo
2023-10-10 20:32 ` tornaria
2023-10-10 21:00 ` dkwo

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).