Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Jupyter updates
@ 2023-11-27  2:44 tornaria
  2023-11-27 11:56 ` [PR PATCH] [Merged]: " ahesford
  0 siblings, 1 reply; 2+ messages in thread
From: tornaria @ 2023-11-27  2:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2217 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/47424

Jupyter updates
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

Summary:
- python3-openapi-core: update to 0.18.2.
- python3-rpds-py: update to 0.13.1.
- python3-referencing: update to 0.31.0.
- python3-jsonschema-specifications: update to 2023.11.1.
- python3-jsonschema: update to 4.20.0.
- python3-jsonschema-path: update to 0.3.2.
- python3-fastjsonschema: update to 2.19.0.
- python3-comm: update to 0.2.0.
- python3-jupyter_client: update to 8.6.0.
- python3-ipython_ipykernel: update to 6.27.0.
- python3-jupyter_ipywidgets: depend on widgetsnbextension.
- python3-jupyter_events: update to 0.9.0.
- python3-jupyterlab_pygments: update to 0.3.0.
- python3-nbclient: update to 0.9.0.
- python3-jupyter_nbconvert: update to 7.11.0.
- python3-jupyter_qtconsole: update to 5.5.1.
- python3-jupyter_server: update to 2.11.0.
- python3-jupyterlab_server: update to 2.25.2.
- jupyterlab: update to 4.0.9.

I think qtconsole 5.4 was the last dependent of `python3-ipython_genutils` so that pkg could in principle be removed.

<!--
#### 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/47424.patch is attached

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

From cba440bc270b93ad0dc71cca086729bfd1ebd2af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 6 Nov 2023 23:25:40 -0300
Subject: [PATCH 01/19] python3-openapi-core: update to 0.18.2.

---
 .../patches/jsonschema-path.patch                 | 15 +++++++++++++++
 srcpkgs/python3-openapi-core/template             |  6 +++---
 2 files changed, 18 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-openapi-core/patches/jsonschema-path.patch

diff --git a/srcpkgs/python3-openapi-core/patches/jsonschema-path.patch b/srcpkgs/python3-openapi-core/patches/jsonschema-path.patch
new file mode 100644
index 0000000000000..b82c8edc38e35
--- /dev/null
+++ b/srcpkgs/python3-openapi-core/patches/jsonschema-path.patch
@@ -0,0 +1,15 @@
+Fix import for renamed module jsonschema_spec -> jsonschema_path
+
+This change is already merged upstream in master (n/a in a release)
+
+--- a/openapi_core/spec/paths.py
++++ b/openapi_core/spec/paths.py
+@@ -6,7 +6,7 @@
+ from typing import TypeVar
+ 
+ from jsonschema.validators import _UNSET
+-from jsonschema_spec import SchemaPath
++from jsonschema_path import SchemaPath
+ from openapi_spec_validator import validate
+ 
+ TSpec = TypeVar("TSpec", bound="Spec")
diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
index b6cc997bb4545..cffd2263ba4b3 100644
--- a/srcpkgs/python3-openapi-core/template
+++ b/srcpkgs/python3-openapi-core/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-openapi-core'
 pkgname=python3-openapi-core
-version=0.18.1
-revision=2
+version=0.18.2
+revision=1
 build_style=python3-pep517
 # disable tests requiring unpackaged dependencies
 make_check_args="
@@ -21,7 +21,7 @@ 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=63fa13d9af226ac00119b0531ac9929e3dbb4cbe00216770784473fa6a03bc27
+checksum=d4cc50f3ee03ae46313c83e97c6fbfe7e7ae9686741135eb0e4ed49e9d8ff08a
 
 post_install() {
 	vlicense LICENSE

From 1f8dd6e71169a08aa131824e60c3c03758e51243 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 6 Nov 2023 23:27:18 -0300
Subject: [PATCH 02/19] python3-rpds-py: update to 0.13.1.

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

diff --git a/srcpkgs/python3-rpds-py/template b/srcpkgs/python3-rpds-py/template
index a561ebfed81b8..a644a30f71b0c 100644
--- a/srcpkgs/python3-rpds-py/template
+++ b/srcpkgs/python3-rpds-py/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-rpds-py'
 pkgname=python3-rpds-py
-version=0.10.6
+version=0.13.1
 revision=1
 build_style=python3-pep517
 build_helper=rust
@@ -14,7 +14,7 @@ license="MIT"
 homepage="https://github.com/crate-py/rpds"
 changelog="https://github.com/crate-py/rpds/releases"
 distfiles="${PYPI_SITE}/r/rpds-py/rpds_py-${version}.tar.gz"
-checksum=4ce5a708d65a8dbf3748d2474b580d606b1b9f91b5c6ab2a316e0b0cf7a4ba50
+checksum=264f3a5906c62b9df3a00ad35f6da1987d321a053895bd85f9d5c708de5c0fbf
 
 post_install() {
 	vlicense LICENSE

From 4ca54433c6bfde2fc190395c94961d5e9fec8d25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 25 Nov 2023 20:47:13 -0300
Subject: [PATCH 03/19] python3-referencing: update to 0.31.0.

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

diff --git a/srcpkgs/python3-referencing/template b/srcpkgs/python3-referencing/template
index dae94c6790714..828f23ba6f506 100644
--- a/srcpkgs/python3-referencing/template
+++ b/srcpkgs/python3-referencing/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-referencing'
 pkgname=python3-referencing
-version=0.30.2
-revision=2
+version=0.31.0
+revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
 depends="python3-rpds-py"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://github.com/python-jsonschema/referencing"
 changelog="https://raw.githubusercontent.com/python-jsonschema/referencing/main/docs/changes.rst"
 distfiles="${PYPI_SITE}/r/referencing/referencing-${version}.tar.gz"
-checksum=794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0
+checksum=cc28f2c88fbe7b961a7817a0abc034c09a1e36358f82fedb4ffdf29a25398863
 
 if [ "$XBPS_CHECK_PKGS" = full ]; then
 	# cyclic dependency

From 6a2d036def3aea4e27798fc3b05812e0c98fd0ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 25 Nov 2023 20:47:11 -0300
Subject: [PATCH 04/19] python3-jsonschema-specifications: update to 2023.11.1.

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

diff --git a/srcpkgs/python3-jsonschema-specifications/template b/srcpkgs/python3-jsonschema-specifications/template
index a29aef5182143..f2cc79bbf8eb9 100644
--- a/srcpkgs/python3-jsonschema-specifications/template
+++ b/srcpkgs/python3-jsonschema-specifications/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-jsonschema-specifications'
 pkgname=python3-jsonschema-specifications
-version=2023.7.1
-revision=2
+version=2023.11.1
+revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
 depends="python3-referencing"
@@ -11,7 +11,7 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="MIT"
 homepage="https://github.com/python-jsonschema/jsonschema-specifications"
 distfiles="${PYPI_SITE}/j/jsonschema-specifications/jsonschema_specifications-${version}.tar.gz"
-checksum=c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb
+checksum=c9b234904ffe02f079bf91b14d79987faa685fd4b39c377a0996954c0090b9ca
 
 post_install() {
 	vlicense COPYING

From c47ff3478cda0b5601b5e94c40b463d75621d963 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 25 Nov 2023 20:47:12 -0300
Subject: [PATCH 05/19] python3-jsonschema: update to 4.20.0.

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

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 4cae7d0e5ad0f..39b0ee47b7868 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.19.2
+version=4.20.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
@@ -13,7 +13,7 @@ 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=c9ff4d7447eed9592c23a12ccee508baf0dd0d59650615e847feb6cdca74f392
+checksum=4f614fd46d8d61258610998997743ec5492a648b33cf478c1ddc23ed4598a5fa
 
 post_install() {
 	vlicense COPYING LICENSE

From d8b4cca17a0cee3134e3eeae0392cc9cd0653406 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 25 Nov 2023 20:47:10 -0300
Subject: [PATCH 06/19] python3-jsonschema-path: update to 0.3.2.

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

diff --git a/srcpkgs/python3-jsonschema-path/template b/srcpkgs/python3-jsonschema-path/template
index 43bb433e0a585..d5b8d2c96cad6 100644
--- a/srcpkgs/python3-jsonschema-path/template
+++ b/srcpkgs/python3-jsonschema-path/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-jsonschema-path'
 pkgname=python3-jsonschema-path
-version=0.3.1
+version=0.3.2
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
@@ -12,7 +12,7 @@ license="Apache-2.0"
 homepage="https://github.com/p1c2u/jsonschema-path"
 changelog="https://github.com/p1c2u/jsonschema-path/releases"
 distfiles="https://github.com/p1c2u/jsonschema-path/archive/refs/tags/${version}.tar.gz"
-checksum=1a852314243ac7d9ba25055f2b105e2b3f30538692e61d2686a1ca3278832bff
+checksum=741ef50da4fa0e1b3c504fe0b0db218d471b30ee10691aee2ca468c8039bf2d5
 
 python3-jsonschema-spec_package() {
 	depends="${sourcepkg}>=${version}_${revision}"

From 12e5dd0bad9633c3ce7b68933fdfaed555e5a59d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 25 Nov 2023 20:47:09 -0300
Subject: [PATCH 07/19] python3-fastjsonschema: update to 2.19.0.

---
 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 e33bab197e30f..e5b6ae54aaddd 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.18.1
+version=2.19.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
@@ -12,7 +12,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=0001458f4c48a9f4d0198ba079bf9aac5cc2873731b45cd146d7cf5f02e5df63
+checksum=96daa34692e7ddd8044bdbe4279a9fbd935f7febbcdf9170ab26340c06d0027a
 
 post_install() {
 	vlicense LICENSE

From c9c8430c0dcb76e169cacd7d01cbf229bef38229 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 6 Nov 2023 23:27:30 -0300
Subject: [PATCH 08/19] python3-comm: update to 0.2.0.

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

diff --git a/srcpkgs/python3-comm/template b/srcpkgs/python3-comm/template
index 13ad0328ee940..49e37ec6b0ea8 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.4
+version=0.2.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/ipython/comm/"
 changelog="https://raw.githubusercontent.com/ipython/comm/main/CHANGELOG.md"
 distfiles="https://github.com/ipython/comm/archive/refs/tags/v$version.tar.gz"
-checksum=4b7c0b56439d6835c1f4abf31b81c931fd6a6eba9e38f11f74ac80d1a720bed7
+checksum=5977e098e586b62b45759c9fb016529e38b9bbe96923cf29b4546b2a49cace6a
 
 post_install() {
 	vlicense LICENSE

From 18c67aceed49f66f554460bf5b0b49625252daa4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 6 Nov 2023 23:27:34 -0300
Subject: [PATCH 09/19] python3-jupyter_client: update to 8.6.0.

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

diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template
index 3e9b51cf396f7..915b14fd16ca6 100644
--- a/srcpkgs/python3-jupyter_client/template
+++ b/srcpkgs/python3-jupyter_client/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-jupyter_client'
 pkgname=python3-jupyter_client
-version=8.5.0
+version=8.6.0
 revision=1
 build_style=python3-pep517
 # tests fail otherwise with jupyter_core 5.5.0
@@ -15,7 +15,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_client"
 changelog="https://raw.githubusercontent.com/jupyter/jupyter_client/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
-checksum=e8754066510ce456358df363f97eae64b50860f30dc1fe8c6771440db3be9a63
+checksum=0642244bb83b4764ae60d07e010e15f0e2d275ec4e918a8f7b80fbbef3ca60c7
 conflicts="python-jupyter_client<=5.2.4_2"
 make_check=extended  # avoid a circular dependency
 

From 613aad209a0dab45b072d6020e8ae19e49f8ac64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 25 Nov 2023 20:42:11 -0300
Subject: [PATCH 10/19] python3-ipython_ipykernel: update to 6.27.0.

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

diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template
index fcf924c5fe7a9..340082b9518fe 100644
--- a/srcpkgs/python3-ipython_ipykernel/template
+++ b/srcpkgs/python3-ipython_ipykernel/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-ipython_ipykernel'
 pkgname=python3-ipython_ipykernel
-version=6.26.0
+version=6.27.0
 revision=1
 build_style=python3-pep517
 # these tests fail in 6.26.0
@@ -20,7 +20,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/ipython/ipykernel"
 changelog="https://raw.githubusercontent.com/ipython/ipykernel/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
-checksum=553856658eb8430bbe9653ea041a41bff63e9606fc4628873fc92a6cf3abd404
+checksum=7f4986f606581be73bfb32dc7a1ac9fa0e804c9be50ddf1c7a119413e982693f
 
 if [ "$XBPS_CHECK_PKGS" = full ]; then
 	# this would cause a build-time circular dependency

From 1dd75d62da862d628c0eadaafc5057c3df47079c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 25 Nov 2023 20:52:44 -0300
Subject: [PATCH 11/19] python3-jupyter_ipywidgets: depend on
 widgetsnbextension.

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

diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index 55d14cac26b21..fb63dac1a88ff 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,10 +1,10 @@
 # Template file for 'python3-jupyter_ipywidgets'
 pkgname=python3-jupyter_ipywidgets
 version=8.1.1
-revision=1
+revision=2
 build_style=python3-pep517
 hostmakedepends="python3-wheel"
-depends="python3-ipython_ipykernel"
+depends="python3-ipython_ipykernel python3-jupyter_widgetsnbextension"
 checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
 short_desc="IPython widgets for the Jupyter notebook"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"

From e81d9463839667ffb34fb5f1e44fba61a4eb577d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 6 Nov 2023 23:27:38 -0300
Subject: [PATCH 12/19] python3-jupyter_events: update to 0.9.0.

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

diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
index 79894a52e02b9..2424850a438e2 100644
--- a/srcpkgs/python3-jupyter_events/template
+++ b/srcpkgs/python3-jupyter_events/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-jupyter_events'
 pkgname=python3-jupyter_events
-version=0.8.0
+version=0.9.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling"
@@ -13,7 +13,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/jupyter/jupyter_events"
 changelog="https://raw.githubusercontent.com/jupyter/jupyter_events/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/j/jupyter_events/jupyter_events-${version}.tar.gz"
-checksum=fda08f0defce5e16930542ce60634ba48e010830d50073c3dfd235759cee77bf
+checksum=81ad2e4bc710881ec274d31c6c50669d71bbaa5dd9d01e600b56faa85700d399
 
 post_install() {
 	vlicense LICENSE

From a15003f4f61aa33bcef3379c1fc064365f155fbb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 25 Nov 2023 20:42:13 -0300
Subject: [PATCH 13/19] python3-jupyterlab_pygments: update to 0.3.0.

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

diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template
index cf382fcb45af2..eb4bedbbdd49f 100644
--- a/srcpkgs/python3-jupyterlab_pygments/template
+++ b/srcpkgs/python3-jupyterlab_pygments/template
@@ -1,23 +1,19 @@
 # Template file for 'python3-jupyterlab_pygments'
 pkgname=python3-jupyterlab_pygments
-version=0.2.2
+version=0.3.0
 revision=1
 build_style=python3-pep517
-hostmakedepends="python3-jupyter_packaging"
+make_build_args="--skip-dependency-check" # jupyterlab not needed
+hostmakedepends="hatch-jupyter-builder hatch-nodejs-version"
 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=7405d7fde60819d905a9fa8ce89e4cd830e318cdad22a0030f7a901da705585d
+checksum=721aca4d9029252b11cfa9d185e5b5af4d54772bb8072f9b7036f4170054d35d
 make_check=no  # Upstream defines no tests
 
-post_patch() {
-	# jupyterlab not really needed for building
-	vsed -i -e 's|, "jupyterlab~=3.1"||' pyproject.toml
-}
-
 post_install() {
 	vlicense LICENSE
 }

From ce7f7bd5fe2881f387ff110b1b2143d5e3c959a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 7 Nov 2023 19:47:30 -0300
Subject: [PATCH 14/19] python3-nbclient: update to 0.9.0.

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

diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index 9b2556aa53670..be2ca98d3ec9a 100644
--- a/srcpkgs/python3-nbclient/template
+++ b/srcpkgs/python3-nbclient/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-nbclient'
 pkgname=python3-nbclient
-version=0.8.0
+version=0.9.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling"
@@ -13,7 +13,7 @@ license="BSD-3-Clause"
 homepage="https://nbclient.readthedocs.io/en/latest/"
 changelog="https://raw.githubusercontent.com/jupyter/nbclient/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
-checksum=f9b179cd4b2d7bca965f900a2ebf0db4a12ebff2f36a711cb66861e4ae158e55
+checksum=4b28c207877cf33ef3a9838cdc7a54c5ceff981194a82eac59d558f05487295e
 make_check=extended  # avoid a circular dependency
 
 if [ "$XBPS_CHECK_PKGS" = full ]; then

From 269199db7a5f11a0099998d3d0f6c703f260fe45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 6 Nov 2023 23:27:41 -0300
Subject: [PATCH 15/19] python3-jupyter_nbconvert: update to 7.11.0.

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

diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index defa3f1c2ca9d..bcecda904e44b 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
-version=7.10.0
+version=7.11.0
 revision=1
 build_style=python3-pep517
 # these two tests require nbconvert.tests (not installed)
@@ -19,7 +19,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/jupyter/nbconvert"
 changelog="https://raw.githubusercontent.com/jupyter/nbconvert/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
-checksum=4bedff08848626be544de193b7594d98a048073f392178008ff4f171f5e21d26
+checksum=abedc01cf543177ffde0bfc2a69726d5a478f6af10a332fc1bf29fcb4f0cf000
 
 pre_check() {
 	# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates

From 41151ed9493d6e7eec567d13a22ac1846cf35f46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 6 Nov 2023 23:27:45 -0300
Subject: [PATCH 16/19] python3-jupyter_qtconsole: update to 5.5.1.

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

diff --git a/srcpkgs/python3-jupyter_qtconsole/template b/srcpkgs/python3-jupyter_qtconsole/template
index a7d38b0253ca9..1b99ec0ee3552 100644
--- a/srcpkgs/python3-jupyter_qtconsole/template
+++ b/srcpkgs/python3-jupyter_qtconsole/template
@@ -1,12 +1,11 @@
 # Template file for 'python3-jupyter_qtconsole'
 pkgname=python3-jupyter_qtconsole
-version=5.4.4
+version=5.5.1
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3-traitlets python3-jupyter_core python3-jupyter_client
- python3-Pygments python3-ipython_ipykernel python3-ipython_genutils
- python3-PyQt5-svg python3-QtPy"
+ python3-Pygments python3-ipython_ipykernel python3-PyQt5-svg python3-QtPy"
 checkdepends="$depends python3-pytest-qt python3-flaky"
 short_desc="Jupyter Qt console"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
@@ -14,7 +13,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/jupyter/qtconsole"
 changelog="https://raw.githubusercontent.com/jupyter/qtconsole/master/docs/source/changelog.rst"
 distfiles="${PYPI_SITE}/q/qtconsole/qtconsole-${version}.tar.gz"
-checksum=b7ffb53d74f23cee29f4cdb55dd6fabc8ec312d94f3c46ba38e1dde458693dfb
+checksum=a0e806c6951db9490628e4df80caec9669b65149c7ba40f9bf033c025a5b56bc
 conflicts="python-jupyter_qtconsole<=4.4.3_2"
 
 post_install() {

From d3507195a5dc5801f8805697a5355fc32b8fcf2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 6 Nov 2023 23:27:48 -0300
Subject: [PATCH 17/19] python3-jupyter_server: update to 2.11.0.

---
 .../patches/utcnow-deprecation.patch          | 47 -------------------
 srcpkgs/python3-jupyter_server/template       |  4 +-
 2 files changed, 2 insertions(+), 49 deletions(-)
 delete mode 100644 srcpkgs/python3-jupyter_server/patches/utcnow-deprecation.patch

diff --git a/srcpkgs/python3-jupyter_server/patches/utcnow-deprecation.patch b/srcpkgs/python3-jupyter_server/patches/utcnow-deprecation.patch
deleted file mode 100644
index 7a69b8f834e49..0000000000000
--- a/srcpkgs/python3-jupyter_server/patches/utcnow-deprecation.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-commit 13def167faf8898b2e19fc04f24c0ff6f6cc35fa
-Author: Gonzalo Tornaría <tornaria@cmat.edu.uy>
-Date:   Mon Oct 16 10:38:36 2023 -0300
-
-    utcnow deprecation
-    
-    See: https://github.com/jupyter-server/jupyter_server/issues/1296#issuecomment-1751887150
-
-diff --git a/jupyter_server/_tz.py b/jupyter_server/_tz.py
-index 24847b430..ea3e65fe2 100644
---- a/jupyter_server/_tz.py
-+++ b/jupyter_server/_tz.py
-@@ -7,7 +7,7 @@ Just UTC-awareness right now
- # Distributed under the terms of the Modified BSD License.
- from __future__ import annotations
- 
--from datetime import datetime, timedelta, tzinfo
-+from datetime import datetime, timedelta, tzinfo, timezone
- from typing import Callable
- 
- # constant for zero offset
-@@ -42,6 +42,12 @@ def utc_aware(unaware: Callable[..., datetime]) -> Callable[..., datetime]:
- utcfromtimestamp = utc_aware(datetime.utcfromtimestamp)
- utcnow = utc_aware(datetime.utcnow)
- 
-+def utcnow() -> datetime:
-+    """ Return timezone-aware UTC timestamp"""
-+    return datetime.now(timezone.utc)
-+
-+def utcfromtimestamp(timestamp):
-+    return datetime.fromtimestamp(timestamp, timezone.utc)
- 
- def isoformat(dt: datetime) -> str:
-     """Return iso-formatted timestamp
-diff --git a/tests/test_gateway.py b/tests/test_gateway.py
-index 37ce8b03e..e1ea0869e 100644
---- a/tests/test_gateway.py
-+++ b/tests/test_gateway.py
-@@ -78,7 +78,7 @@ omitted_kernels: Dict[str, bool] = {}
- 
- def generate_model(name):
-     """Generate a mocked kernel model.  Caller is responsible for adding model to running_kernels dictionary."""
--    dt = datetime.utcnow().isoformat() + "Z"  # noqa
-+    dt = datetime.now(timezone.utc).isoformat().replace("+00:00", "Z")  # noqa
-     kernel_id = str(uuid.uuid4())
-     model = {
-         "id": kernel_id,
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index f38ab9ed7eef6..456a0c3993d6c 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-jupyter_server'
 pkgname=python3-jupyter_server
-version=2.9.1
+version=2.11.0
 revision=1
 build_style=python3-pep517
 # these tests are flaky with jupyter_core 5.5.0
@@ -23,7 +23,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/jupyter-server/jupyter_server"
 changelog="https://raw.githubusercontent.com/jupyter-server/jupyter_server/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
-checksum=9ba71be4b9c16e479e4c50c929f8ac4b1015baf90237a08681397a98c76c7e5e
+checksum=78c97ec8049f9062f0151725bc8a1364dfed716646a66819095e0e8a24793eba
 
 if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
 	# these tests fail on CI (connect to a tcp address)

From 129cd1d14fe850c909665f389b182b0d3ea0bcab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 8 Nov 2023 22:45:27 -0300
Subject: [PATCH 18/19] python3-jupyterlab_server: update to 2.25.2.

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

diff --git a/srcpkgs/python3-jupyterlab_server/template b/srcpkgs/python3-jupyterlab_server/template
index 5dec10ee2cec4..770a2fb33e808 100644
--- a/srcpkgs/python3-jupyterlab_server/template
+++ b/srcpkgs/python3-jupyterlab_server/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-jupyterlab_server'
 pkgname=python3-jupyterlab_server
-version=2.25.0
+version=2.25.2
 revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling"
@@ -13,7 +13,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/jupyterlab/jupyterlab_server"
 changelog="https://raw.githubusercontent.com/jupyterlab/jupyterlab_server/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/j/jupyterlab_server/jupyterlab_server-${version}.tar.gz"
-checksum=77c2f1f282d610f95e496e20d5bf1d2a7706826dfb7b18f3378ae2870d272fb7
+checksum=bd0ec7a99ebcedc8bcff939ef86e52c378e44c2707e053fcd81d046ce979ee63
 
 if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
 	# tests setup fails on CI (no idea why)

From 9f033b2d9ef9c4040e239f5b9b18a4d3fc365966 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 6 Nov 2023 23:27:58 -0300
Subject: [PATCH 19/19] jupyterlab: update to 4.0.9.

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

diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 5f65995f04210..b5be5db16f21b 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,6 +1,6 @@
 # Template file for 'jupyterlab'
 pkgname=jupyterlab
-version=4.0.7
+version=4.0.9
 revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-jupyter-builder"
@@ -13,7 +13,7 @@ license="custom:jupyterlab"
 homepage="https://github.com/jupyterlab/jupyterlab/"
 changelog="https://raw.githubusercontent.com/jupyterlab/jupyterlab/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/j/jupyterlab/jupyterlab-${version}.tar.gz"
-checksum=48792efd9f962b2bcda1f87d72168ff122c288b1d97d32109e4a11b33dc862be
+checksum=9ebada41d52651f623c0c9f069ddb8a21d6848e4c887d8e5ddc0613166ed5c0b
 
 post_install() {
 	mv ${DESTDIR}/usr/etc ${DESTDIR}

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

* Re: [PR PATCH] [Merged]: Jupyter updates
  2023-11-27  2:44 [PR PATCH] Jupyter updates tornaria
@ 2023-11-27 11:56 ` ahesford
  0 siblings, 0 replies; 2+ messages in thread
From: ahesford @ 2023-11-27 11:56 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

Jupyter updates
https://github.com/void-linux/void-packages/pull/47424

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

Summary:
- python3-openapi-core: update to 0.18.2.
- python3-rpds-py: update to 0.13.1.
- python3-referencing: update to 0.31.0.
- python3-jsonschema-specifications: update to 2023.11.1.
- python3-jsonschema: update to 4.20.0.
- python3-jsonschema-path: update to 0.3.2.
- python3-fastjsonschema: update to 2.19.0.
- python3-comm: update to 0.2.0.
- python3-jupyter_client: update to 8.6.0.
- python3-ipython_ipykernel: update to 6.27.0.
- python3-jupyter_ipywidgets: depend on widgetsnbextension.
- python3-jupyter_events: update to 0.9.0.
- python3-jupyterlab_pygments: update to 0.3.0.
- python3-nbclient: update to 0.9.0.
- python3-jupyter_nbconvert: update to 7.11.0.
- python3-jupyter_qtconsole: update to 5.5.1.
- python3-jupyter_server: update to 2.11.0.
- python3-jupyterlab_server: update to 2.25.2.
- jupyterlab: update to 4.0.9.

I think qtconsole 5.4 was the last dependent of `python3-ipython_genutils` so that pkg could in principle be removed.

<!--
#### 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
-->


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

end of thread, other threads:[~2023-11-27 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27  2:44 [PR PATCH] Jupyter updates tornaria
2023-11-27 11:56 ` [PR PATCH] [Merged]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).