* [PR PATCH] jupyterlab and deps
@ 2025-04-18 20:59 tornaria
2025-04-19 3:37 ` [PR PATCH] [Updated] " tornaria
` (15 more replies)
0 siblings, 16 replies; 17+ messages in thread
From: tornaria @ 2025-04-18 20:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1660 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/55117
jupyterlab and deps
- **python3-coverage: update to 7.8.0.**
- **python3-pytest-cov: update to 6.1.1.**
- **python3-pytest-asyncio: update to 0.26.0.**
- **python3-json5: update to 0.12.0.**
- **python3-async-lru: update to 2.0.5.**
- **New package: python3-jupyter-lsp-2.2.5**
- **New package: python3-jupyterlab-lsp-5.1.0**
- **jupyterlab: update to 4.4.0**
Includes #54482, #54488, #54489, #54631.
The jupyterlab update is slightly edited from #55101.
@dkwo
<!-- 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/55117.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-55117.patch --]
[-- Type: text/x-diff, Size: 51522 bytes --]
From 4c80c4c932e0f4b3da8e8963d8f6f16a76c89c73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:31:05 -0300
Subject: [PATCH 01/29] python3-jupyter_widgetsnbextension: update to 4.0.14.
---
srcpkgs/python3-jupyter_widgetsnbextension/template | 8 ++++----
srcpkgs/python3-jupyter_widgetsnbextension/update | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/template b/srcpkgs/python3-jupyter_widgetsnbextension/template
index 82146ccfd62d32..068b3364560be1 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/template
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/template
@@ -1,15 +1,15 @@
# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
-version=4.0.11
-revision=2
+version=4.0.14
+revision=1
build_style=python3-pep517
hostmakedepends="python3-jupyter_packaging"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
-homepage="https://pypi.org/project/widgetsnbextension/"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/widgetsnbextension"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
-checksum=8b22a8f1910bfd188e596fe7fc05dcbd87e810c8a4ba010bdb3da86637398474
+checksum=a3629b04e3edb893212df862038c7232f62973373869db5084aed739b437b5af
make_check=no # Upstream defines no tests
post_install() {
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/update b/srcpkgs/python3-jupyter_widgetsnbextension/update
index d6944b34c12eb0..0e9e4528c1915f 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/update
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/update
@@ -1,2 +1,3 @@
pkgname=widgetsnbextension
+site=https://pypi.org/simple/widgetsnbextension
ignore="*a* *b* *rc*"
From 08a00a55b3f9ebec3f2a6a38bdc86649496cf33b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:36:50 -0300
Subject: [PATCH 02/29] New package: python3-jupyterlab_widgets-3.0.14
---
.../patches/no-jupyterlab.patch | 9 +++++++++
srcpkgs/python3-jupyterlab_widgets/template | 18 ++++++++++++++++++
srcpkgs/python3-jupyterlab_widgets/update | 3 +++
3 files changed, 30 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
create mode 100644 srcpkgs/python3-jupyterlab_widgets/template
create mode 100644 srcpkgs/python3-jupyterlab_widgets/update
diff --git a/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
new file mode 100644
index 00000000000000..7f78d11497f9ac
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
@@ -0,0 +1,9 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=4.0"]
++requires = ["jupyter_packaging~=0.10,<2"]
+ build-backend = "jupyter_packaging.build_api"
+
+ [tool.jupyter-packaging.options]
diff --git a/srcpkgs/python3-jupyterlab_widgets/template b/srcpkgs/python3-jupyterlab_widgets/template
new file mode 100644
index 00000000000000..b36a7642f2415d
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyterlab_widgets'
+pkgname=python3-jupyterlab_widgets
+version=3.0.14
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-jupyter_packaging"
+depends="python3"
+short_desc="Jupyter interactive widgets for JupyterLab"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/jupyterlab_widgets"
+distfiles="${PYPI_SITE}/j/jupyterlab_widgets/jupyterlab_widgets-${version}.tar.gz"
+checksum=bad03e59546869f026e537e0d170e454259e6dc7048e14041707ca31e523c8a1
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyterlab_widgets/update b/srcpkgs/python3-jupyterlab_widgets/update
new file mode 100644
index 00000000000000..8226cf8d087698
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/update
@@ -0,0 +1,3 @@
+pkgname=jupyterlab_widgets
+site=https://pypi.org/simple/jupyterlab_widgets
+ignore="*a* *b* *rc*"
From cdb8f4a4fcf9fe21eb4d2c5f4dcabc2cf31b5eaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:39:43 -0300
Subject: [PATCH 03/29] python3-jupyter_ipywidgets: update to 8.1.6.
---
.../patches/pytest8.patch | 93 -------------------
srcpkgs/python3-jupyter_ipywidgets/template | 12 ++-
srcpkgs/python3-jupyter_ipywidgets/update | 1 +
3 files changed, 8 insertions(+), 98 deletions(-)
delete mode 100644 srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
diff --git a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch b/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
deleted file mode 100644
index 2f8499a3ae76b9..00000000000000
--- a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-See: https://github.com/jupyter-widgets/ipywidgets/pull/3903
-
-From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Thu, 11 Apr 2024 11:40:15 +0200
-Subject: [PATCH] Fix compatibility with pytest 8
-
-Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
----
- .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
- python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 -
- .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +-
- .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +-
- python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++---
- 5 files changed, 5 insertions(+), 8 deletions(-)
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-index 0dc7e5fcfc..feb1afe50c 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-@@ -19,8 +19,6 @@
- # Utility stuff
- #-----------------------------------------------------------------------------
-
--from .utils import setup, teardown
--
- def f(**kwargs):
- pass
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-index 0c92dfdcb2..9301764d40 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-@@ -4,7 +4,6 @@
- import pytest
-
- from .. import jslink, jsdlink, ToggleButton
--from .utils import setup, teardown
-
- def test_jslink_args():
- with pytest.raises(TypeError):
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-index ec18ae4af1..98465b9b7d 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-@@ -3,7 +3,7 @@
-
- from traitlets import Bool, Tuple, List
-
--from .utils import setup, teardown, DummyComm
-+from .utils import setup
-
- from ..widget import Widget
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-index 82ecbd9311..22ec54d90f 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-@@ -6,7 +6,7 @@
-
- from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
-
--from .utils import setup, teardown
-+from .utils import setup
-
- import ipywidgets
- from ipywidgets import Widget
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/utils.py b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-index 260485e3f8..8dbbcb355b 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-@@ -12,7 +12,7 @@
- NEW_COMM_PACKAGE = False
-
- import ipykernel.comm
--
-+import pytest
-
- class DummyComm():
- comm_id = 'a-b-c-d'
-@@ -87,10 +87,10 @@ def teardown_test_comm():
- setattr(Widget, attr, value)
- _widget_attrs.clear()
-
-+@pytest.fixture(autouse=True)
- def setup():
- setup_test_comm()
--
--def teardown():
-+ yield
- teardown_test_comm()
-
- def call_method(method, *args, **kwargs):
diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index da7840682a6178..0df8341d1e1814 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,18 +1,20 @@
# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
-version=8.1.3
-revision=2
+version=8.1.6
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
-depends="python3-ipython_ipykernel python3-jupyter_widgetsnbextension"
-checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
+depends="python3-comm python3-ipython python3-traitlets
+ python3-jupyter_widgetsnbextension python3-jupyterlab_widgets"
+checkdepends="$depends python3-pytest python3-jsonschema python3-pytz
+ python3-ipython_ipykernel"
short_desc="IPython widgets for the Jupyter notebook"
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=f5f9eeaae082b1823ce9eac2575272952f40d748893972956dc09700a6392d9c
+checksum=d8ace49c66f14419fc66071371b99d01bed230bbc15d8a60233b18bfbd782851
# main repo `.../python/ipywidgets/ipywidgets/` is `.../ipywidgets/` here
patch_args=-Np3
diff --git a/srcpkgs/python3-jupyter_ipywidgets/update b/srcpkgs/python3-jupyter_ipywidgets/update
index 44da8f2e3c582e..eb8d6c97887770 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/update
+++ b/srcpkgs/python3-jupyter_ipywidgets/update
@@ -1,2 +1,3 @@
pkgname=ipywidgets
+site=https://pypi.org/simple/ipywidgets
ignore="*a* *b* *rc*"
From fbbdbe6c5af5b92e6ff182d9594b1e1c2bd94bab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:39 -0300
Subject: [PATCH 04/29] python3-xmltodict: update to 0.14.2.
---
srcpkgs/python3-xmltodict/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-xmltodict/template b/srcpkgs/python3-xmltodict/template
index cf444ee312210f..abe56821b12a5e 100644
--- a/srcpkgs/python3-xmltodict/template
+++ b/srcpkgs/python3-xmltodict/template
@@ -1,8 +1,8 @@
# Template file for 'python3-xmltodict'
pkgname=python3-xmltodict
-version=0.13.0
-revision=3
-build_style=python3-module
+version=0.14.2
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/martinblech/xmltodict"
changelog="https://raw.githubusercontent.com/martinblech/xmltodict/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz"
-checksum=341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56
+checksum=201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553
post_install() {
vlicense LICENSE
From 48771fec2c08aaf3e510aa843400022c5efa2d76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:44 -0300
Subject: [PATCH 05/29] python3-nbclient: update to 0.10.2.
---
srcpkgs/python3-nbclient/template | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index 3bf13e904a1d0c..f0fd11b7479c83 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.10.0
-revision=2
+version=0.10.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-jupyter_client python3-jupyter_nbformat"
+depends="python3-jupyter_client python3-jupyter_core python3-jupyter_nbformat
+ python3-traitlets"
checkdepends="$depends python3-pytest-asyncio python3-testpath
- python3-flaky python3-jupyter_ipywidgets python3-xmltodict"
+ python3-flaky python3-jupyter_ipywidgets python3-xmltodict
+ python3-ipython_ipykernel"
short_desc="Client library for executing Jupyter notebooks"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09
+checksum=90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193
make_check=extended # avoid a circular dependency
if [ "$XBPS_CHECK_PKGS" = full ]; then
From a46c89e9740110e9ef5f38b0224181ef54025dfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:37:47 -0300
Subject: [PATCH 06/29] python3-lxml: update to 5.3.2.
---
.../patches/fix-encoding-tests-musl.patch | 19 -------------------
srcpkgs/python3-lxml/template | 13 +++++++------
2 files changed, 7 insertions(+), 25 deletions(-)
delete mode 100644 srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
diff --git a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch b/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
deleted file mode 100644
index e2d0e3b36bd572..00000000000000
--- a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/3f64a63298ac78f5f2a50a52e3e3f01eef1b51ce/main/py3-lxml/tests-fix-encoding-name.patch
-
-diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
-index 3162155..43b79d7 100644
---- a/src/lxml/tests/test_incremental_xmlfile.py
-+++ b/src/lxml/tests/test_incremental_xmlfile.py
-@@ -177,10 +177,10 @@ class _XmlFileTestCaseBase(HelperTestCase):
- '<test>Comments: <!-- text -->\nEntities: &amp;</test>')
-
- def test_encoding(self):
-- with etree.xmlfile(self._file, encoding='utf16') as xf:
-+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
- with xf.element('test'):
- xf.write('toast')
-- self.assertXml('<test>toast</test>', encoding='utf16')
-+ self.assertXml('<test>toast</test>', encoding='utf-16')
-
- def test_buffering(self):
- with etree.xmlfile(self._file, buffered=False) as xf:
diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 32ac3828139320..eea77cff063281 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,10 +1,10 @@
# Template file for 'python3-lxml'
pkgname=python3-lxml
-version=5.3.0
-revision=2
-build_style=python3-module
-make_build_args="--with-cython"
-hostmakedepends="python3-Cython python3-setuptools"
+version=5.3.2
+revision=1
+build_style=python3-pep517
+make_build_args="-C--build-option=--with-cython"
+hostmakedepends="python3-Cython python3-setuptools python3-wheel"
makedepends="libxslt-devel python3-devel"
depends="python3"
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
@@ -14,7 +14,8 @@ license="BSD-3-Clause, custom:ElementTree"
homepage="https://lxml.de/"
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=eb22f7ceb319c29247cfa398435d00e6286d19a32b4870b67a8e9a38d72f2ebd
+checksum=902dcb7afa740ad722a7821f307047caebc53f81a2ca15610060d493ab501c8e
+make_check=extended # avoid a circular dependency
do_check() {
make test
From 06f65afdbce0bc9545848ed3760738d7fb7aac79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:47:25 -0300
Subject: [PATCH 07/29] python3-soupsieve: update to 2.6.
---
srcpkgs/python3-soupsieve/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-soupsieve/template b/srcpkgs/python3-soupsieve/template
index 107604fec169b0..6abd6fe83ab3b0 100644
--- a/srcpkgs/python3-soupsieve/template
+++ b/srcpkgs/python3-soupsieve/template
@@ -1,7 +1,7 @@
# Template file for 'python3-soupsieve'
pkgname=python3-soupsieve
-version=2.4.1
-revision=3
+version=2.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
@@ -12,7 +12,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://facelessuser.github.io/soupsieve/"
distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz"
-checksum=89d12b2d5dfcd2c9e8c22326da9d9aa9cb3dfab0a83a024f05704076ee8d35ea
+checksum=e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb
+make_check=extended # avoid a circular dependency
post_install() {
vlicense LICENSE.md
From c90e519517dc29eb1abf79254f06ed3309a2760a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:51:48 -0300
Subject: [PATCH 08/29] python3-BeautifulSoup4: update to 4.13.4.
---
srcpkgs/python3-BeautifulSoup4/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 364445f875e54c..3bb906b2405f17 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,10 +1,10 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.12.2
-revision=3
+version=4.13.4
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-soupsieve"
+depends="python3-soupsieve python3-typing_extensions"
checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
+checksum=dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195
post_install() {
vlicense LICENSE
From 08942ec8ca43aae226333ce575504eb5deb90c29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:07 -0300
Subject: [PATCH 09/29] python3-six: update to 1.17.0.
---
srcpkgs/python3-six/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-six/template b/srcpkgs/python3-six/template
index 2299770fb153c2..19b0812b9fd4e1 100644
--- a/srcpkgs/python3-six/template
+++ b/srcpkgs/python3-six/template
@@ -1,8 +1,8 @@
# Template file for 'python3-six'
pkgname=python3-six
-version=1.16.0
-revision=5
-build_style=python3-module
+version=1.17.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
-checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
+checksum=ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
post_install() {
vlicense LICENSE
From 37835e47baf4e5641e672d87c9d7c9d427e4a98d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:22 -0300
Subject: [PATCH 10/29] python3-bleach: update to 6.2.0.
---
srcpkgs/python3-bleach/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index 8cf2201528c939..82f2797e85784b 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,7 +1,7 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=6.0.0
-revision=3
+version=6.2.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-six python3-webencodings"
@@ -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=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
+checksum=123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f
From 108f705f37ee9df4864690a5bf149b2c203190df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:26 -0300
Subject: [PATCH 11/29] python3-mistune: update to 3.1.3.
---
srcpkgs/python3-mistune/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-mistune/template b/srcpkgs/python3-mistune/template
index 828db5643c7a2e..2aba5c34737737 100644
--- a/srcpkgs/python3-mistune/template
+++ b/srcpkgs/python3-mistune/template
@@ -1,7 +1,7 @@
# Template file for 'python3-mistune'
pkgname=python3-mistune
-version=3.0.2
-revision=2
+version=3.1.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://mistune.lepture.com/"
changelog="https://raw.githubusercontent.com/lepture/mistune/master/docs/changes.rst"
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
-checksum=fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8
+checksum=a7035c21782b2becb6be62f8f25d3df81ccb4d6fa477a6525b15af06539f02a0
post_install() {
vlicense LICENSE
From c4162ab6451463b5a920ef521fdad695ba9071bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:30 -0300
Subject: [PATCH 12/29] python3-pandocfilters: update to 1.5.1.
---
srcpkgs/python3-pandocfilters/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-pandocfilters/template b/srcpkgs/python3-pandocfilters/template
index 45e58c9c94ddeb..ab7efec72a7899 100644
--- a/srcpkgs/python3-pandocfilters/template
+++ b/srcpkgs/python3-pandocfilters/template
@@ -1,8 +1,8 @@
# Template file for 'python3-pandocfilters'
pkgname=python3-pandocfilters
-version=1.5.0
-revision=2
-build_style=python3-module
+version=1.5.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 module for writing pandoc filters"
@@ -10,7 +10,8 @@ maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="http://github.com/jgm/pandocfilters"
distfiles="${PYPI_SITE}/p/pandocfilters/pandocfilters-${version}.tar.gz"
-checksum=0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38
+checksum=002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e
+make_check=no # Upstream defines no tests
post_install() {
vlicense LICENSE
From c26f8c614040db04f2a04d3289c27942ff3956ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 11:45:59 -0300
Subject: [PATCH 13/29] hooks/pre-pkg/06-verify-python-deps: support
alternative packages
---
common/scripts/parse-py-metadata.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/common/scripts/parse-py-metadata.py b/common/scripts/parse-py-metadata.py
index 0d9384bf7ef36c..909244d80804f1 100644
--- a/common/scripts/parse-py-metadata.py
+++ b/common/scripts/parse-py-metadata.py
@@ -123,7 +123,8 @@ def parse_depends(args):
pkg = getpkgname(pkgver)
vpkg = map(getpkgname, vpkgvers.split())
for v in vpkg:
- vpkgs[v] = pkg
+ if pkg not in vpkgs.setdefault(v, []):
+ vpkgs[v].append(pkg)
if args.rdeps.exists():
with args.rdeps.open() as f:
@@ -149,12 +150,17 @@ def parse_depends(args):
missing = []
for k in depends.keys():
if k in vpkgs.keys():
- pkgname = vpkgs[k]
- if pkgname in rdeps:
- print(f" PYTHON: {k} <-> {pkgname}", flush=True)
- elif pkgname in global_ignore:
- print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ for pkgname in vpkgs[k]:
+ if pkgname in rdeps:
+ print(f" PYTHON: {k} <-> {pkgname}", flush=True)
+ break
+ elif pkgname in global_ignore:
+ print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ break
else:
+ pkgname = " OR ".join(vpkgs[k])
+ if len(vpkgs[k]) > 1:
+ pkgname = "(" + pkgname + ")"
msg_err(f" PYTHON: {k} <-> {pkgname} NOT IN depends PLEASE FIX!",
nocolor=args.nocolor, strict=args.strict)
missing.append(pkgname)
From dbc8e8c36cabd92ab612f2026f0c7ff3b112b8c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:10:39 -0300
Subject: [PATCH 14/29] python3-jupyter_nbconvert: update to 7.16.6.
---
srcpkgs/python3-jupyter_nbconvert/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index 3bf3da5423c28b..1f6a1be11d816d 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,23 +1,23 @@
# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
-version=7.16.4
-revision=2
+version=7.16.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
python3-MarkupSafe python3-mistune python3-nbclient
python3-jupyter_nbformat python3-packaging python3-pandocfilters
- python3-tinycss2"
-checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
- asciidoc inkscape pandoc python3-flaky python3-PyQt5"
+ python3-Pygments python3-traitlets python3-tinycss2"
+checkdepends="$depends python3-pytest-xdist python3-jupyter_ipywidgets
+ asciidoc inkscape pandoc python3-flaky python3-PyQt5 python3-ipython_ipykernel"
short_desc="Converting Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=86ca91ba266b0a448dc96fa6c5b9d98affabde2867b363258703536807f9f7f4
+checksum=576a7e37c6480da7b8465eefa66c17844243816ce1ccc372633c6b71c3c0f582
pre_check() {
# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
From fbae52503f93ebdd4b825a46d51fd4cc582625c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:01 -0300
Subject: [PATCH 15/29] python3-attrs: update to 25.3.0.
---
srcpkgs/python3-attrs/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template
index c896dd4a9ae070..220008c24762c9 100644
--- a/srcpkgs/python3-attrs/template
+++ b/srcpkgs/python3-attrs/template
@@ -1,6 +1,6 @@
# Template file for 'python3-attrs'
pkgname=python3-attrs
-version=25.1.0
+version=25.3.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools hatch-vcs hatch-fancy-pypi-readme"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://attrs.readthedocs.io/"
changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
-checksum=1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e
+checksum=75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b
post_install() {
vlicense LICENSE
From d9c46af978e5d93dadf52e48d0590d0e8b3939ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:04 -0300
Subject: [PATCH 16/29] python3-rpds-py: update to 0.24.0.
---
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 74677c89ee56d5..072f1a7f4d9c2b 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.23.1
+version=0.24.0
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=7f3240dcfa14d198dba24b8b9cb3b108c06b68d45b7babd9eefc1038fdf7e707
+checksum=772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e
post_install() {
vlicense LICENSE
From 5fdd52b25f6bdcecacdde3c7929ed7e195d0cd34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:26:34 -0300
Subject: [PATCH 17/29] python3-jupyter_events: update to 0.12.0.
---
srcpkgs/python3-jupyter_events/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
index f1191124ca7f32..63a6aaa7a988be 100644
--- a/srcpkgs/python3-jupyter_events/template
+++ b/srcpkgs/python3-jupyter_events/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_events'
pkgname=python3-jupyter_events
-version=0.10.0
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-jsonschema python3-json-logger python3-yaml python3-traitlets
- python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator"
+ python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator
+ python3-packaging python3-referencing"
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>"
@@ -13,7 +14,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=670b8229d3cc882ec782144ed22e0d29e1c2d639263f92ca8383e66682845e22
+checksum=fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b
post_install() {
vlicense LICENSE
From ef44244bb7e13b53eba3af21b4833cb032b126ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:20:08 -0300
Subject: [PATCH 18/29] New package: python3-forbiddenfruit-0.1.4
---
srcpkgs/python3-forbiddenfruit/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-forbiddenfruit/template
diff --git a/srcpkgs/python3-forbiddenfruit/template b/srcpkgs/python3-forbiddenfruit/template
new file mode 100644
index 00000000000000..fcfe09af6dc6f4
--- /dev/null
+++ b/srcpkgs/python3-forbiddenfruit/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-forbiddenfruit'
+pkgname=python3-forbiddenfruit
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Patch python built-in objects"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later OR MIT"
+homepage="https://github.com/clarete/forbiddenfruit"
+changelog="https://github.com/clarete/forbiddenfruit/releases"
+distfiles="${PYPI_SITE}/f/forbiddenfruit/forbiddenfruit-${version}.tar.gz"
+checksum=e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253
+make_check=no # Tests require removed python3-nose
+
+post_install() {
+ vlicense COPYING.mit
+}
From deef3536063a0f6d3615a1d409bb4143c5e9ebd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:25:30 -0300
Subject: [PATCH 19/29] New package: python3-blockbuster-1.5.24
---
srcpkgs/python3-blockbuster/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-blockbuster/template
diff --git a/srcpkgs/python3-blockbuster/template b/srcpkgs/python3-blockbuster/template
new file mode 100644
index 00000000000000..22aed76d4562ee
--- /dev/null
+++ b/srcpkgs/python3-blockbuster/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-blockbuster'
+pkgname=python3-blockbuster
+version=1.5.24
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-forbiddenfruit"
+checkdepends="$depends python3-pytest-asyncio python3-requests"
+short_desc="Utility to detect blocking calls in the async event loop"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/cbornet/blockbuster"
+changelog="https://github.com/cbornet/blockbuster/releases"
+distfiles="${PYPI_SITE}/b/blockbuster/blockbuster-${version}.tar.gz"
+checksum=97645775761a5d425666ec0bc99629b65c7eccdc2f770d2439850682567af4ec
From da53268e3708e9273e130dafc199c3fea78d1ba8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Mar 2025 16:44:57 -0300
Subject: [PATCH 20/29] python3-anyio: update to 4.9.0.
---
srcpkgs/python3-anyio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
index 13776f697758c2..344c887c3ed3cb 100644
--- a/srcpkgs/python3-anyio/template
+++ b/srcpkgs/python3-anyio/template
@@ -1,21 +1,21 @@
# Template file for 'python3-anyio'
pkgname=python3-anyio
-version=4.4.0
-revision=2
+version=4.9.0
+revision=1
build_style=python3-pep517
# This file needs python module `exceptiongroup`
make_check_args="--ignore tests/test_taskgroups.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-sniffio python3-idna"
-checkdepends="$depends python3-pytest-mock python3-hypothesis
- python3-psutil python3-trio python3-trustme python3-uvloop"
+checkdepends="$depends python3-pytest-mock python3-hypothesis python3-psutil
+ python3-trio python3-trustme python3-uvloop python3-blockbuster"
short_desc="High level asynchronous concurrency and networking framework"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/agronholm/anyio"
changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst"
distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
-checksum=5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94
+checksum=673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI
From 74bbb643c1d40c1ea2d25b3de26c980bdd2514dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:33:57 -0300
Subject: [PATCH 21/29] python3-jupyter_server: update to 2.15.0.
---
srcpkgs/python3-jupyter_server/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index a91e9f0ea23c76..d9132a12bd9a25 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,14 +1,14 @@
# Template file for 'python3-jupyter_server'
pkgname=python3-jupyter_server
-version=2.14.2
-revision=2
+version=2.15.0
+revision=1
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"
+depends="python3-anyio python3-argon2 python3-Jinja2 python3-jupyter_client
+ python3-jupyter_core python3-jupyter_events python3-jupyter_server_terminals
+ python3-jupyter_nbconvert python3-jupyter_nbformat python3-overrides
+ python3-packaging python3-prometheus_client python3-pyzmq python3-send2trash
+ python3-terminado python3-tornado python3-traitlets python3-websocket-client"
checkdepends="$depends pandoc python3-ipython_ipykernel
python3-pytest-console-scripts python3-pytest-jupyter
python3-pytest-xdist python3-requests python3-flaky"
@@ -18,7 +18,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=66095021aa9638ced276c248b1d81862e4c50f292d575920bbe960de1c56b12b
+checksum=9d446b8697b4f7337a1b7cdcac40778babdd93ba614b6d68ab1c0c918f1c4084
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (connect to a tcp address)
From 1b198f4062b4baf4fc6cd3cf59e401ea011a1364 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:26:16 -0300
Subject: [PATCH 22/29] python3-coverage: update to 7.8.0.
---
srcpkgs/python3-coverage/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template
index 88a586aba90760..d39d0605041df4 100644
--- a/srcpkgs/python3-coverage/template
+++ b/srcpkgs/python3-coverage/template
@@ -1,8 +1,10 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
-version=7.6.12
+version=7.8.0
revision=1
build_style=python3-pep517
+# this counts files but our installed package has fewer files
+make_check_args="--deselect tests/test_testing.py::test_all_our_source_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis"
@@ -12,7 +14,7 @@ license="Apache-2.0"
homepage="https://github.com/nedbat/coveragepy"
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
-checksum=48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2
+checksum=7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501
pre_check() {
# required setup, see tox.ini
@@ -26,7 +28,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -m installer dist/*.whl
- PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
+ PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
+ ${make_check_args} ${make_check_target}
}
post_install() {
From 8bd1d1e68fb573a20edadd325be8c6f6e4280a75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 17:53:51 -0300
Subject: [PATCH 23/29] python3-pytest-cov: update to 6.1.1.
---
srcpkgs/python3-pytest-cov/template | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index cbf51bbbf4ad8f..5b6f92d7e21edf 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,11 +1,8 @@
# Template file for 'python3-pytest-cov'
pkgname=python3-pytest-cov
-version=5.0.0
-revision=2
+version=6.1.1
+revision=1
build_style=python3-pep517
-# this test fails with python3-coverage >= 7.6
-make_check_args="
- --deselect tests/test_pytest_cov.py::test_term_report_does_not_interact_with_html_output"
hostmakedepends="python3-setuptools"
depends="python3-pytest python3-coverage"
checkdepends="$depends python3-fields python3-process-tests
@@ -15,8 +12,8 @@ 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=5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857
+distfiles="${PYPI_SITE}/p/pytest-cov/pytest_cov-${version}.tar.gz"
+checksum=46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a
do_check() {
# Running via PYTHONPATH breaks a few tests so we use a venv
@@ -25,9 +22,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -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}
+ PYTHONPATH="/${py3_sitelib}" PYTHONUSERBASE=/usr \
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
${make_check_args} ${make_check_target}
}
From 8e1e635ae5c2b284c56e3349f02646a8082fe408 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:12:02 -0300
Subject: [PATCH 24/29] python3-pytest-asyncio: update to 0.26.0.
---
srcpkgs/python3-pytest-asyncio/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template
index f1ca23d6a818d5..4d067f0213566f 100644
--- a/srcpkgs/python3-pytest-asyncio/template
+++ b/srcpkgs/python3-pytest-asyncio/template
@@ -1,6 +1,6 @@
# Template file for 'python3-pytest-asyncio'
pkgname=python3-pytest-asyncio
-version=0.25.3
+version=0.26.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
@@ -12,7 +12,7 @@ license="Apache-2.0"
homepage="https://github.com/pytest-dev/pytest-asyncio"
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst"
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest_asyncio-${version}.tar.gz"
-checksum=fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a
+checksum=c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (bind to a tcp address)
From 25449f13632edd3ca428f39d71a506acf4f9fb33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:07:48 -0300
Subject: [PATCH 25/29] python3-json5: update to 0.12.0.
---
srcpkgs/python3-json5/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
index a0656d05038ff5..2d9bfebb90fb78 100644
--- a/srcpkgs/python3-json5/template
+++ b/srcpkgs/python3-json5/template
@@ -1,7 +1,7 @@
# Template file for 'python3-json5'
pkgname=python3-json5
-version=0.9.25
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -11,4 +11,4 @@ maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>
license="Apache-2.0"
homepage="https://github.com/dpranke/pyjson5"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
-checksum=a31db9a7d2cd102051e27efd519b9670a3b6be7b9d951145637c0a3e2350e141
+checksum=39b21785fc12c61716a3634b466e3faffc5c679148c2d9cbbef9cc0c15772b6f
From cb4f5c1498f9793fed512b92a2e8271f502e3708 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:10:11 -0300
Subject: [PATCH 26/29] python3-async-lru: update to 2.0.5.
---
srcpkgs/python3-async-lru/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
index 96456af4a55a51..68439569f5fac0 100644
--- a/srcpkgs/python3-async-lru/template
+++ b/srcpkgs/python3-async-lru/template
@@ -1,7 +1,7 @@
# Template file for 'python3-async-lru'
pkgname=python3-async-lru
-version=2.0.4
-revision=3
+version=2.0.5
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-typing_extensions"
@@ -12,8 +12,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/aio-libs/async-lru"
changelog="https://raw.githubusercontent.com/aio-libs/async-lru/master/CHANGES.rst"
-distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
-checksum=b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627
+distfiles="${PYPI_SITE}/a/async-lru/async_lru-${version}.tar.gz"
+checksum=481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb
post_install() {
vlicense LICENSE
From 14554fea487fc9c2cd40fabef5fbde432fdb603c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:32:49 -0300
Subject: [PATCH 27/29] New package: python3-jupyter-lsp-2.2.5
---
srcpkgs/python3-jupyter-lsp/template | 24 ++++++++++++++++++++++++
srcpkgs/python3-jupyter-lsp/update | 3 +++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/python3-jupyter-lsp/template
create mode 100644 srcpkgs/python3-jupyter-lsp/update
diff --git a/srcpkgs/python3-jupyter-lsp/template b/srcpkgs/python3-jupyter-lsp/template
new file mode 100644
index 00000000000000..9114c2dd667ae8
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-jupyter-lsp'
+pkgname=python3-jupyter-lsp
+version=2.2.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_server"
+checkdepends="$depends python3-pytest"
+short_desc="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyter-lsp/jupyter-lsp-${version}.tar.gz"
+checksum=793147a05ad446f809fd53ef1cd19a9f5256fd0a2d6b7ce943a982cb4f545001
+
+# This test needs R package languageserver which we don't have
+make_check_args="
+ --deselect jupyter_lsp/tests/test_detect.py::test_r_package_detection"
+
+post_install() {
+ mv ${DESTDIR}/usr/etc ${DESTDIR}
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyter-lsp/update b/srcpkgs/python3-jupyter-lsp/update
new file mode 100644
index 00000000000000..31ba62a576d642
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/update
@@ -0,0 +1,3 @@
+# override since the github also contains jupyterlab-server tags
+site=https://pypi.org/simple/jupyter-lsp
+pkgname=jupyter-lsp
From f5119f68cf574b12877580b80ec0988412bcf34f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:44:54 -0300
Subject: [PATCH 28/29] New package: python3-jupyterlab-lsp-5.1.0
---
srcpkgs/python3-jupyterlab-lsp/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab-lsp/template
diff --git a/srcpkgs/python3-jupyterlab-lsp/template b/srcpkgs/python3-jupyterlab-lsp/template
new file mode 100644
index 00000000000000..7835a6bb8b6d93
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab-lsp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab-lsp'
+pkgname=python3-jupyterlab-lsp
+version=5.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter-lsp jupyterlab"
+short_desc="Coding assistance for JupyterLab with Language Server Protocol"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyterlab-lsp/jupyterlab-lsp-${version}.tar.gz"
+checksum=aeac84093ada6d20ef57ae0e97811cc5796a0cab7237b32f8eddf993c0bb0356
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
From 2cbbf63796b85c095cff533d0cc76049a036097a Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Thu, 17 Apr 2025 14:54:30 -0400
Subject: [PATCH 29/29] jupyterlab: update to 4.4.0
---
srcpkgs/jupyterlab/template | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 4782370a75598d..8c92bfda84bf6a 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,21 +1,23 @@
# Template file for 'jupyterlab'
pkgname=jupyterlab
-version=4.2.4
-revision=2
+version=4.4.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
depends="nodejs python3-async-lru python3-httpx python3-ipython_ipykernel
- python3-jupyterlab_server python3-notebook_shim"
-checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
+ python3-Jinja2 python3-jupyter_core python3-jupyter_server python3-tornado
+ python3-packaging python3-setuptools python3-jupyter-lsp
+ python3-traitlets python3-jupyterlab_server python3-notebook_shim"
+checkdepends="${depends} python3-pytest-jupyter python3-pytest-xdist"
short_desc="JupyterLab computational environment"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=343a979fb9582fd08c8511823e320703281cd072a0049bcdafdc7afeda7f2537
+checksum=f1767d5f0104e40f3b4a63bf6892bbef8e4704dcabf0c78408a3bdc411792f04
-if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
+if [ "${XBPS_BUILD_ENVIRONMENT}" = void-packages-ci ]; then
# this test fails on CI (network timeout)
make_check_args="
--deselect=jupyterlab/tests/test_build_api.py::TestBuildAPI
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PR PATCH] [Updated] jupyterlab and deps
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
@ 2025-04-19 3:37 ` tornaria
2025-04-19 13:58 ` tornaria
` (14 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-04-19 3:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1665 bytes --]
There is an updated 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/55117
jupyterlab and deps
- **python3-coverage: update to 7.8.0.**
- **python3-pytest-cov: update to 6.1.1.**
- **python3-pytest-asyncio: update to 0.26.0.**
- **python3-json5: update to 0.12.0.**
- **python3-async-lru: update to 2.0.5.**
- **New package: python3-jupyter-lsp-2.2.5**
- **New package: python3-jupyterlab-lsp-5.1.0**
- **jupyterlab: update to 4.4.0**
Includes #54482, #54488, #54489, #54631.
The jupyterlab update is slightly edited from #55101.
@dkwo
<!-- 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/55117.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-55117.patch --]
[-- Type: text/x-diff, Size: 51644 bytes --]
From 01321669147b5a655ade9e8e77c13b07464b87b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:31:05 -0300
Subject: [PATCH 01/29] python3-jupyter_widgetsnbextension: update to 4.0.14.
---
srcpkgs/python3-jupyter_widgetsnbextension/template | 8 ++++----
srcpkgs/python3-jupyter_widgetsnbextension/update | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/template b/srcpkgs/python3-jupyter_widgetsnbextension/template
index 82146ccfd62d32..068b3364560be1 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/template
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/template
@@ -1,15 +1,15 @@
# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
-version=4.0.11
-revision=2
+version=4.0.14
+revision=1
build_style=python3-pep517
hostmakedepends="python3-jupyter_packaging"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
-homepage="https://pypi.org/project/widgetsnbextension/"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/widgetsnbextension"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
-checksum=8b22a8f1910bfd188e596fe7fc05dcbd87e810c8a4ba010bdb3da86637398474
+checksum=a3629b04e3edb893212df862038c7232f62973373869db5084aed739b437b5af
make_check=no # Upstream defines no tests
post_install() {
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/update b/srcpkgs/python3-jupyter_widgetsnbextension/update
index d6944b34c12eb0..0e9e4528c1915f 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/update
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/update
@@ -1,2 +1,3 @@
pkgname=widgetsnbextension
+site=https://pypi.org/simple/widgetsnbextension
ignore="*a* *b* *rc*"
From 38c647957119693b00e736e47db9e2e52fb1205e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:36:50 -0300
Subject: [PATCH 02/29] New package: python3-jupyterlab_widgets-3.0.14
---
.../patches/no-jupyterlab.patch | 9 +++++++++
srcpkgs/python3-jupyterlab_widgets/template | 18 ++++++++++++++++++
srcpkgs/python3-jupyterlab_widgets/update | 3 +++
3 files changed, 30 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
create mode 100644 srcpkgs/python3-jupyterlab_widgets/template
create mode 100644 srcpkgs/python3-jupyterlab_widgets/update
diff --git a/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
new file mode 100644
index 00000000000000..7f78d11497f9ac
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
@@ -0,0 +1,9 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=4.0"]
++requires = ["jupyter_packaging~=0.10,<2"]
+ build-backend = "jupyter_packaging.build_api"
+
+ [tool.jupyter-packaging.options]
diff --git a/srcpkgs/python3-jupyterlab_widgets/template b/srcpkgs/python3-jupyterlab_widgets/template
new file mode 100644
index 00000000000000..b36a7642f2415d
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyterlab_widgets'
+pkgname=python3-jupyterlab_widgets
+version=3.0.14
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-jupyter_packaging"
+depends="python3"
+short_desc="Jupyter interactive widgets for JupyterLab"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/jupyterlab_widgets"
+distfiles="${PYPI_SITE}/j/jupyterlab_widgets/jupyterlab_widgets-${version}.tar.gz"
+checksum=bad03e59546869f026e537e0d170e454259e6dc7048e14041707ca31e523c8a1
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyterlab_widgets/update b/srcpkgs/python3-jupyterlab_widgets/update
new file mode 100644
index 00000000000000..8226cf8d087698
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/update
@@ -0,0 +1,3 @@
+pkgname=jupyterlab_widgets
+site=https://pypi.org/simple/jupyterlab_widgets
+ignore="*a* *b* *rc*"
From 0861a02d3cb599a70ff9cc34129d4e7cda391ef8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:39:43 -0300
Subject: [PATCH 03/29] python3-jupyter_ipywidgets: update to 8.1.6.
---
.../patches/pytest8.patch | 93 -------------------
srcpkgs/python3-jupyter_ipywidgets/template | 12 ++-
srcpkgs/python3-jupyter_ipywidgets/update | 1 +
3 files changed, 8 insertions(+), 98 deletions(-)
delete mode 100644 srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
diff --git a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch b/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
deleted file mode 100644
index 2f8499a3ae76b9..00000000000000
--- a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-See: https://github.com/jupyter-widgets/ipywidgets/pull/3903
-
-From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Thu, 11 Apr 2024 11:40:15 +0200
-Subject: [PATCH] Fix compatibility with pytest 8
-
-Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
----
- .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
- python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 -
- .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +-
- .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +-
- python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++---
- 5 files changed, 5 insertions(+), 8 deletions(-)
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-index 0dc7e5fcfc..feb1afe50c 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-@@ -19,8 +19,6 @@
- # Utility stuff
- #-----------------------------------------------------------------------------
-
--from .utils import setup, teardown
--
- def f(**kwargs):
- pass
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-index 0c92dfdcb2..9301764d40 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-@@ -4,7 +4,6 @@
- import pytest
-
- from .. import jslink, jsdlink, ToggleButton
--from .utils import setup, teardown
-
- def test_jslink_args():
- with pytest.raises(TypeError):
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-index ec18ae4af1..98465b9b7d 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-@@ -3,7 +3,7 @@
-
- from traitlets import Bool, Tuple, List
-
--from .utils import setup, teardown, DummyComm
-+from .utils import setup
-
- from ..widget import Widget
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-index 82ecbd9311..22ec54d90f 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-@@ -6,7 +6,7 @@
-
- from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
-
--from .utils import setup, teardown
-+from .utils import setup
-
- import ipywidgets
- from ipywidgets import Widget
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/utils.py b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-index 260485e3f8..8dbbcb355b 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-@@ -12,7 +12,7 @@
- NEW_COMM_PACKAGE = False
-
- import ipykernel.comm
--
-+import pytest
-
- class DummyComm():
- comm_id = 'a-b-c-d'
-@@ -87,10 +87,10 @@ def teardown_test_comm():
- setattr(Widget, attr, value)
- _widget_attrs.clear()
-
-+@pytest.fixture(autouse=True)
- def setup():
- setup_test_comm()
--
--def teardown():
-+ yield
- teardown_test_comm()
-
- def call_method(method, *args, **kwargs):
diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index da7840682a6178..0df8341d1e1814 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,18 +1,20 @@
# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
-version=8.1.3
-revision=2
+version=8.1.6
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
-depends="python3-ipython_ipykernel python3-jupyter_widgetsnbextension"
-checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
+depends="python3-comm python3-ipython python3-traitlets
+ python3-jupyter_widgetsnbextension python3-jupyterlab_widgets"
+checkdepends="$depends python3-pytest python3-jsonschema python3-pytz
+ python3-ipython_ipykernel"
short_desc="IPython widgets for the Jupyter notebook"
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=f5f9eeaae082b1823ce9eac2575272952f40d748893972956dc09700a6392d9c
+checksum=d8ace49c66f14419fc66071371b99d01bed230bbc15d8a60233b18bfbd782851
# main repo `.../python/ipywidgets/ipywidgets/` is `.../ipywidgets/` here
patch_args=-Np3
diff --git a/srcpkgs/python3-jupyter_ipywidgets/update b/srcpkgs/python3-jupyter_ipywidgets/update
index 44da8f2e3c582e..eb8d6c97887770 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/update
+++ b/srcpkgs/python3-jupyter_ipywidgets/update
@@ -1,2 +1,3 @@
pkgname=ipywidgets
+site=https://pypi.org/simple/ipywidgets
ignore="*a* *b* *rc*"
From 3d64bd2e26c5aa83d010d853ee6bdb90626ece4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:12:02 -0300
Subject: [PATCH 04/29] python3-pytest-asyncio: update to 0.26.0.
---
srcpkgs/python3-pytest-asyncio/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template
index f1ca23d6a818d5..4d067f0213566f 100644
--- a/srcpkgs/python3-pytest-asyncio/template
+++ b/srcpkgs/python3-pytest-asyncio/template
@@ -1,6 +1,6 @@
# Template file for 'python3-pytest-asyncio'
pkgname=python3-pytest-asyncio
-version=0.25.3
+version=0.26.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
@@ -12,7 +12,7 @@ license="Apache-2.0"
homepage="https://github.com/pytest-dev/pytest-asyncio"
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst"
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest_asyncio-${version}.tar.gz"
-checksum=fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a
+checksum=c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (bind to a tcp address)
From 77b342b568eba84ed00929e797b92f06bd0208c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:39 -0300
Subject: [PATCH 05/29] python3-xmltodict: update to 0.14.2.
---
srcpkgs/python3-xmltodict/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-xmltodict/template b/srcpkgs/python3-xmltodict/template
index cf444ee312210f..abe56821b12a5e 100644
--- a/srcpkgs/python3-xmltodict/template
+++ b/srcpkgs/python3-xmltodict/template
@@ -1,8 +1,8 @@
# Template file for 'python3-xmltodict'
pkgname=python3-xmltodict
-version=0.13.0
-revision=3
-build_style=python3-module
+version=0.14.2
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/martinblech/xmltodict"
changelog="https://raw.githubusercontent.com/martinblech/xmltodict/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz"
-checksum=341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56
+checksum=201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553
post_install() {
vlicense LICENSE
From 37b3f6c0cee31c32cae1647ab727301a0442d2fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:44 -0300
Subject: [PATCH 06/29] python3-nbclient: update to 0.10.2.
---
srcpkgs/python3-nbclient/template | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index 3bf13e904a1d0c..b2666af9d1a1d9 100644
--- a/srcpkgs/python3-nbclient/template
+++ b/srcpkgs/python3-nbclient/template
@@ -1,25 +1,21 @@
# Template file for 'python3-nbclient'
pkgname=python3-nbclient
-version=0.10.0
-revision=2
+version=0.10.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-jupyter_client python3-jupyter_nbformat"
+depends="python3-jupyter_client python3-jupyter_core python3-jupyter_nbformat
+ python3-traitlets"
checkdepends="$depends python3-pytest-asyncio python3-testpath
- python3-flaky python3-jupyter_ipywidgets python3-xmltodict"
+ python3-flaky python3-jupyter_ipywidgets python3-xmltodict
+ python3-ipython_ipykernel python3-jupyter_nbconvert"
short_desc="Client library for executing Jupyter notebooks"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09
-make_check=extended # avoid a circular dependency
-
-if [ "$XBPS_CHECK_PKGS" = full ]; then
- # this would cause a build-time circular dependency
- checkdepends+=" python3-jupyter_nbconvert"
-fi
+checksum=90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193
post_install() {
vlicense LICENSE
From 3a8bbbf528c42898f78295ed77be3f2b6de15c91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:37:47 -0300
Subject: [PATCH 07/29] python3-lxml: update to 5.3.2.
---
.../patches/fix-encoding-tests-musl.patch | 19 -------------------
srcpkgs/python3-lxml/template | 13 +++++++------
2 files changed, 7 insertions(+), 25 deletions(-)
delete mode 100644 srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
diff --git a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch b/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
deleted file mode 100644
index e2d0e3b36bd572..00000000000000
--- a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/3f64a63298ac78f5f2a50a52e3e3f01eef1b51ce/main/py3-lxml/tests-fix-encoding-name.patch
-
-diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
-index 3162155..43b79d7 100644
---- a/src/lxml/tests/test_incremental_xmlfile.py
-+++ b/src/lxml/tests/test_incremental_xmlfile.py
-@@ -177,10 +177,10 @@ class _XmlFileTestCaseBase(HelperTestCase):
- '<test>Comments: <!-- text -->\nEntities: &amp;</test>')
-
- def test_encoding(self):
-- with etree.xmlfile(self._file, encoding='utf16') as xf:
-+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
- with xf.element('test'):
- xf.write('toast')
-- self.assertXml('<test>toast</test>', encoding='utf16')
-+ self.assertXml('<test>toast</test>', encoding='utf-16')
-
- def test_buffering(self):
- with etree.xmlfile(self._file, buffered=False) as xf:
diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 32ac3828139320..eea77cff063281 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,10 +1,10 @@
# Template file for 'python3-lxml'
pkgname=python3-lxml
-version=5.3.0
-revision=2
-build_style=python3-module
-make_build_args="--with-cython"
-hostmakedepends="python3-Cython python3-setuptools"
+version=5.3.2
+revision=1
+build_style=python3-pep517
+make_build_args="-C--build-option=--with-cython"
+hostmakedepends="python3-Cython python3-setuptools python3-wheel"
makedepends="libxslt-devel python3-devel"
depends="python3"
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
@@ -14,7 +14,8 @@ license="BSD-3-Clause, custom:ElementTree"
homepage="https://lxml.de/"
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=eb22f7ceb319c29247cfa398435d00e6286d19a32b4870b67a8e9a38d72f2ebd
+checksum=902dcb7afa740ad722a7821f307047caebc53f81a2ca15610060d493ab501c8e
+make_check=extended # avoid a circular dependency
do_check() {
make test
From f9d155b575e379d42555b17ad04cfff0b684f3d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:47:25 -0300
Subject: [PATCH 08/29] python3-soupsieve: update to 2.6.
---
srcpkgs/python3-soupsieve/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-soupsieve/template b/srcpkgs/python3-soupsieve/template
index 107604fec169b0..0de01088fe8c84 100644
--- a/srcpkgs/python3-soupsieve/template
+++ b/srcpkgs/python3-soupsieve/template
@@ -1,7 +1,7 @@
# Template file for 'python3-soupsieve'
pkgname=python3-soupsieve
-version=2.4.1
-revision=3
+version=2.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
@@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://facelessuser.github.io/soupsieve/"
distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz"
-checksum=89d12b2d5dfcd2c9e8c22326da9d9aa9cb3dfab0a83a024f05704076ee8d35ea
+checksum=e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb
post_install() {
vlicense LICENSE.md
From 2445d837f656b60d50f5897fdb39e2371153b79a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:51:48 -0300
Subject: [PATCH 09/29] python3-BeautifulSoup4: update to 4.13.4.
---
srcpkgs/python3-BeautifulSoup4/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 364445f875e54c..3bb906b2405f17 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,10 +1,10 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.12.2
-revision=3
+version=4.13.4
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-soupsieve"
+depends="python3-soupsieve python3-typing_extensions"
checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
+checksum=dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195
post_install() {
vlicense LICENSE
From c606885b4de22e71a228c4a1c526039ef4da2310 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:07 -0300
Subject: [PATCH 10/29] python3-six: update to 1.17.0.
---
srcpkgs/python3-six/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-six/template b/srcpkgs/python3-six/template
index 2299770fb153c2..19b0812b9fd4e1 100644
--- a/srcpkgs/python3-six/template
+++ b/srcpkgs/python3-six/template
@@ -1,8 +1,8 @@
# Template file for 'python3-six'
pkgname=python3-six
-version=1.16.0
-revision=5
-build_style=python3-module
+version=1.17.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
-checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
+checksum=ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
post_install() {
vlicense LICENSE
From a7c4ae219f57963b492f4ff28d88a0c44cafc2c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:22 -0300
Subject: [PATCH 11/29] python3-bleach: update to 6.2.0.
---
srcpkgs/python3-bleach/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index 8cf2201528c939..82f2797e85784b 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,7 +1,7 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=6.0.0
-revision=3
+version=6.2.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-six python3-webencodings"
@@ -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=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
+checksum=123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f
From ec2b80202323a9607c485e9cc07ca8cb99fa07b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:26 -0300
Subject: [PATCH 12/29] python3-mistune: update to 3.1.3.
---
srcpkgs/python3-mistune/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-mistune/template b/srcpkgs/python3-mistune/template
index 828db5643c7a2e..2aba5c34737737 100644
--- a/srcpkgs/python3-mistune/template
+++ b/srcpkgs/python3-mistune/template
@@ -1,7 +1,7 @@
# Template file for 'python3-mistune'
pkgname=python3-mistune
-version=3.0.2
-revision=2
+version=3.1.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://mistune.lepture.com/"
changelog="https://raw.githubusercontent.com/lepture/mistune/master/docs/changes.rst"
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
-checksum=fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8
+checksum=a7035c21782b2becb6be62f8f25d3df81ccb4d6fa477a6525b15af06539f02a0
post_install() {
vlicense LICENSE
From bc88dbf1267bbae7b5c7d8627aabfd82ba563284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:30 -0300
Subject: [PATCH 13/29] python3-pandocfilters: update to 1.5.1.
---
srcpkgs/python3-pandocfilters/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-pandocfilters/template b/srcpkgs/python3-pandocfilters/template
index 45e58c9c94ddeb..ab7efec72a7899 100644
--- a/srcpkgs/python3-pandocfilters/template
+++ b/srcpkgs/python3-pandocfilters/template
@@ -1,8 +1,8 @@
# Template file for 'python3-pandocfilters'
pkgname=python3-pandocfilters
-version=1.5.0
-revision=2
-build_style=python3-module
+version=1.5.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 module for writing pandoc filters"
@@ -10,7 +10,8 @@ maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="http://github.com/jgm/pandocfilters"
distfiles="${PYPI_SITE}/p/pandocfilters/pandocfilters-${version}.tar.gz"
-checksum=0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38
+checksum=002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e
+make_check=no # Upstream defines no tests
post_install() {
vlicense LICENSE
From 05fa58a9f7ac8403885cbc19e054840dc983c8de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 11:45:59 -0300
Subject: [PATCH 14/29] hooks/pre-pkg/06-verify-python-deps: support
alternative packages
---
common/scripts/parse-py-metadata.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/common/scripts/parse-py-metadata.py b/common/scripts/parse-py-metadata.py
index 0d9384bf7ef36c..909244d80804f1 100644
--- a/common/scripts/parse-py-metadata.py
+++ b/common/scripts/parse-py-metadata.py
@@ -123,7 +123,8 @@ def parse_depends(args):
pkg = getpkgname(pkgver)
vpkg = map(getpkgname, vpkgvers.split())
for v in vpkg:
- vpkgs[v] = pkg
+ if pkg not in vpkgs.setdefault(v, []):
+ vpkgs[v].append(pkg)
if args.rdeps.exists():
with args.rdeps.open() as f:
@@ -149,12 +150,17 @@ def parse_depends(args):
missing = []
for k in depends.keys():
if k in vpkgs.keys():
- pkgname = vpkgs[k]
- if pkgname in rdeps:
- print(f" PYTHON: {k} <-> {pkgname}", flush=True)
- elif pkgname in global_ignore:
- print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ for pkgname in vpkgs[k]:
+ if pkgname in rdeps:
+ print(f" PYTHON: {k} <-> {pkgname}", flush=True)
+ break
+ elif pkgname in global_ignore:
+ print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ break
else:
+ pkgname = " OR ".join(vpkgs[k])
+ if len(vpkgs[k]) > 1:
+ pkgname = "(" + pkgname + ")"
msg_err(f" PYTHON: {k} <-> {pkgname} NOT IN depends PLEASE FIX!",
nocolor=args.nocolor, strict=args.strict)
missing.append(pkgname)
From 61dfdd9effb56aafcf976cf222da63c75228edf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:10:39 -0300
Subject: [PATCH 15/29] python3-jupyter_nbconvert: update to 7.16.6.
---
srcpkgs/python3-jupyter_nbconvert/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index 3bf3da5423c28b..1f6a1be11d816d 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,23 +1,23 @@
# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
-version=7.16.4
-revision=2
+version=7.16.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
python3-MarkupSafe python3-mistune python3-nbclient
python3-jupyter_nbformat python3-packaging python3-pandocfilters
- python3-tinycss2"
-checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
- asciidoc inkscape pandoc python3-flaky python3-PyQt5"
+ python3-Pygments python3-traitlets python3-tinycss2"
+checkdepends="$depends python3-pytest-xdist python3-jupyter_ipywidgets
+ asciidoc inkscape pandoc python3-flaky python3-PyQt5 python3-ipython_ipykernel"
short_desc="Converting Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=86ca91ba266b0a448dc96fa6c5b9d98affabde2867b363258703536807f9f7f4
+checksum=576a7e37c6480da7b8465eefa66c17844243816ce1ccc372633c6b71c3c0f582
pre_check() {
# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
From 16cfccbe9d5768d58b6bf8edb6a14fd9b7523de0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:01 -0300
Subject: [PATCH 16/29] python3-attrs: update to 25.3.0.
---
srcpkgs/python3-attrs/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template
index c896dd4a9ae070..220008c24762c9 100644
--- a/srcpkgs/python3-attrs/template
+++ b/srcpkgs/python3-attrs/template
@@ -1,6 +1,6 @@
# Template file for 'python3-attrs'
pkgname=python3-attrs
-version=25.1.0
+version=25.3.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools hatch-vcs hatch-fancy-pypi-readme"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://attrs.readthedocs.io/"
changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
-checksum=1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e
+checksum=75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b
post_install() {
vlicense LICENSE
From abd835752b4f42635cc97e3cf8d5862a1efade07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:04 -0300
Subject: [PATCH 17/29] python3-rpds-py: update to 0.24.0.
---
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 74677c89ee56d5..072f1a7f4d9c2b 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.23.1
+version=0.24.0
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=7f3240dcfa14d198dba24b8b9cb3b108c06b68d45b7babd9eefc1038fdf7e707
+checksum=772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e
post_install() {
vlicense LICENSE
From 4606faf7d466b569e2d0f4540ad77964cfeac31d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:26:34 -0300
Subject: [PATCH 18/29] python3-jupyter_events: update to 0.12.0.
---
srcpkgs/python3-jupyter_events/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
index f1191124ca7f32..63a6aaa7a988be 100644
--- a/srcpkgs/python3-jupyter_events/template
+++ b/srcpkgs/python3-jupyter_events/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_events'
pkgname=python3-jupyter_events
-version=0.10.0
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-jsonschema python3-json-logger python3-yaml python3-traitlets
- python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator"
+ python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator
+ python3-packaging python3-referencing"
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>"
@@ -13,7 +14,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=670b8229d3cc882ec782144ed22e0d29e1c2d639263f92ca8383e66682845e22
+checksum=fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b
post_install() {
vlicense LICENSE
From fad32feb2b04d885cf4b68a9610d4cb1669155bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:20:08 -0300
Subject: [PATCH 19/29] New package: python3-forbiddenfruit-0.1.4
---
srcpkgs/python3-forbiddenfruit/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-forbiddenfruit/template
diff --git a/srcpkgs/python3-forbiddenfruit/template b/srcpkgs/python3-forbiddenfruit/template
new file mode 100644
index 00000000000000..fcfe09af6dc6f4
--- /dev/null
+++ b/srcpkgs/python3-forbiddenfruit/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-forbiddenfruit'
+pkgname=python3-forbiddenfruit
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Patch python built-in objects"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later OR MIT"
+homepage="https://github.com/clarete/forbiddenfruit"
+changelog="https://github.com/clarete/forbiddenfruit/releases"
+distfiles="${PYPI_SITE}/f/forbiddenfruit/forbiddenfruit-${version}.tar.gz"
+checksum=e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253
+make_check=no # Tests require removed python3-nose
+
+post_install() {
+ vlicense COPYING.mit
+}
From 158a08c3ee85574749d18e1cebfdc26d6f2e1d6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:25:30 -0300
Subject: [PATCH 20/29] New package: python3-blockbuster-1.5.24
---
srcpkgs/python3-blockbuster/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-blockbuster/template
diff --git a/srcpkgs/python3-blockbuster/template b/srcpkgs/python3-blockbuster/template
new file mode 100644
index 00000000000000..22aed76d4562ee
--- /dev/null
+++ b/srcpkgs/python3-blockbuster/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-blockbuster'
+pkgname=python3-blockbuster
+version=1.5.24
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-forbiddenfruit"
+checkdepends="$depends python3-pytest-asyncio python3-requests"
+short_desc="Utility to detect blocking calls in the async event loop"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/cbornet/blockbuster"
+changelog="https://github.com/cbornet/blockbuster/releases"
+distfiles="${PYPI_SITE}/b/blockbuster/blockbuster-${version}.tar.gz"
+checksum=97645775761a5d425666ec0bc99629b65c7eccdc2f770d2439850682567af4ec
From c024048f414ebcf9420246f0e81f580261803a32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Mar 2025 16:44:57 -0300
Subject: [PATCH 21/29] python3-anyio: update to 4.9.0.
---
srcpkgs/python3-anyio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
index 13776f697758c2..344c887c3ed3cb 100644
--- a/srcpkgs/python3-anyio/template
+++ b/srcpkgs/python3-anyio/template
@@ -1,21 +1,21 @@
# Template file for 'python3-anyio'
pkgname=python3-anyio
-version=4.4.0
-revision=2
+version=4.9.0
+revision=1
build_style=python3-pep517
# This file needs python module `exceptiongroup`
make_check_args="--ignore tests/test_taskgroups.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-sniffio python3-idna"
-checkdepends="$depends python3-pytest-mock python3-hypothesis
- python3-psutil python3-trio python3-trustme python3-uvloop"
+checkdepends="$depends python3-pytest-mock python3-hypothesis python3-psutil
+ python3-trio python3-trustme python3-uvloop python3-blockbuster"
short_desc="High level asynchronous concurrency and networking framework"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/agronholm/anyio"
changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst"
distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
-checksum=5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94
+checksum=673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI
From 7e1f7e3354dc16681399db2dbf3b0c7763773d07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:33:57 -0300
Subject: [PATCH 22/29] python3-jupyter_server: update to 2.15.0.
---
srcpkgs/python3-jupyter_server/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index a91e9f0ea23c76..d9132a12bd9a25 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,14 +1,14 @@
# Template file for 'python3-jupyter_server'
pkgname=python3-jupyter_server
-version=2.14.2
-revision=2
+version=2.15.0
+revision=1
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"
+depends="python3-anyio python3-argon2 python3-Jinja2 python3-jupyter_client
+ python3-jupyter_core python3-jupyter_events python3-jupyter_server_terminals
+ python3-jupyter_nbconvert python3-jupyter_nbformat python3-overrides
+ python3-packaging python3-prometheus_client python3-pyzmq python3-send2trash
+ python3-terminado python3-tornado python3-traitlets python3-websocket-client"
checkdepends="$depends pandoc python3-ipython_ipykernel
python3-pytest-console-scripts python3-pytest-jupyter
python3-pytest-xdist python3-requests python3-flaky"
@@ -18,7 +18,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=66095021aa9638ced276c248b1d81862e4c50f292d575920bbe960de1c56b12b
+checksum=9d446b8697b4f7337a1b7cdcac40778babdd93ba614b6d68ab1c0c918f1c4084
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (connect to a tcp address)
From 64b0fca1c168e0907aea949b87ddbcc622c0ef9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:26:16 -0300
Subject: [PATCH 23/29] python3-coverage: update to 7.8.0.
---
srcpkgs/python3-coverage/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template
index 88a586aba90760..d39d0605041df4 100644
--- a/srcpkgs/python3-coverage/template
+++ b/srcpkgs/python3-coverage/template
@@ -1,8 +1,10 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
-version=7.6.12
+version=7.8.0
revision=1
build_style=python3-pep517
+# this counts files but our installed package has fewer files
+make_check_args="--deselect tests/test_testing.py::test_all_our_source_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis"
@@ -12,7 +14,7 @@ license="Apache-2.0"
homepage="https://github.com/nedbat/coveragepy"
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
-checksum=48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2
+checksum=7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501
pre_check() {
# required setup, see tox.ini
@@ -26,7 +28,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -m installer dist/*.whl
- PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
+ PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
+ ${make_check_args} ${make_check_target}
}
post_install() {
From 4732e90debf069d40590c7a4ccf389ab8c076aaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 17:53:51 -0300
Subject: [PATCH 24/29] python3-pytest-cov: update to 6.1.1.
---
srcpkgs/python3-pytest-cov/template | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index cbf51bbbf4ad8f..5b6f92d7e21edf 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,11 +1,8 @@
# Template file for 'python3-pytest-cov'
pkgname=python3-pytest-cov
-version=5.0.0
-revision=2
+version=6.1.1
+revision=1
build_style=python3-pep517
-# this test fails with python3-coverage >= 7.6
-make_check_args="
- --deselect tests/test_pytest_cov.py::test_term_report_does_not_interact_with_html_output"
hostmakedepends="python3-setuptools"
depends="python3-pytest python3-coverage"
checkdepends="$depends python3-fields python3-process-tests
@@ -15,8 +12,8 @@ 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=5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857
+distfiles="${PYPI_SITE}/p/pytest-cov/pytest_cov-${version}.tar.gz"
+checksum=46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a
do_check() {
# Running via PYTHONPATH breaks a few tests so we use a venv
@@ -25,9 +22,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -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}
+ PYTHONPATH="/${py3_sitelib}" PYTHONUSERBASE=/usr \
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
${make_check_args} ${make_check_target}
}
From 544e10fb058f43c29200ecde3c838027b514f86b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:07:48 -0300
Subject: [PATCH 25/29] python3-json5: update to 0.12.0.
---
srcpkgs/python3-json5/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
index a0656d05038ff5..2d9bfebb90fb78 100644
--- a/srcpkgs/python3-json5/template
+++ b/srcpkgs/python3-json5/template
@@ -1,7 +1,7 @@
# Template file for 'python3-json5'
pkgname=python3-json5
-version=0.9.25
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -11,4 +11,4 @@ maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>
license="Apache-2.0"
homepage="https://github.com/dpranke/pyjson5"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
-checksum=a31db9a7d2cd102051e27efd519b9670a3b6be7b9d951145637c0a3e2350e141
+checksum=39b21785fc12c61716a3634b466e3faffc5c679148c2d9cbbef9cc0c15772b6f
From cc1ef0233ba42febd8054016f202c97647cceb3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:10:11 -0300
Subject: [PATCH 26/29] python3-async-lru: update to 2.0.5.
---
srcpkgs/python3-async-lru/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
index 96456af4a55a51..68439569f5fac0 100644
--- a/srcpkgs/python3-async-lru/template
+++ b/srcpkgs/python3-async-lru/template
@@ -1,7 +1,7 @@
# Template file for 'python3-async-lru'
pkgname=python3-async-lru
-version=2.0.4
-revision=3
+version=2.0.5
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-typing_extensions"
@@ -12,8 +12,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/aio-libs/async-lru"
changelog="https://raw.githubusercontent.com/aio-libs/async-lru/master/CHANGES.rst"
-distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
-checksum=b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627
+distfiles="${PYPI_SITE}/a/async-lru/async_lru-${version}.tar.gz"
+checksum=481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb
post_install() {
vlicense LICENSE
From 338c1d46bc7e33b38cd8fc69bf4baff8918b92d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:32:49 -0300
Subject: [PATCH 27/29] New package: python3-jupyter-lsp-2.2.5
---
srcpkgs/python3-jupyter-lsp/template | 24 ++++++++++++++++++++++++
srcpkgs/python3-jupyter-lsp/update | 3 +++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/python3-jupyter-lsp/template
create mode 100644 srcpkgs/python3-jupyter-lsp/update
diff --git a/srcpkgs/python3-jupyter-lsp/template b/srcpkgs/python3-jupyter-lsp/template
new file mode 100644
index 00000000000000..9114c2dd667ae8
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-jupyter-lsp'
+pkgname=python3-jupyter-lsp
+version=2.2.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_server"
+checkdepends="$depends python3-pytest"
+short_desc="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyter-lsp/jupyter-lsp-${version}.tar.gz"
+checksum=793147a05ad446f809fd53ef1cd19a9f5256fd0a2d6b7ce943a982cb4f545001
+
+# This test needs R package languageserver which we don't have
+make_check_args="
+ --deselect jupyter_lsp/tests/test_detect.py::test_r_package_detection"
+
+post_install() {
+ mv ${DESTDIR}/usr/etc ${DESTDIR}
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyter-lsp/update b/srcpkgs/python3-jupyter-lsp/update
new file mode 100644
index 00000000000000..31ba62a576d642
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/update
@@ -0,0 +1,3 @@
+# override since the github also contains jupyterlab-server tags
+site=https://pypi.org/simple/jupyter-lsp
+pkgname=jupyter-lsp
From 25b4f8aeccec8d2cc78eade3f2299594c4ca45e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:44:54 -0300
Subject: [PATCH 28/29] New package: python3-jupyterlab-lsp-5.1.0
---
srcpkgs/python3-jupyterlab-lsp/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab-lsp/template
diff --git a/srcpkgs/python3-jupyterlab-lsp/template b/srcpkgs/python3-jupyterlab-lsp/template
new file mode 100644
index 00000000000000..7835a6bb8b6d93
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab-lsp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab-lsp'
+pkgname=python3-jupyterlab-lsp
+version=5.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter-lsp jupyterlab"
+short_desc="Coding assistance for JupyterLab with Language Server Protocol"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyterlab-lsp/jupyterlab-lsp-${version}.tar.gz"
+checksum=aeac84093ada6d20ef57ae0e97811cc5796a0cab7237b32f8eddf993c0bb0356
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
From c86938c9b8b8b82dba016f2ec5fafdb06bb8d5f7 Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Thu, 17 Apr 2025 14:54:30 -0400
Subject: [PATCH 29/29] jupyterlab: update to 4.4.0
---
srcpkgs/jupyterlab/template | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 4782370a75598d..8c92bfda84bf6a 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,21 +1,23 @@
# Template file for 'jupyterlab'
pkgname=jupyterlab
-version=4.2.4
-revision=2
+version=4.4.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
depends="nodejs python3-async-lru python3-httpx python3-ipython_ipykernel
- python3-jupyterlab_server python3-notebook_shim"
-checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
+ python3-Jinja2 python3-jupyter_core python3-jupyter_server python3-tornado
+ python3-packaging python3-setuptools python3-jupyter-lsp
+ python3-traitlets python3-jupyterlab_server python3-notebook_shim"
+checkdepends="${depends} python3-pytest-jupyter python3-pytest-xdist"
short_desc="JupyterLab computational environment"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=343a979fb9582fd08c8511823e320703281cd072a0049bcdafdc7afeda7f2537
+checksum=f1767d5f0104e40f3b4a63bf6892bbef8e4704dcabf0c78408a3bdc411792f04
-if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
+if [ "${XBPS_BUILD_ENVIRONMENT}" = void-packages-ci ]; then
# this test fails on CI (network timeout)
make_check_args="
--deselect=jupyterlab/tests/test_build_api.py::TestBuildAPI
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PR PATCH] [Updated] jupyterlab and deps
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
2025-04-19 3:37 ` [PR PATCH] [Updated] " tornaria
@ 2025-04-19 13:58 ` tornaria
2025-04-19 22:22 ` tornaria
` (13 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-04-19 13:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1665 bytes --]
There is an updated 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/55117
jupyterlab and deps
- **python3-coverage: update to 7.8.0.**
- **python3-pytest-cov: update to 6.1.1.**
- **python3-pytest-asyncio: update to 0.26.0.**
- **python3-json5: update to 0.12.0.**
- **python3-async-lru: update to 2.0.5.**
- **New package: python3-jupyter-lsp-2.2.5**
- **New package: python3-jupyterlab-lsp-5.1.0**
- **jupyterlab: update to 4.4.0**
Includes #54482, #54488, #54489, #54631.
The jupyterlab update is slightly edited from #55101.
@dkwo
<!-- 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/55117.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-55117.patch --]
[-- Type: text/x-diff, Size: 51644 bytes --]
From 01321669147b5a655ade9e8e77c13b07464b87b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:31:05 -0300
Subject: [PATCH 01/29] python3-jupyter_widgetsnbextension: update to 4.0.14.
---
srcpkgs/python3-jupyter_widgetsnbextension/template | 8 ++++----
srcpkgs/python3-jupyter_widgetsnbextension/update | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/template b/srcpkgs/python3-jupyter_widgetsnbextension/template
index 82146ccfd62d32..068b3364560be1 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/template
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/template
@@ -1,15 +1,15 @@
# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
-version=4.0.11
-revision=2
+version=4.0.14
+revision=1
build_style=python3-pep517
hostmakedepends="python3-jupyter_packaging"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
-homepage="https://pypi.org/project/widgetsnbextension/"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/widgetsnbextension"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
-checksum=8b22a8f1910bfd188e596fe7fc05dcbd87e810c8a4ba010bdb3da86637398474
+checksum=a3629b04e3edb893212df862038c7232f62973373869db5084aed739b437b5af
make_check=no # Upstream defines no tests
post_install() {
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/update b/srcpkgs/python3-jupyter_widgetsnbextension/update
index d6944b34c12eb0..0e9e4528c1915f 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/update
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/update
@@ -1,2 +1,3 @@
pkgname=widgetsnbextension
+site=https://pypi.org/simple/widgetsnbextension
ignore="*a* *b* *rc*"
From 38c647957119693b00e736e47db9e2e52fb1205e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:36:50 -0300
Subject: [PATCH 02/29] New package: python3-jupyterlab_widgets-3.0.14
---
.../patches/no-jupyterlab.patch | 9 +++++++++
srcpkgs/python3-jupyterlab_widgets/template | 18 ++++++++++++++++++
srcpkgs/python3-jupyterlab_widgets/update | 3 +++
3 files changed, 30 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
create mode 100644 srcpkgs/python3-jupyterlab_widgets/template
create mode 100644 srcpkgs/python3-jupyterlab_widgets/update
diff --git a/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
new file mode 100644
index 00000000000000..7f78d11497f9ac
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
@@ -0,0 +1,9 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=4.0"]
++requires = ["jupyter_packaging~=0.10,<2"]
+ build-backend = "jupyter_packaging.build_api"
+
+ [tool.jupyter-packaging.options]
diff --git a/srcpkgs/python3-jupyterlab_widgets/template b/srcpkgs/python3-jupyterlab_widgets/template
new file mode 100644
index 00000000000000..b36a7642f2415d
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyterlab_widgets'
+pkgname=python3-jupyterlab_widgets
+version=3.0.14
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-jupyter_packaging"
+depends="python3"
+short_desc="Jupyter interactive widgets for JupyterLab"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/jupyterlab_widgets"
+distfiles="${PYPI_SITE}/j/jupyterlab_widgets/jupyterlab_widgets-${version}.tar.gz"
+checksum=bad03e59546869f026e537e0d170e454259e6dc7048e14041707ca31e523c8a1
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyterlab_widgets/update b/srcpkgs/python3-jupyterlab_widgets/update
new file mode 100644
index 00000000000000..8226cf8d087698
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/update
@@ -0,0 +1,3 @@
+pkgname=jupyterlab_widgets
+site=https://pypi.org/simple/jupyterlab_widgets
+ignore="*a* *b* *rc*"
From 0861a02d3cb599a70ff9cc34129d4e7cda391ef8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:39:43 -0300
Subject: [PATCH 03/29] python3-jupyter_ipywidgets: update to 8.1.6.
---
.../patches/pytest8.patch | 93 -------------------
srcpkgs/python3-jupyter_ipywidgets/template | 12 ++-
srcpkgs/python3-jupyter_ipywidgets/update | 1 +
3 files changed, 8 insertions(+), 98 deletions(-)
delete mode 100644 srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
diff --git a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch b/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
deleted file mode 100644
index 2f8499a3ae76b9..00000000000000
--- a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-See: https://github.com/jupyter-widgets/ipywidgets/pull/3903
-
-From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Thu, 11 Apr 2024 11:40:15 +0200
-Subject: [PATCH] Fix compatibility with pytest 8
-
-Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
----
- .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
- python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 -
- .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +-
- .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +-
- python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++---
- 5 files changed, 5 insertions(+), 8 deletions(-)
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-index 0dc7e5fcfc..feb1afe50c 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-@@ -19,8 +19,6 @@
- # Utility stuff
- #-----------------------------------------------------------------------------
-
--from .utils import setup, teardown
--
- def f(**kwargs):
- pass
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-index 0c92dfdcb2..9301764d40 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-@@ -4,7 +4,6 @@
- import pytest
-
- from .. import jslink, jsdlink, ToggleButton
--from .utils import setup, teardown
-
- def test_jslink_args():
- with pytest.raises(TypeError):
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-index ec18ae4af1..98465b9b7d 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-@@ -3,7 +3,7 @@
-
- from traitlets import Bool, Tuple, List
-
--from .utils import setup, teardown, DummyComm
-+from .utils import setup
-
- from ..widget import Widget
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-index 82ecbd9311..22ec54d90f 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-@@ -6,7 +6,7 @@
-
- from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
-
--from .utils import setup, teardown
-+from .utils import setup
-
- import ipywidgets
- from ipywidgets import Widget
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/utils.py b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-index 260485e3f8..8dbbcb355b 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-@@ -12,7 +12,7 @@
- NEW_COMM_PACKAGE = False
-
- import ipykernel.comm
--
-+import pytest
-
- class DummyComm():
- comm_id = 'a-b-c-d'
-@@ -87,10 +87,10 @@ def teardown_test_comm():
- setattr(Widget, attr, value)
- _widget_attrs.clear()
-
-+@pytest.fixture(autouse=True)
- def setup():
- setup_test_comm()
--
--def teardown():
-+ yield
- teardown_test_comm()
-
- def call_method(method, *args, **kwargs):
diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index da7840682a6178..0df8341d1e1814 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,18 +1,20 @@
# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
-version=8.1.3
-revision=2
+version=8.1.6
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
-depends="python3-ipython_ipykernel python3-jupyter_widgetsnbextension"
-checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
+depends="python3-comm python3-ipython python3-traitlets
+ python3-jupyter_widgetsnbextension python3-jupyterlab_widgets"
+checkdepends="$depends python3-pytest python3-jsonschema python3-pytz
+ python3-ipython_ipykernel"
short_desc="IPython widgets for the Jupyter notebook"
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=f5f9eeaae082b1823ce9eac2575272952f40d748893972956dc09700a6392d9c
+checksum=d8ace49c66f14419fc66071371b99d01bed230bbc15d8a60233b18bfbd782851
# main repo `.../python/ipywidgets/ipywidgets/` is `.../ipywidgets/` here
patch_args=-Np3
diff --git a/srcpkgs/python3-jupyter_ipywidgets/update b/srcpkgs/python3-jupyter_ipywidgets/update
index 44da8f2e3c582e..eb8d6c97887770 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/update
+++ b/srcpkgs/python3-jupyter_ipywidgets/update
@@ -1,2 +1,3 @@
pkgname=ipywidgets
+site=https://pypi.org/simple/ipywidgets
ignore="*a* *b* *rc*"
From 3d64bd2e26c5aa83d010d853ee6bdb90626ece4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:12:02 -0300
Subject: [PATCH 04/29] python3-pytest-asyncio: update to 0.26.0.
---
srcpkgs/python3-pytest-asyncio/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template
index f1ca23d6a818d5..4d067f0213566f 100644
--- a/srcpkgs/python3-pytest-asyncio/template
+++ b/srcpkgs/python3-pytest-asyncio/template
@@ -1,6 +1,6 @@
# Template file for 'python3-pytest-asyncio'
pkgname=python3-pytest-asyncio
-version=0.25.3
+version=0.26.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
@@ -12,7 +12,7 @@ license="Apache-2.0"
homepage="https://github.com/pytest-dev/pytest-asyncio"
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst"
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest_asyncio-${version}.tar.gz"
-checksum=fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a
+checksum=c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (bind to a tcp address)
From 77b342b568eba84ed00929e797b92f06bd0208c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:39 -0300
Subject: [PATCH 05/29] python3-xmltodict: update to 0.14.2.
---
srcpkgs/python3-xmltodict/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-xmltodict/template b/srcpkgs/python3-xmltodict/template
index cf444ee312210f..abe56821b12a5e 100644
--- a/srcpkgs/python3-xmltodict/template
+++ b/srcpkgs/python3-xmltodict/template
@@ -1,8 +1,8 @@
# Template file for 'python3-xmltodict'
pkgname=python3-xmltodict
-version=0.13.0
-revision=3
-build_style=python3-module
+version=0.14.2
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/martinblech/xmltodict"
changelog="https://raw.githubusercontent.com/martinblech/xmltodict/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz"
-checksum=341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56
+checksum=201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553
post_install() {
vlicense LICENSE
From 37b3f6c0cee31c32cae1647ab727301a0442d2fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:44 -0300
Subject: [PATCH 06/29] python3-nbclient: update to 0.10.2.
---
srcpkgs/python3-nbclient/template | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index 3bf13e904a1d0c..b2666af9d1a1d9 100644
--- a/srcpkgs/python3-nbclient/template
+++ b/srcpkgs/python3-nbclient/template
@@ -1,25 +1,21 @@
# Template file for 'python3-nbclient'
pkgname=python3-nbclient
-version=0.10.0
-revision=2
+version=0.10.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-jupyter_client python3-jupyter_nbformat"
+depends="python3-jupyter_client python3-jupyter_core python3-jupyter_nbformat
+ python3-traitlets"
checkdepends="$depends python3-pytest-asyncio python3-testpath
- python3-flaky python3-jupyter_ipywidgets python3-xmltodict"
+ python3-flaky python3-jupyter_ipywidgets python3-xmltodict
+ python3-ipython_ipykernel python3-jupyter_nbconvert"
short_desc="Client library for executing Jupyter notebooks"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09
-make_check=extended # avoid a circular dependency
-
-if [ "$XBPS_CHECK_PKGS" = full ]; then
- # this would cause a build-time circular dependency
- checkdepends+=" python3-jupyter_nbconvert"
-fi
+checksum=90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193
post_install() {
vlicense LICENSE
From 3a8bbbf528c42898f78295ed77be3f2b6de15c91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:37:47 -0300
Subject: [PATCH 07/29] python3-lxml: update to 5.3.2.
---
.../patches/fix-encoding-tests-musl.patch | 19 -------------------
srcpkgs/python3-lxml/template | 13 +++++++------
2 files changed, 7 insertions(+), 25 deletions(-)
delete mode 100644 srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
diff --git a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch b/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
deleted file mode 100644
index e2d0e3b36bd572..00000000000000
--- a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/3f64a63298ac78f5f2a50a52e3e3f01eef1b51ce/main/py3-lxml/tests-fix-encoding-name.patch
-
-diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
-index 3162155..43b79d7 100644
---- a/src/lxml/tests/test_incremental_xmlfile.py
-+++ b/src/lxml/tests/test_incremental_xmlfile.py
-@@ -177,10 +177,10 @@ class _XmlFileTestCaseBase(HelperTestCase):
- '<test>Comments: <!-- text -->\nEntities: &amp;</test>')
-
- def test_encoding(self):
-- with etree.xmlfile(self._file, encoding='utf16') as xf:
-+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
- with xf.element('test'):
- xf.write('toast')
-- self.assertXml('<test>toast</test>', encoding='utf16')
-+ self.assertXml('<test>toast</test>', encoding='utf-16')
-
- def test_buffering(self):
- with etree.xmlfile(self._file, buffered=False) as xf:
diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 32ac3828139320..eea77cff063281 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,10 +1,10 @@
# Template file for 'python3-lxml'
pkgname=python3-lxml
-version=5.3.0
-revision=2
-build_style=python3-module
-make_build_args="--with-cython"
-hostmakedepends="python3-Cython python3-setuptools"
+version=5.3.2
+revision=1
+build_style=python3-pep517
+make_build_args="-C--build-option=--with-cython"
+hostmakedepends="python3-Cython python3-setuptools python3-wheel"
makedepends="libxslt-devel python3-devel"
depends="python3"
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
@@ -14,7 +14,8 @@ license="BSD-3-Clause, custom:ElementTree"
homepage="https://lxml.de/"
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=eb22f7ceb319c29247cfa398435d00e6286d19a32b4870b67a8e9a38d72f2ebd
+checksum=902dcb7afa740ad722a7821f307047caebc53f81a2ca15610060d493ab501c8e
+make_check=extended # avoid a circular dependency
do_check() {
make test
From f9d155b575e379d42555b17ad04cfff0b684f3d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:47:25 -0300
Subject: [PATCH 08/29] python3-soupsieve: update to 2.6.
---
srcpkgs/python3-soupsieve/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-soupsieve/template b/srcpkgs/python3-soupsieve/template
index 107604fec169b0..0de01088fe8c84 100644
--- a/srcpkgs/python3-soupsieve/template
+++ b/srcpkgs/python3-soupsieve/template
@@ -1,7 +1,7 @@
# Template file for 'python3-soupsieve'
pkgname=python3-soupsieve
-version=2.4.1
-revision=3
+version=2.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
@@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://facelessuser.github.io/soupsieve/"
distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz"
-checksum=89d12b2d5dfcd2c9e8c22326da9d9aa9cb3dfab0a83a024f05704076ee8d35ea
+checksum=e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb
post_install() {
vlicense LICENSE.md
From 2445d837f656b60d50f5897fdb39e2371153b79a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:51:48 -0300
Subject: [PATCH 09/29] python3-BeautifulSoup4: update to 4.13.4.
---
srcpkgs/python3-BeautifulSoup4/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 364445f875e54c..3bb906b2405f17 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,10 +1,10 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.12.2
-revision=3
+version=4.13.4
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-soupsieve"
+depends="python3-soupsieve python3-typing_extensions"
checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
+checksum=dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195
post_install() {
vlicense LICENSE
From c606885b4de22e71a228c4a1c526039ef4da2310 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:07 -0300
Subject: [PATCH 10/29] python3-six: update to 1.17.0.
---
srcpkgs/python3-six/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-six/template b/srcpkgs/python3-six/template
index 2299770fb153c2..19b0812b9fd4e1 100644
--- a/srcpkgs/python3-six/template
+++ b/srcpkgs/python3-six/template
@@ -1,8 +1,8 @@
# Template file for 'python3-six'
pkgname=python3-six
-version=1.16.0
-revision=5
-build_style=python3-module
+version=1.17.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
-checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
+checksum=ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
post_install() {
vlicense LICENSE
From a7c4ae219f57963b492f4ff28d88a0c44cafc2c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:22 -0300
Subject: [PATCH 11/29] python3-bleach: update to 6.2.0.
---
srcpkgs/python3-bleach/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index 8cf2201528c939..82f2797e85784b 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,7 +1,7 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=6.0.0
-revision=3
+version=6.2.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-six python3-webencodings"
@@ -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=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
+checksum=123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f
From ec2b80202323a9607c485e9cc07ca8cb99fa07b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:26 -0300
Subject: [PATCH 12/29] python3-mistune: update to 3.1.3.
---
srcpkgs/python3-mistune/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-mistune/template b/srcpkgs/python3-mistune/template
index 828db5643c7a2e..2aba5c34737737 100644
--- a/srcpkgs/python3-mistune/template
+++ b/srcpkgs/python3-mistune/template
@@ -1,7 +1,7 @@
# Template file for 'python3-mistune'
pkgname=python3-mistune
-version=3.0.2
-revision=2
+version=3.1.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://mistune.lepture.com/"
changelog="https://raw.githubusercontent.com/lepture/mistune/master/docs/changes.rst"
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
-checksum=fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8
+checksum=a7035c21782b2becb6be62f8f25d3df81ccb4d6fa477a6525b15af06539f02a0
post_install() {
vlicense LICENSE
From bc88dbf1267bbae7b5c7d8627aabfd82ba563284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:30 -0300
Subject: [PATCH 13/29] python3-pandocfilters: update to 1.5.1.
---
srcpkgs/python3-pandocfilters/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-pandocfilters/template b/srcpkgs/python3-pandocfilters/template
index 45e58c9c94ddeb..ab7efec72a7899 100644
--- a/srcpkgs/python3-pandocfilters/template
+++ b/srcpkgs/python3-pandocfilters/template
@@ -1,8 +1,8 @@
# Template file for 'python3-pandocfilters'
pkgname=python3-pandocfilters
-version=1.5.0
-revision=2
-build_style=python3-module
+version=1.5.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 module for writing pandoc filters"
@@ -10,7 +10,8 @@ maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="http://github.com/jgm/pandocfilters"
distfiles="${PYPI_SITE}/p/pandocfilters/pandocfilters-${version}.tar.gz"
-checksum=0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38
+checksum=002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e
+make_check=no # Upstream defines no tests
post_install() {
vlicense LICENSE
From 05fa58a9f7ac8403885cbc19e054840dc983c8de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 11:45:59 -0300
Subject: [PATCH 14/29] hooks/pre-pkg/06-verify-python-deps: support
alternative packages
---
common/scripts/parse-py-metadata.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/common/scripts/parse-py-metadata.py b/common/scripts/parse-py-metadata.py
index 0d9384bf7ef36c..909244d80804f1 100644
--- a/common/scripts/parse-py-metadata.py
+++ b/common/scripts/parse-py-metadata.py
@@ -123,7 +123,8 @@ def parse_depends(args):
pkg = getpkgname(pkgver)
vpkg = map(getpkgname, vpkgvers.split())
for v in vpkg:
- vpkgs[v] = pkg
+ if pkg not in vpkgs.setdefault(v, []):
+ vpkgs[v].append(pkg)
if args.rdeps.exists():
with args.rdeps.open() as f:
@@ -149,12 +150,17 @@ def parse_depends(args):
missing = []
for k in depends.keys():
if k in vpkgs.keys():
- pkgname = vpkgs[k]
- if pkgname in rdeps:
- print(f" PYTHON: {k} <-> {pkgname}", flush=True)
- elif pkgname in global_ignore:
- print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ for pkgname in vpkgs[k]:
+ if pkgname in rdeps:
+ print(f" PYTHON: {k} <-> {pkgname}", flush=True)
+ break
+ elif pkgname in global_ignore:
+ print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ break
else:
+ pkgname = " OR ".join(vpkgs[k])
+ if len(vpkgs[k]) > 1:
+ pkgname = "(" + pkgname + ")"
msg_err(f" PYTHON: {k} <-> {pkgname} NOT IN depends PLEASE FIX!",
nocolor=args.nocolor, strict=args.strict)
missing.append(pkgname)
From 61dfdd9effb56aafcf976cf222da63c75228edf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:10:39 -0300
Subject: [PATCH 15/29] python3-jupyter_nbconvert: update to 7.16.6.
---
srcpkgs/python3-jupyter_nbconvert/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index 3bf3da5423c28b..1f6a1be11d816d 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,23 +1,23 @@
# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
-version=7.16.4
-revision=2
+version=7.16.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
python3-MarkupSafe python3-mistune python3-nbclient
python3-jupyter_nbformat python3-packaging python3-pandocfilters
- python3-tinycss2"
-checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
- asciidoc inkscape pandoc python3-flaky python3-PyQt5"
+ python3-Pygments python3-traitlets python3-tinycss2"
+checkdepends="$depends python3-pytest-xdist python3-jupyter_ipywidgets
+ asciidoc inkscape pandoc python3-flaky python3-PyQt5 python3-ipython_ipykernel"
short_desc="Converting Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=86ca91ba266b0a448dc96fa6c5b9d98affabde2867b363258703536807f9f7f4
+checksum=576a7e37c6480da7b8465eefa66c17844243816ce1ccc372633c6b71c3c0f582
pre_check() {
# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
From 16cfccbe9d5768d58b6bf8edb6a14fd9b7523de0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:01 -0300
Subject: [PATCH 16/29] python3-attrs: update to 25.3.0.
---
srcpkgs/python3-attrs/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template
index c896dd4a9ae070..220008c24762c9 100644
--- a/srcpkgs/python3-attrs/template
+++ b/srcpkgs/python3-attrs/template
@@ -1,6 +1,6 @@
# Template file for 'python3-attrs'
pkgname=python3-attrs
-version=25.1.0
+version=25.3.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools hatch-vcs hatch-fancy-pypi-readme"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://attrs.readthedocs.io/"
changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
-checksum=1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e
+checksum=75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b
post_install() {
vlicense LICENSE
From abd835752b4f42635cc97e3cf8d5862a1efade07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:04 -0300
Subject: [PATCH 17/29] python3-rpds-py: update to 0.24.0.
---
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 74677c89ee56d5..072f1a7f4d9c2b 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.23.1
+version=0.24.0
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=7f3240dcfa14d198dba24b8b9cb3b108c06b68d45b7babd9eefc1038fdf7e707
+checksum=772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e
post_install() {
vlicense LICENSE
From 4606faf7d466b569e2d0f4540ad77964cfeac31d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:26:34 -0300
Subject: [PATCH 18/29] python3-jupyter_events: update to 0.12.0.
---
srcpkgs/python3-jupyter_events/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
index f1191124ca7f32..63a6aaa7a988be 100644
--- a/srcpkgs/python3-jupyter_events/template
+++ b/srcpkgs/python3-jupyter_events/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_events'
pkgname=python3-jupyter_events
-version=0.10.0
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-jsonschema python3-json-logger python3-yaml python3-traitlets
- python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator"
+ python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator
+ python3-packaging python3-referencing"
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>"
@@ -13,7 +14,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=670b8229d3cc882ec782144ed22e0d29e1c2d639263f92ca8383e66682845e22
+checksum=fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b
post_install() {
vlicense LICENSE
From fad32feb2b04d885cf4b68a9610d4cb1669155bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:20:08 -0300
Subject: [PATCH 19/29] New package: python3-forbiddenfruit-0.1.4
---
srcpkgs/python3-forbiddenfruit/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-forbiddenfruit/template
diff --git a/srcpkgs/python3-forbiddenfruit/template b/srcpkgs/python3-forbiddenfruit/template
new file mode 100644
index 00000000000000..fcfe09af6dc6f4
--- /dev/null
+++ b/srcpkgs/python3-forbiddenfruit/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-forbiddenfruit'
+pkgname=python3-forbiddenfruit
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Patch python built-in objects"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later OR MIT"
+homepage="https://github.com/clarete/forbiddenfruit"
+changelog="https://github.com/clarete/forbiddenfruit/releases"
+distfiles="${PYPI_SITE}/f/forbiddenfruit/forbiddenfruit-${version}.tar.gz"
+checksum=e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253
+make_check=no # Tests require removed python3-nose
+
+post_install() {
+ vlicense COPYING.mit
+}
From 158a08c3ee85574749d18e1cebfdc26d6f2e1d6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:25:30 -0300
Subject: [PATCH 20/29] New package: python3-blockbuster-1.5.24
---
srcpkgs/python3-blockbuster/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-blockbuster/template
diff --git a/srcpkgs/python3-blockbuster/template b/srcpkgs/python3-blockbuster/template
new file mode 100644
index 00000000000000..22aed76d4562ee
--- /dev/null
+++ b/srcpkgs/python3-blockbuster/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-blockbuster'
+pkgname=python3-blockbuster
+version=1.5.24
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-forbiddenfruit"
+checkdepends="$depends python3-pytest-asyncio python3-requests"
+short_desc="Utility to detect blocking calls in the async event loop"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/cbornet/blockbuster"
+changelog="https://github.com/cbornet/blockbuster/releases"
+distfiles="${PYPI_SITE}/b/blockbuster/blockbuster-${version}.tar.gz"
+checksum=97645775761a5d425666ec0bc99629b65c7eccdc2f770d2439850682567af4ec
From c024048f414ebcf9420246f0e81f580261803a32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Mar 2025 16:44:57 -0300
Subject: [PATCH 21/29] python3-anyio: update to 4.9.0.
---
srcpkgs/python3-anyio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
index 13776f697758c2..344c887c3ed3cb 100644
--- a/srcpkgs/python3-anyio/template
+++ b/srcpkgs/python3-anyio/template
@@ -1,21 +1,21 @@
# Template file for 'python3-anyio'
pkgname=python3-anyio
-version=4.4.0
-revision=2
+version=4.9.0
+revision=1
build_style=python3-pep517
# This file needs python module `exceptiongroup`
make_check_args="--ignore tests/test_taskgroups.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-sniffio python3-idna"
-checkdepends="$depends python3-pytest-mock python3-hypothesis
- python3-psutil python3-trio python3-trustme python3-uvloop"
+checkdepends="$depends python3-pytest-mock python3-hypothesis python3-psutil
+ python3-trio python3-trustme python3-uvloop python3-blockbuster"
short_desc="High level asynchronous concurrency and networking framework"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/agronholm/anyio"
changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst"
distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
-checksum=5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94
+checksum=673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI
From 7e1f7e3354dc16681399db2dbf3b0c7763773d07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:33:57 -0300
Subject: [PATCH 22/29] python3-jupyter_server: update to 2.15.0.
---
srcpkgs/python3-jupyter_server/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index a91e9f0ea23c76..d9132a12bd9a25 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,14 +1,14 @@
# Template file for 'python3-jupyter_server'
pkgname=python3-jupyter_server
-version=2.14.2
-revision=2
+version=2.15.0
+revision=1
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"
+depends="python3-anyio python3-argon2 python3-Jinja2 python3-jupyter_client
+ python3-jupyter_core python3-jupyter_events python3-jupyter_server_terminals
+ python3-jupyter_nbconvert python3-jupyter_nbformat python3-overrides
+ python3-packaging python3-prometheus_client python3-pyzmq python3-send2trash
+ python3-terminado python3-tornado python3-traitlets python3-websocket-client"
checkdepends="$depends pandoc python3-ipython_ipykernel
python3-pytest-console-scripts python3-pytest-jupyter
python3-pytest-xdist python3-requests python3-flaky"
@@ -18,7 +18,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=66095021aa9638ced276c248b1d81862e4c50f292d575920bbe960de1c56b12b
+checksum=9d446b8697b4f7337a1b7cdcac40778babdd93ba614b6d68ab1c0c918f1c4084
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (connect to a tcp address)
From 64b0fca1c168e0907aea949b87ddbcc622c0ef9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:26:16 -0300
Subject: [PATCH 23/29] python3-coverage: update to 7.8.0.
---
srcpkgs/python3-coverage/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template
index 88a586aba90760..d39d0605041df4 100644
--- a/srcpkgs/python3-coverage/template
+++ b/srcpkgs/python3-coverage/template
@@ -1,8 +1,10 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
-version=7.6.12
+version=7.8.0
revision=1
build_style=python3-pep517
+# this counts files but our installed package has fewer files
+make_check_args="--deselect tests/test_testing.py::test_all_our_source_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis"
@@ -12,7 +14,7 @@ license="Apache-2.0"
homepage="https://github.com/nedbat/coveragepy"
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
-checksum=48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2
+checksum=7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501
pre_check() {
# required setup, see tox.ini
@@ -26,7 +28,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -m installer dist/*.whl
- PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
+ PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
+ ${make_check_args} ${make_check_target}
}
post_install() {
From 4732e90debf069d40590c7a4ccf389ab8c076aaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 17:53:51 -0300
Subject: [PATCH 24/29] python3-pytest-cov: update to 6.1.1.
---
srcpkgs/python3-pytest-cov/template | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index cbf51bbbf4ad8f..5b6f92d7e21edf 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,11 +1,8 @@
# Template file for 'python3-pytest-cov'
pkgname=python3-pytest-cov
-version=5.0.0
-revision=2
+version=6.1.1
+revision=1
build_style=python3-pep517
-# this test fails with python3-coverage >= 7.6
-make_check_args="
- --deselect tests/test_pytest_cov.py::test_term_report_does_not_interact_with_html_output"
hostmakedepends="python3-setuptools"
depends="python3-pytest python3-coverage"
checkdepends="$depends python3-fields python3-process-tests
@@ -15,8 +12,8 @@ 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=5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857
+distfiles="${PYPI_SITE}/p/pytest-cov/pytest_cov-${version}.tar.gz"
+checksum=46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a
do_check() {
# Running via PYTHONPATH breaks a few tests so we use a venv
@@ -25,9 +22,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -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}
+ PYTHONPATH="/${py3_sitelib}" PYTHONUSERBASE=/usr \
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
${make_check_args} ${make_check_target}
}
From 544e10fb058f43c29200ecde3c838027b514f86b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:07:48 -0300
Subject: [PATCH 25/29] python3-json5: update to 0.12.0.
---
srcpkgs/python3-json5/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
index a0656d05038ff5..2d9bfebb90fb78 100644
--- a/srcpkgs/python3-json5/template
+++ b/srcpkgs/python3-json5/template
@@ -1,7 +1,7 @@
# Template file for 'python3-json5'
pkgname=python3-json5
-version=0.9.25
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -11,4 +11,4 @@ maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>
license="Apache-2.0"
homepage="https://github.com/dpranke/pyjson5"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
-checksum=a31db9a7d2cd102051e27efd519b9670a3b6be7b9d951145637c0a3e2350e141
+checksum=39b21785fc12c61716a3634b466e3faffc5c679148c2d9cbbef9cc0c15772b6f
From cc1ef0233ba42febd8054016f202c97647cceb3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:10:11 -0300
Subject: [PATCH 26/29] python3-async-lru: update to 2.0.5.
---
srcpkgs/python3-async-lru/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
index 96456af4a55a51..68439569f5fac0 100644
--- a/srcpkgs/python3-async-lru/template
+++ b/srcpkgs/python3-async-lru/template
@@ -1,7 +1,7 @@
# Template file for 'python3-async-lru'
pkgname=python3-async-lru
-version=2.0.4
-revision=3
+version=2.0.5
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-typing_extensions"
@@ -12,8 +12,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/aio-libs/async-lru"
changelog="https://raw.githubusercontent.com/aio-libs/async-lru/master/CHANGES.rst"
-distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
-checksum=b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627
+distfiles="${PYPI_SITE}/a/async-lru/async_lru-${version}.tar.gz"
+checksum=481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb
post_install() {
vlicense LICENSE
From 338c1d46bc7e33b38cd8fc69bf4baff8918b92d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:32:49 -0300
Subject: [PATCH 27/29] New package: python3-jupyter-lsp-2.2.5
---
srcpkgs/python3-jupyter-lsp/template | 24 ++++++++++++++++++++++++
srcpkgs/python3-jupyter-lsp/update | 3 +++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/python3-jupyter-lsp/template
create mode 100644 srcpkgs/python3-jupyter-lsp/update
diff --git a/srcpkgs/python3-jupyter-lsp/template b/srcpkgs/python3-jupyter-lsp/template
new file mode 100644
index 00000000000000..9114c2dd667ae8
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-jupyter-lsp'
+pkgname=python3-jupyter-lsp
+version=2.2.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_server"
+checkdepends="$depends python3-pytest"
+short_desc="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyter-lsp/jupyter-lsp-${version}.tar.gz"
+checksum=793147a05ad446f809fd53ef1cd19a9f5256fd0a2d6b7ce943a982cb4f545001
+
+# This test needs R package languageserver which we don't have
+make_check_args="
+ --deselect jupyter_lsp/tests/test_detect.py::test_r_package_detection"
+
+post_install() {
+ mv ${DESTDIR}/usr/etc ${DESTDIR}
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyter-lsp/update b/srcpkgs/python3-jupyter-lsp/update
new file mode 100644
index 00000000000000..31ba62a576d642
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/update
@@ -0,0 +1,3 @@
+# override since the github also contains jupyterlab-server tags
+site=https://pypi.org/simple/jupyter-lsp
+pkgname=jupyter-lsp
From 25b4f8aeccec8d2cc78eade3f2299594c4ca45e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:44:54 -0300
Subject: [PATCH 28/29] New package: python3-jupyterlab-lsp-5.1.0
---
srcpkgs/python3-jupyterlab-lsp/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab-lsp/template
diff --git a/srcpkgs/python3-jupyterlab-lsp/template b/srcpkgs/python3-jupyterlab-lsp/template
new file mode 100644
index 00000000000000..7835a6bb8b6d93
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab-lsp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab-lsp'
+pkgname=python3-jupyterlab-lsp
+version=5.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter-lsp jupyterlab"
+short_desc="Coding assistance for JupyterLab with Language Server Protocol"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyterlab-lsp/jupyterlab-lsp-${version}.tar.gz"
+checksum=aeac84093ada6d20ef57ae0e97811cc5796a0cab7237b32f8eddf993c0bb0356
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
From 79be53bdcff29621232d223689b59d63ccaf74f4 Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Thu, 17 Apr 2025 14:54:30 -0400
Subject: [PATCH 29/29] jupyterlab: update to 4.4.0
---
srcpkgs/jupyterlab/template | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 4782370a75598d..8c92bfda84bf6a 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,21 +1,23 @@
# Template file for 'jupyterlab'
pkgname=jupyterlab
-version=4.2.4
-revision=2
+version=4.4.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
depends="nodejs python3-async-lru python3-httpx python3-ipython_ipykernel
- python3-jupyterlab_server python3-notebook_shim"
-checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
+ python3-Jinja2 python3-jupyter_core python3-jupyter_server python3-tornado
+ python3-packaging python3-setuptools python3-jupyter-lsp
+ python3-traitlets python3-jupyterlab_server python3-notebook_shim"
+checkdepends="${depends} python3-pytest-jupyter python3-pytest-xdist"
short_desc="JupyterLab computational environment"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=343a979fb9582fd08c8511823e320703281cd072a0049bcdafdc7afeda7f2537
+checksum=f1767d5f0104e40f3b4a63bf6892bbef8e4704dcabf0c78408a3bdc411792f04
-if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
+if [ "${XBPS_BUILD_ENVIRONMENT}" = void-packages-ci ]; then
# this test fails on CI (network timeout)
make_check_args="
--deselect=jupyterlab/tests/test_build_api.py::TestBuildAPI
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: jupyterlab and deps
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
2025-04-19 3:37 ` [PR PATCH] [Updated] " tornaria
2025-04-19 13:58 ` tornaria
@ 2025-04-19 22:22 ` tornaria
2025-04-23 21:02 ` dkwo
` (12 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-04-19 22:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 235 bytes --]
New comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/pull/55117#issuecomment-2816887930
Comment:
This is ready to merge and it includes (i.e. closes) #54482, #54488, #54489, #54631, #55101.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: jupyterlab and deps
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (2 preceding siblings ...)
2025-04-19 22:22 ` tornaria
@ 2025-04-23 21:02 ` dkwo
2025-05-01 23:25 ` [PR PATCH] [Updated] " tornaria
` (11 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: dkwo @ 2025-04-23 21:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 232 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/55117#issuecomment-2825496910
Comment:
Thanks! I'm happy with the jupyterlab part. I will test the whole thing when I get more time.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PR PATCH] [Updated] jupyterlab and deps
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (3 preceding siblings ...)
2025-04-23 21:02 ` dkwo
@ 2025-05-01 23:25 ` tornaria
2025-05-02 0:33 ` [PR PATCH] [Updated] jupyterlab: update to 4.4.1 (and deps) tornaria
` (10 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-05-01 23:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1665 bytes --]
There is an updated 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/55117
jupyterlab and deps
- **python3-coverage: update to 7.8.0.**
- **python3-pytest-cov: update to 6.1.1.**
- **python3-pytest-asyncio: update to 0.26.0.**
- **python3-json5: update to 0.12.0.**
- **python3-async-lru: update to 2.0.5.**
- **New package: python3-jupyter-lsp-2.2.5**
- **New package: python3-jupyterlab-lsp-5.1.0**
- **jupyterlab: update to 4.4.0**
Includes #54482, #54488, #54489, #54631.
The jupyterlab update is slightly edited from #55101.
@dkwo
<!-- 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/55117.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-55117.patch --]
[-- Type: text/x-diff, Size: 53861 bytes --]
From f8d2fa6afb2709aef9e98064a81ac8bb1c280678 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:31:05 -0300
Subject: [PATCH 01/30] python3-jupyter_widgetsnbextension: update to 4.0.14.
---
srcpkgs/python3-jupyter_widgetsnbextension/template | 8 ++++----
srcpkgs/python3-jupyter_widgetsnbextension/update | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/template b/srcpkgs/python3-jupyter_widgetsnbextension/template
index 82146ccfd62d32..068b3364560be1 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/template
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/template
@@ -1,15 +1,15 @@
# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
-version=4.0.11
-revision=2
+version=4.0.14
+revision=1
build_style=python3-pep517
hostmakedepends="python3-jupyter_packaging"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
-homepage="https://pypi.org/project/widgetsnbextension/"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/widgetsnbextension"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
-checksum=8b22a8f1910bfd188e596fe7fc05dcbd87e810c8a4ba010bdb3da86637398474
+checksum=a3629b04e3edb893212df862038c7232f62973373869db5084aed739b437b5af
make_check=no # Upstream defines no tests
post_install() {
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/update b/srcpkgs/python3-jupyter_widgetsnbextension/update
index d6944b34c12eb0..0e9e4528c1915f 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/update
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/update
@@ -1,2 +1,3 @@
pkgname=widgetsnbextension
+site=https://pypi.org/simple/widgetsnbextension
ignore="*a* *b* *rc*"
From 840394bf5f897835bd48d2ccfe113b3e017c0bd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:36:50 -0300
Subject: [PATCH 02/30] New package: python3-jupyterlab_widgets-3.0.14
---
.../patches/no-jupyterlab.patch | 9 +++++++++
srcpkgs/python3-jupyterlab_widgets/template | 18 ++++++++++++++++++
srcpkgs/python3-jupyterlab_widgets/update | 3 +++
3 files changed, 30 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
create mode 100644 srcpkgs/python3-jupyterlab_widgets/template
create mode 100644 srcpkgs/python3-jupyterlab_widgets/update
diff --git a/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
new file mode 100644
index 00000000000000..7f78d11497f9ac
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
@@ -0,0 +1,9 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=4.0"]
++requires = ["jupyter_packaging~=0.10,<2"]
+ build-backend = "jupyter_packaging.build_api"
+
+ [tool.jupyter-packaging.options]
diff --git a/srcpkgs/python3-jupyterlab_widgets/template b/srcpkgs/python3-jupyterlab_widgets/template
new file mode 100644
index 00000000000000..b36a7642f2415d
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyterlab_widgets'
+pkgname=python3-jupyterlab_widgets
+version=3.0.14
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-jupyter_packaging"
+depends="python3"
+short_desc="Jupyter interactive widgets for JupyterLab"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/jupyterlab_widgets"
+distfiles="${PYPI_SITE}/j/jupyterlab_widgets/jupyterlab_widgets-${version}.tar.gz"
+checksum=bad03e59546869f026e537e0d170e454259e6dc7048e14041707ca31e523c8a1
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyterlab_widgets/update b/srcpkgs/python3-jupyterlab_widgets/update
new file mode 100644
index 00000000000000..8226cf8d087698
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/update
@@ -0,0 +1,3 @@
+pkgname=jupyterlab_widgets
+site=https://pypi.org/simple/jupyterlab_widgets
+ignore="*a* *b* *rc*"
From 19a347ceb713595ae476f0b76087d287137da23a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:39:43 -0300
Subject: [PATCH 03/30] python3-jupyter_ipywidgets: update to 8.1.6.
---
.../patches/pytest8.patch | 93 -------------------
srcpkgs/python3-jupyter_ipywidgets/template | 12 ++-
srcpkgs/python3-jupyter_ipywidgets/update | 1 +
3 files changed, 8 insertions(+), 98 deletions(-)
delete mode 100644 srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
diff --git a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch b/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
deleted file mode 100644
index 2f8499a3ae76b9..00000000000000
--- a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-See: https://github.com/jupyter-widgets/ipywidgets/pull/3903
-
-From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Thu, 11 Apr 2024 11:40:15 +0200
-Subject: [PATCH] Fix compatibility with pytest 8
-
-Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
----
- .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
- python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 -
- .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +-
- .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +-
- python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++---
- 5 files changed, 5 insertions(+), 8 deletions(-)
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-index 0dc7e5fcfc..feb1afe50c 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-@@ -19,8 +19,6 @@
- # Utility stuff
- #-----------------------------------------------------------------------------
-
--from .utils import setup, teardown
--
- def f(**kwargs):
- pass
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-index 0c92dfdcb2..9301764d40 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-@@ -4,7 +4,6 @@
- import pytest
-
- from .. import jslink, jsdlink, ToggleButton
--from .utils import setup, teardown
-
- def test_jslink_args():
- with pytest.raises(TypeError):
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-index ec18ae4af1..98465b9b7d 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-@@ -3,7 +3,7 @@
-
- from traitlets import Bool, Tuple, List
-
--from .utils import setup, teardown, DummyComm
-+from .utils import setup
-
- from ..widget import Widget
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-index 82ecbd9311..22ec54d90f 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-@@ -6,7 +6,7 @@
-
- from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
-
--from .utils import setup, teardown
-+from .utils import setup
-
- import ipywidgets
- from ipywidgets import Widget
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/utils.py b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-index 260485e3f8..8dbbcb355b 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-@@ -12,7 +12,7 @@
- NEW_COMM_PACKAGE = False
-
- import ipykernel.comm
--
-+import pytest
-
- class DummyComm():
- comm_id = 'a-b-c-d'
-@@ -87,10 +87,10 @@ def teardown_test_comm():
- setattr(Widget, attr, value)
- _widget_attrs.clear()
-
-+@pytest.fixture(autouse=True)
- def setup():
- setup_test_comm()
--
--def teardown():
-+ yield
- teardown_test_comm()
-
- def call_method(method, *args, **kwargs):
diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index da7840682a6178..0df8341d1e1814 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,18 +1,20 @@
# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
-version=8.1.3
-revision=2
+version=8.1.6
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
-depends="python3-ipython_ipykernel python3-jupyter_widgetsnbextension"
-checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
+depends="python3-comm python3-ipython python3-traitlets
+ python3-jupyter_widgetsnbextension python3-jupyterlab_widgets"
+checkdepends="$depends python3-pytest python3-jsonschema python3-pytz
+ python3-ipython_ipykernel"
short_desc="IPython widgets for the Jupyter notebook"
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=f5f9eeaae082b1823ce9eac2575272952f40d748893972956dc09700a6392d9c
+checksum=d8ace49c66f14419fc66071371b99d01bed230bbc15d8a60233b18bfbd782851
# main repo `.../python/ipywidgets/ipywidgets/` is `.../ipywidgets/` here
patch_args=-Np3
diff --git a/srcpkgs/python3-jupyter_ipywidgets/update b/srcpkgs/python3-jupyter_ipywidgets/update
index 44da8f2e3c582e..eb8d6c97887770 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/update
+++ b/srcpkgs/python3-jupyter_ipywidgets/update
@@ -1,2 +1,3 @@
pkgname=ipywidgets
+site=https://pypi.org/simple/ipywidgets
ignore="*a* *b* *rc*"
From 4f132e1f9a347bf64613104f957f92d53f845e78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:12:02 -0300
Subject: [PATCH 04/30] python3-pytest-asyncio: update to 0.26.0.
---
srcpkgs/python3-pytest-asyncio/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template
index f1ca23d6a818d5..4d067f0213566f 100644
--- a/srcpkgs/python3-pytest-asyncio/template
+++ b/srcpkgs/python3-pytest-asyncio/template
@@ -1,6 +1,6 @@
# Template file for 'python3-pytest-asyncio'
pkgname=python3-pytest-asyncio
-version=0.25.3
+version=0.26.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
@@ -12,7 +12,7 @@ license="Apache-2.0"
homepage="https://github.com/pytest-dev/pytest-asyncio"
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst"
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest_asyncio-${version}.tar.gz"
-checksum=fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a
+checksum=c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (bind to a tcp address)
From 759fcaec0cb00d43171c2a3a65fbf74062678bf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:39 -0300
Subject: [PATCH 05/30] python3-xmltodict: update to 0.14.2.
---
srcpkgs/python3-xmltodict/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-xmltodict/template b/srcpkgs/python3-xmltodict/template
index cf444ee312210f..abe56821b12a5e 100644
--- a/srcpkgs/python3-xmltodict/template
+++ b/srcpkgs/python3-xmltodict/template
@@ -1,8 +1,8 @@
# Template file for 'python3-xmltodict'
pkgname=python3-xmltodict
-version=0.13.0
-revision=3
-build_style=python3-module
+version=0.14.2
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/martinblech/xmltodict"
changelog="https://raw.githubusercontent.com/martinblech/xmltodict/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz"
-checksum=341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56
+checksum=201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553
post_install() {
vlicense LICENSE
From 13460243f5684d43d2d31c4461f7d5e02023754d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:44 -0300
Subject: [PATCH 06/30] python3-nbclient: update to 0.10.2.
---
srcpkgs/python3-nbclient/template | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index 3bf13e904a1d0c..b2666af9d1a1d9 100644
--- a/srcpkgs/python3-nbclient/template
+++ b/srcpkgs/python3-nbclient/template
@@ -1,25 +1,21 @@
# Template file for 'python3-nbclient'
pkgname=python3-nbclient
-version=0.10.0
-revision=2
+version=0.10.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-jupyter_client python3-jupyter_nbformat"
+depends="python3-jupyter_client python3-jupyter_core python3-jupyter_nbformat
+ python3-traitlets"
checkdepends="$depends python3-pytest-asyncio python3-testpath
- python3-flaky python3-jupyter_ipywidgets python3-xmltodict"
+ python3-flaky python3-jupyter_ipywidgets python3-xmltodict
+ python3-ipython_ipykernel python3-jupyter_nbconvert"
short_desc="Client library for executing Jupyter notebooks"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09
-make_check=extended # avoid a circular dependency
-
-if [ "$XBPS_CHECK_PKGS" = full ]; then
- # this would cause a build-time circular dependency
- checkdepends+=" python3-jupyter_nbconvert"
-fi
+checksum=90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193
post_install() {
vlicense LICENSE
From 1134b9199d8cd0d89425438fcb26c648418a7c22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:37:47 -0300
Subject: [PATCH 07/30] python3-lxml: update to 5.4.0.
---
.../patches/fix-encoding-tests-musl.patch | 19 -------------------
srcpkgs/python3-lxml/template | 12 ++++++------
2 files changed, 6 insertions(+), 25 deletions(-)
delete mode 100644 srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
diff --git a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch b/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
deleted file mode 100644
index e2d0e3b36bd572..00000000000000
--- a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/3f64a63298ac78f5f2a50a52e3e3f01eef1b51ce/main/py3-lxml/tests-fix-encoding-name.patch
-
-diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
-index 3162155..43b79d7 100644
---- a/src/lxml/tests/test_incremental_xmlfile.py
-+++ b/src/lxml/tests/test_incremental_xmlfile.py
-@@ -177,10 +177,10 @@ class _XmlFileTestCaseBase(HelperTestCase):
- '<test>Comments: <!-- text -->\nEntities: &amp;</test>')
-
- def test_encoding(self):
-- with etree.xmlfile(self._file, encoding='utf16') as xf:
-+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
- with xf.element('test'):
- xf.write('toast')
-- self.assertXml('<test>toast</test>', encoding='utf16')
-+ self.assertXml('<test>toast</test>', encoding='utf-16')
-
- def test_buffering(self):
- with etree.xmlfile(self._file, buffered=False) as xf:
diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 32ac3828139320..8fdf77220f37a5 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,10 +1,10 @@
# Template file for 'python3-lxml'
pkgname=python3-lxml
-version=5.3.0
-revision=2
-build_style=python3-module
-make_build_args="--with-cython"
-hostmakedepends="python3-Cython python3-setuptools"
+version=5.4.0
+revision=1
+build_style=python3-pep517
+make_build_args="-C--build-option=--with-cython"
+hostmakedepends="python3-Cython python3-setuptools python3-wheel"
makedepends="libxslt-devel python3-devel"
depends="python3"
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
@@ -14,7 +14,7 @@ license="BSD-3-Clause, custom:ElementTree"
homepage="https://lxml.de/"
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=eb22f7ceb319c29247cfa398435d00e6286d19a32b4870b67a8e9a38d72f2ebd
+checksum=12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2
do_check() {
make test
From 236f8672678c359cfb71dbf096e9ca66b3ed55f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:47:25 -0300
Subject: [PATCH 08/30] python3-soupsieve: update to 2.7.
---
srcpkgs/python3-soupsieve/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-soupsieve/template b/srcpkgs/python3-soupsieve/template
index 107604fec169b0..6e645de8048b71 100644
--- a/srcpkgs/python3-soupsieve/template
+++ b/srcpkgs/python3-soupsieve/template
@@ -1,7 +1,7 @@
# Template file for 'python3-soupsieve'
pkgname=python3-soupsieve
-version=2.4.1
-revision=3
+version=2.7
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
@@ -11,8 +11,9 @@ short_desc="CSS4 selector implementation for Python3 Beautiful Soup"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://facelessuser.github.io/soupsieve/"
+changelog="https://raw.githubusercontent.com/facelessuser/soupsieve/refs/heads/main/docs/src/markdown/about/changelog.md"
distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz"
-checksum=89d12b2d5dfcd2c9e8c22326da9d9aa9cb3dfab0a83a024f05704076ee8d35ea
+checksum=ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a
post_install() {
vlicense LICENSE.md
From 73bc6961a0fe0727c2035ba100a3175ed13b94ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:51:48 -0300
Subject: [PATCH 09/30] python3-BeautifulSoup4: update to 4.13.4.
---
srcpkgs/python3-BeautifulSoup4/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 364445f875e54c..3bb906b2405f17 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,10 +1,10 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.12.2
-revision=3
+version=4.13.4
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-soupsieve"
+depends="python3-soupsieve python3-typing_extensions"
checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
+checksum=dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195
post_install() {
vlicense LICENSE
From 22a3d42e8153426bdc0121bffc22935b11e02117 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:07 -0300
Subject: [PATCH 10/30] python3-six: update to 1.17.0.
---
srcpkgs/python3-six/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-six/template b/srcpkgs/python3-six/template
index 2299770fb153c2..19b0812b9fd4e1 100644
--- a/srcpkgs/python3-six/template
+++ b/srcpkgs/python3-six/template
@@ -1,8 +1,8 @@
# Template file for 'python3-six'
pkgname=python3-six
-version=1.16.0
-revision=5
-build_style=python3-module
+version=1.17.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
-checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
+checksum=ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
post_install() {
vlicense LICENSE
From 02fa2dd0fc2a427db833de47389d7346c31ad601 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:22 -0300
Subject: [PATCH 11/30] python3-bleach: update to 6.2.0.
---
srcpkgs/python3-bleach/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index 8cf2201528c939..82f2797e85784b 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,7 +1,7 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=6.0.0
-revision=3
+version=6.2.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-six python3-webencodings"
@@ -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=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
+checksum=123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f
From 23d1821df35cb18d58c8bce7f83207d0a6033c1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:26 -0300
Subject: [PATCH 12/30] python3-mistune: update to 3.1.3.
---
srcpkgs/python3-mistune/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-mistune/template b/srcpkgs/python3-mistune/template
index 828db5643c7a2e..2aba5c34737737 100644
--- a/srcpkgs/python3-mistune/template
+++ b/srcpkgs/python3-mistune/template
@@ -1,7 +1,7 @@
# Template file for 'python3-mistune'
pkgname=python3-mistune
-version=3.0.2
-revision=2
+version=3.1.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://mistune.lepture.com/"
changelog="https://raw.githubusercontent.com/lepture/mistune/master/docs/changes.rst"
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
-checksum=fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8
+checksum=a7035c21782b2becb6be62f8f25d3df81ccb4d6fa477a6525b15af06539f02a0
post_install() {
vlicense LICENSE
From f75a4d9c4fc58bcbf1e14960242d025b7d3c9eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:30 -0300
Subject: [PATCH 13/30] python3-pandocfilters: update to 1.5.1.
---
srcpkgs/python3-pandocfilters/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-pandocfilters/template b/srcpkgs/python3-pandocfilters/template
index 45e58c9c94ddeb..ab7efec72a7899 100644
--- a/srcpkgs/python3-pandocfilters/template
+++ b/srcpkgs/python3-pandocfilters/template
@@ -1,8 +1,8 @@
# Template file for 'python3-pandocfilters'
pkgname=python3-pandocfilters
-version=1.5.0
-revision=2
-build_style=python3-module
+version=1.5.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 module for writing pandoc filters"
@@ -10,7 +10,8 @@ maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="http://github.com/jgm/pandocfilters"
distfiles="${PYPI_SITE}/p/pandocfilters/pandocfilters-${version}.tar.gz"
-checksum=0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38
+checksum=002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e
+make_check=no # Upstream defines no tests
post_install() {
vlicense LICENSE
From 922d2154731dcab3e6692134d9219fdc5c0b7fdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 11:45:59 -0300
Subject: [PATCH 14/30] hooks/pre-pkg/06-verify-python-deps: support
alternative packages
---
common/scripts/parse-py-metadata.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/common/scripts/parse-py-metadata.py b/common/scripts/parse-py-metadata.py
index 0d9384bf7ef36c..909244d80804f1 100644
--- a/common/scripts/parse-py-metadata.py
+++ b/common/scripts/parse-py-metadata.py
@@ -123,7 +123,8 @@ def parse_depends(args):
pkg = getpkgname(pkgver)
vpkg = map(getpkgname, vpkgvers.split())
for v in vpkg:
- vpkgs[v] = pkg
+ if pkg not in vpkgs.setdefault(v, []):
+ vpkgs[v].append(pkg)
if args.rdeps.exists():
with args.rdeps.open() as f:
@@ -149,12 +150,17 @@ def parse_depends(args):
missing = []
for k in depends.keys():
if k in vpkgs.keys():
- pkgname = vpkgs[k]
- if pkgname in rdeps:
- print(f" PYTHON: {k} <-> {pkgname}", flush=True)
- elif pkgname in global_ignore:
- print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ for pkgname in vpkgs[k]:
+ if pkgname in rdeps:
+ print(f" PYTHON: {k} <-> {pkgname}", flush=True)
+ break
+ elif pkgname in global_ignore:
+ print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ break
else:
+ pkgname = " OR ".join(vpkgs[k])
+ if len(vpkgs[k]) > 1:
+ pkgname = "(" + pkgname + ")"
msg_err(f" PYTHON: {k} <-> {pkgname} NOT IN depends PLEASE FIX!",
nocolor=args.nocolor, strict=args.strict)
missing.append(pkgname)
From 459cb98738db53d112e783f94e09dec2fcf2472c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:10:39 -0300
Subject: [PATCH 15/30] python3-jupyter_nbconvert: update to 7.16.6.
---
srcpkgs/python3-jupyter_nbconvert/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index 3bf3da5423c28b..1f6a1be11d816d 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,23 +1,23 @@
# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
-version=7.16.4
-revision=2
+version=7.16.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
python3-MarkupSafe python3-mistune python3-nbclient
python3-jupyter_nbformat python3-packaging python3-pandocfilters
- python3-tinycss2"
-checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
- asciidoc inkscape pandoc python3-flaky python3-PyQt5"
+ python3-Pygments python3-traitlets python3-tinycss2"
+checkdepends="$depends python3-pytest-xdist python3-jupyter_ipywidgets
+ asciidoc inkscape pandoc python3-flaky python3-PyQt5 python3-ipython_ipykernel"
short_desc="Converting Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=86ca91ba266b0a448dc96fa6c5b9d98affabde2867b363258703536807f9f7f4
+checksum=576a7e37c6480da7b8465eefa66c17844243816ce1ccc372633c6b71c3c0f582
pre_check() {
# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
From 00518c8cbc176e506011861d6a3796ebaedf90db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:01 -0300
Subject: [PATCH 16/30] python3-attrs: update to 25.3.0.
---
srcpkgs/python3-attrs/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template
index c896dd4a9ae070..220008c24762c9 100644
--- a/srcpkgs/python3-attrs/template
+++ b/srcpkgs/python3-attrs/template
@@ -1,6 +1,6 @@
# Template file for 'python3-attrs'
pkgname=python3-attrs
-version=25.1.0
+version=25.3.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools hatch-vcs hatch-fancy-pypi-readme"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://attrs.readthedocs.io/"
changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
-checksum=1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e
+checksum=75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b
post_install() {
vlicense LICENSE
From bc0e3821909de6811514eeb11364b1cc52a7402d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:04 -0300
Subject: [PATCH 17/30] python3-rpds-py: update to 0.24.0.
---
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 74677c89ee56d5..072f1a7f4d9c2b 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.23.1
+version=0.24.0
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=7f3240dcfa14d198dba24b8b9cb3b108c06b68d45b7babd9eefc1038fdf7e707
+checksum=772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e
post_install() {
vlicense LICENSE
From 92872e1e9eb6419b8fc3e570115ae35e77124c79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:26:34 -0300
Subject: [PATCH 18/30] python3-jupyter_events: update to 0.12.0.
---
.../python3-jupyter_events/patches/fix-dep.patch | 15 +++++++++++++++
srcpkgs/python3-jupyter_events/template | 9 +++++----
2 files changed, 20 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-jupyter_events/patches/fix-dep.patch
diff --git a/srcpkgs/python3-jupyter_events/patches/fix-dep.patch b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
new file mode 100644
index 00000000000000..c96f3c211597dd
--- /dev/null
+++ b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
@@ -0,0 +1,15 @@
+We don't have all dependencies required for `jsonschema[format-nongpl]`.
+However, `rfc3339-validator` and `rfc3986-validator` seem enough, and
+we do have them listed in `depends=`.
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -24,7 +24,7 @@
+ ]
+ dependencies = [
+ "referencing",
+- "jsonschema[format-nongpl]>=4.18.0",
++ "jsonschema>=4.18.0",
+ "python-json-logger>=2.0.4",
+ "pyyaml>=5.3",
+ "traitlets>=5.3",
diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
index f1191124ca7f32..63a6aaa7a988be 100644
--- a/srcpkgs/python3-jupyter_events/template
+++ b/srcpkgs/python3-jupyter_events/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_events'
pkgname=python3-jupyter_events
-version=0.10.0
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-jsonschema python3-json-logger python3-yaml python3-traitlets
- python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator"
+ python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator
+ python3-packaging python3-referencing"
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>"
@@ -13,7 +14,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=670b8229d3cc882ec782144ed22e0d29e1c2d639263f92ca8383e66682845e22
+checksum=fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b
post_install() {
vlicense LICENSE
From 445cb671f88f49dcb7ca53a437ea69746f76657b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:20:08 -0300
Subject: [PATCH 19/30] New package: python3-forbiddenfruit-0.1.4
---
srcpkgs/python3-forbiddenfruit/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-forbiddenfruit/template
diff --git a/srcpkgs/python3-forbiddenfruit/template b/srcpkgs/python3-forbiddenfruit/template
new file mode 100644
index 00000000000000..fcfe09af6dc6f4
--- /dev/null
+++ b/srcpkgs/python3-forbiddenfruit/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-forbiddenfruit'
+pkgname=python3-forbiddenfruit
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Patch python built-in objects"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later OR MIT"
+homepage="https://github.com/clarete/forbiddenfruit"
+changelog="https://github.com/clarete/forbiddenfruit/releases"
+distfiles="${PYPI_SITE}/f/forbiddenfruit/forbiddenfruit-${version}.tar.gz"
+checksum=e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253
+make_check=no # Tests require removed python3-nose
+
+post_install() {
+ vlicense COPYING.mit
+}
From 2986688b5189a744c79580a4a8f67db155ac8f02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:25:30 -0300
Subject: [PATCH 20/30] New package: python3-blockbuster-1.5.24
---
srcpkgs/python3-blockbuster/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-blockbuster/template
diff --git a/srcpkgs/python3-blockbuster/template b/srcpkgs/python3-blockbuster/template
new file mode 100644
index 00000000000000..22aed76d4562ee
--- /dev/null
+++ b/srcpkgs/python3-blockbuster/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-blockbuster'
+pkgname=python3-blockbuster
+version=1.5.24
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-forbiddenfruit"
+checkdepends="$depends python3-pytest-asyncio python3-requests"
+short_desc="Utility to detect blocking calls in the async event loop"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/cbornet/blockbuster"
+changelog="https://github.com/cbornet/blockbuster/releases"
+distfiles="${PYPI_SITE}/b/blockbuster/blockbuster-${version}.tar.gz"
+checksum=97645775761a5d425666ec0bc99629b65c7eccdc2f770d2439850682567af4ec
From c24f3b4f65a8c9e04da67f98c15f7fbad181ebf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Mar 2025 16:44:57 -0300
Subject: [PATCH 21/30] python3-anyio: update to 4.9.0.
---
srcpkgs/python3-anyio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
index 13776f697758c2..344c887c3ed3cb 100644
--- a/srcpkgs/python3-anyio/template
+++ b/srcpkgs/python3-anyio/template
@@ -1,21 +1,21 @@
# Template file for 'python3-anyio'
pkgname=python3-anyio
-version=4.4.0
-revision=2
+version=4.9.0
+revision=1
build_style=python3-pep517
# This file needs python module `exceptiongroup`
make_check_args="--ignore tests/test_taskgroups.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-sniffio python3-idna"
-checkdepends="$depends python3-pytest-mock python3-hypothesis
- python3-psutil python3-trio python3-trustme python3-uvloop"
+checkdepends="$depends python3-pytest-mock python3-hypothesis python3-psutil
+ python3-trio python3-trustme python3-uvloop python3-blockbuster"
short_desc="High level asynchronous concurrency and networking framework"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/agronholm/anyio"
changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst"
distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
-checksum=5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94
+checksum=673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI
From e4bce8f7438486752ff47b1bd5674d46029ba340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:33:57 -0300
Subject: [PATCH 22/30] python3-jupyter_server: update to 2.15.0.
---
srcpkgs/python3-jupyter_server/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index a91e9f0ea23c76..d9132a12bd9a25 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,14 +1,14 @@
# Template file for 'python3-jupyter_server'
pkgname=python3-jupyter_server
-version=2.14.2
-revision=2
+version=2.15.0
+revision=1
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"
+depends="python3-anyio python3-argon2 python3-Jinja2 python3-jupyter_client
+ python3-jupyter_core python3-jupyter_events python3-jupyter_server_terminals
+ python3-jupyter_nbconvert python3-jupyter_nbformat python3-overrides
+ python3-packaging python3-prometheus_client python3-pyzmq python3-send2trash
+ python3-terminado python3-tornado python3-traitlets python3-websocket-client"
checkdepends="$depends pandoc python3-ipython_ipykernel
python3-pytest-console-scripts python3-pytest-jupyter
python3-pytest-xdist python3-requests python3-flaky"
@@ -18,7 +18,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=66095021aa9638ced276c248b1d81862e4c50f292d575920bbe960de1c56b12b
+checksum=9d446b8697b4f7337a1b7cdcac40778babdd93ba614b6d68ab1c0c918f1c4084
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (connect to a tcp address)
From a13b86aa86bd1f35cb6efb32d59f5c9ea93920ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:26:16 -0300
Subject: [PATCH 23/30] python3-coverage: update to 7.8.0.
---
srcpkgs/python3-coverage/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template
index 88a586aba90760..d39d0605041df4 100644
--- a/srcpkgs/python3-coverage/template
+++ b/srcpkgs/python3-coverage/template
@@ -1,8 +1,10 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
-version=7.6.12
+version=7.8.0
revision=1
build_style=python3-pep517
+# this counts files but our installed package has fewer files
+make_check_args="--deselect tests/test_testing.py::test_all_our_source_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis"
@@ -12,7 +14,7 @@ license="Apache-2.0"
homepage="https://github.com/nedbat/coveragepy"
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
-checksum=48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2
+checksum=7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501
pre_check() {
# required setup, see tox.ini
@@ -26,7 +28,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -m installer dist/*.whl
- PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
+ PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
+ ${make_check_args} ${make_check_target}
}
post_install() {
From 13a948426e7363a359f69cce7d74bbc525d00420 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 17:53:51 -0300
Subject: [PATCH 24/30] python3-pytest-cov: update to 6.1.1.
---
srcpkgs/python3-pytest-cov/template | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index cbf51bbbf4ad8f..5b6f92d7e21edf 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,11 +1,8 @@
# Template file for 'python3-pytest-cov'
pkgname=python3-pytest-cov
-version=5.0.0
-revision=2
+version=6.1.1
+revision=1
build_style=python3-pep517
-# this test fails with python3-coverage >= 7.6
-make_check_args="
- --deselect tests/test_pytest_cov.py::test_term_report_does_not_interact_with_html_output"
hostmakedepends="python3-setuptools"
depends="python3-pytest python3-coverage"
checkdepends="$depends python3-fields python3-process-tests
@@ -15,8 +12,8 @@ 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=5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857
+distfiles="${PYPI_SITE}/p/pytest-cov/pytest_cov-${version}.tar.gz"
+checksum=46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a
do_check() {
# Running via PYTHONPATH breaks a few tests so we use a venv
@@ -25,9 +22,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -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}
+ PYTHONPATH="/${py3_sitelib}" PYTHONUSERBASE=/usr \
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
${make_check_args} ${make_check_target}
}
From f9d4d3a5e250663474951199ff5aff6d74f05d91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:07:48 -0300
Subject: [PATCH 25/30] python3-json5: update to 0.12.0.
---
srcpkgs/python3-json5/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
index a0656d05038ff5..2d9bfebb90fb78 100644
--- a/srcpkgs/python3-json5/template
+++ b/srcpkgs/python3-json5/template
@@ -1,7 +1,7 @@
# Template file for 'python3-json5'
pkgname=python3-json5
-version=0.9.25
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -11,4 +11,4 @@ maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>
license="Apache-2.0"
homepage="https://github.com/dpranke/pyjson5"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
-checksum=a31db9a7d2cd102051e27efd519b9670a3b6be7b9d951145637c0a3e2350e141
+checksum=39b21785fc12c61716a3634b466e3faffc5c679148c2d9cbbef9cc0c15772b6f
From aaf524bd8faa37f1cc0d40b0ec70dabf7051172c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:10:11 -0300
Subject: [PATCH 26/30] python3-async-lru: update to 2.0.5.
---
srcpkgs/python3-async-lru/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
index 96456af4a55a51..68439569f5fac0 100644
--- a/srcpkgs/python3-async-lru/template
+++ b/srcpkgs/python3-async-lru/template
@@ -1,7 +1,7 @@
# Template file for 'python3-async-lru'
pkgname=python3-async-lru
-version=2.0.4
-revision=3
+version=2.0.5
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-typing_extensions"
@@ -12,8 +12,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/aio-libs/async-lru"
changelog="https://raw.githubusercontent.com/aio-libs/async-lru/master/CHANGES.rst"
-distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
-checksum=b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627
+distfiles="${PYPI_SITE}/a/async-lru/async_lru-${version}.tar.gz"
+checksum=481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb
post_install() {
vlicense LICENSE
From 2082eea00587e7fdef2a0c9e5c59af819b59cd48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:32:49 -0300
Subject: [PATCH 27/30] New package: python3-jupyter-lsp-2.2.5
---
srcpkgs/python3-jupyter-lsp/template | 24 ++++++++++++++++++++++++
srcpkgs/python3-jupyter-lsp/update | 3 +++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/python3-jupyter-lsp/template
create mode 100644 srcpkgs/python3-jupyter-lsp/update
diff --git a/srcpkgs/python3-jupyter-lsp/template b/srcpkgs/python3-jupyter-lsp/template
new file mode 100644
index 00000000000000..9114c2dd667ae8
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-jupyter-lsp'
+pkgname=python3-jupyter-lsp
+version=2.2.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_server"
+checkdepends="$depends python3-pytest"
+short_desc="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyter-lsp/jupyter-lsp-${version}.tar.gz"
+checksum=793147a05ad446f809fd53ef1cd19a9f5256fd0a2d6b7ce943a982cb4f545001
+
+# This test needs R package languageserver which we don't have
+make_check_args="
+ --deselect jupyter_lsp/tests/test_detect.py::test_r_package_detection"
+
+post_install() {
+ mv ${DESTDIR}/usr/etc ${DESTDIR}
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyter-lsp/update b/srcpkgs/python3-jupyter-lsp/update
new file mode 100644
index 00000000000000..31ba62a576d642
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/update
@@ -0,0 +1,3 @@
+# override since the github also contains jupyterlab-server tags
+site=https://pypi.org/simple/jupyter-lsp
+pkgname=jupyter-lsp
From 3b2f19a08ecc213567a0a5b638f40457975a5abd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:44:54 -0300
Subject: [PATCH 28/30] New package: python3-jupyterlab-lsp-5.1.0
---
srcpkgs/python3-jupyterlab-lsp/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab-lsp/template
diff --git a/srcpkgs/python3-jupyterlab-lsp/template b/srcpkgs/python3-jupyterlab-lsp/template
new file mode 100644
index 00000000000000..7835a6bb8b6d93
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab-lsp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab-lsp'
+pkgname=python3-jupyterlab-lsp
+version=5.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter-lsp jupyterlab"
+short_desc="Coding assistance for JupyterLab with Language Server Protocol"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyterlab-lsp/jupyterlab-lsp-${version}.tar.gz"
+checksum=aeac84093ada6d20ef57ae0e97811cc5796a0cab7237b32f8eddf993c0bb0356
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
From f8fcbd33be597ad6ecebd5c000eb5d510e33dfac Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Thu, 17 Apr 2025 14:54:30 -0400
Subject: [PATCH 29/30] jupyterlab: update to 4.4.0
---
srcpkgs/jupyterlab/template | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 4782370a75598d..8c92bfda84bf6a 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,21 +1,23 @@
# Template file for 'jupyterlab'
pkgname=jupyterlab
-version=4.2.4
-revision=2
+version=4.4.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
depends="nodejs python3-async-lru python3-httpx python3-ipython_ipykernel
- python3-jupyterlab_server python3-notebook_shim"
-checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
+ python3-Jinja2 python3-jupyter_core python3-jupyter_server python3-tornado
+ python3-packaging python3-setuptools python3-jupyter-lsp
+ python3-traitlets python3-jupyterlab_server python3-notebook_shim"
+checkdepends="${depends} python3-pytest-jupyter python3-pytest-xdist"
short_desc="JupyterLab computational environment"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=343a979fb9582fd08c8511823e320703281cd072a0049bcdafdc7afeda7f2537
+checksum=f1767d5f0104e40f3b4a63bf6892bbef8e4704dcabf0c78408a3bdc411792f04
-if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
+if [ "${XBPS_BUILD_ENVIRONMENT}" = void-packages-ci ]; then
# this test fails on CI (network timeout)
make_check_args="
--deselect=jupyterlab/tests/test_build_api.py::TestBuildAPI
From 8c461a56d2111ebd9671c9061a8d191efe36e9c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 1 May 2025 20:11:20 -0300
Subject: [PATCH 30/30] jupyterlab: update to 4.4.1.
---
srcpkgs/jupyterlab/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 8c92bfda84bf6a..cb263d61a94535 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,6 +1,6 @@
# Template file for 'jupyterlab'
pkgname=jupyterlab
-version=4.4.0
+version=4.4.1
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
@@ -15,7 +15,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=f1767d5f0104e40f3b4a63bf6892bbef8e4704dcabf0c78408a3bdc411792f04
+checksum=c75c4f33056fbd84f0b31eb44622a00c7a5f981b85adfeb198a83721f0465808
if [ "${XBPS_BUILD_ENVIRONMENT}" = void-packages-ci ]; then
# this test fails on CI (network timeout)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PR PATCH] [Updated] jupyterlab: update to 4.4.1 (and deps)
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (4 preceding siblings ...)
2025-05-01 23:25 ` [PR PATCH] [Updated] " tornaria
@ 2025-05-02 0:33 ` tornaria
2025-05-05 0:18 ` tornaria
` (9 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-05-02 0:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1674 bytes --]
There is an updated 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/55117
jupyterlab: update to 4.4.1 (and deps)
- **python3-coverage: update to 7.8.0.**
- **python3-pytest-cov: update to 6.1.1.**
- **python3-json5: update to 0.12.0.**
- **python3-async-lru: update to 2.0.5.**
- **New package: python3-jupyter-lsp-2.2.5**
- **New package: python3-jupyterlab-lsp-5.1.0**
- **jupyterlab: update to 4.4.1**
Includes #54482, #54488, #54489, #54631.
The jupyterlab update is slightly edited from #55101.
@dkwo
<!-- 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/55117.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-55117.patch --]
[-- Type: text/x-diff, Size: 53837 bytes --]
From f8d2fa6afb2709aef9e98064a81ac8bb1c280678 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:31:05 -0300
Subject: [PATCH 01/30] python3-jupyter_widgetsnbextension: update to 4.0.14.
---
srcpkgs/python3-jupyter_widgetsnbextension/template | 8 ++++----
srcpkgs/python3-jupyter_widgetsnbextension/update | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/template b/srcpkgs/python3-jupyter_widgetsnbextension/template
index 82146ccfd62d32..068b3364560be1 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/template
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/template
@@ -1,15 +1,15 @@
# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
-version=4.0.11
-revision=2
+version=4.0.14
+revision=1
build_style=python3-pep517
hostmakedepends="python3-jupyter_packaging"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
-homepage="https://pypi.org/project/widgetsnbextension/"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/widgetsnbextension"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
-checksum=8b22a8f1910bfd188e596fe7fc05dcbd87e810c8a4ba010bdb3da86637398474
+checksum=a3629b04e3edb893212df862038c7232f62973373869db5084aed739b437b5af
make_check=no # Upstream defines no tests
post_install() {
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/update b/srcpkgs/python3-jupyter_widgetsnbextension/update
index d6944b34c12eb0..0e9e4528c1915f 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/update
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/update
@@ -1,2 +1,3 @@
pkgname=widgetsnbextension
+site=https://pypi.org/simple/widgetsnbextension
ignore="*a* *b* *rc*"
From 840394bf5f897835bd48d2ccfe113b3e017c0bd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:36:50 -0300
Subject: [PATCH 02/30] New package: python3-jupyterlab_widgets-3.0.14
---
.../patches/no-jupyterlab.patch | 9 +++++++++
srcpkgs/python3-jupyterlab_widgets/template | 18 ++++++++++++++++++
srcpkgs/python3-jupyterlab_widgets/update | 3 +++
3 files changed, 30 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
create mode 100644 srcpkgs/python3-jupyterlab_widgets/template
create mode 100644 srcpkgs/python3-jupyterlab_widgets/update
diff --git a/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
new file mode 100644
index 00000000000000..7f78d11497f9ac
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
@@ -0,0 +1,9 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=4.0"]
++requires = ["jupyter_packaging~=0.10,<2"]
+ build-backend = "jupyter_packaging.build_api"
+
+ [tool.jupyter-packaging.options]
diff --git a/srcpkgs/python3-jupyterlab_widgets/template b/srcpkgs/python3-jupyterlab_widgets/template
new file mode 100644
index 00000000000000..b36a7642f2415d
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyterlab_widgets'
+pkgname=python3-jupyterlab_widgets
+version=3.0.14
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-jupyter_packaging"
+depends="python3"
+short_desc="Jupyter interactive widgets for JupyterLab"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/jupyterlab_widgets"
+distfiles="${PYPI_SITE}/j/jupyterlab_widgets/jupyterlab_widgets-${version}.tar.gz"
+checksum=bad03e59546869f026e537e0d170e454259e6dc7048e14041707ca31e523c8a1
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyterlab_widgets/update b/srcpkgs/python3-jupyterlab_widgets/update
new file mode 100644
index 00000000000000..8226cf8d087698
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/update
@@ -0,0 +1,3 @@
+pkgname=jupyterlab_widgets
+site=https://pypi.org/simple/jupyterlab_widgets
+ignore="*a* *b* *rc*"
From 19a347ceb713595ae476f0b76087d287137da23a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:39:43 -0300
Subject: [PATCH 03/30] python3-jupyter_ipywidgets: update to 8.1.6.
---
.../patches/pytest8.patch | 93 -------------------
srcpkgs/python3-jupyter_ipywidgets/template | 12 ++-
srcpkgs/python3-jupyter_ipywidgets/update | 1 +
3 files changed, 8 insertions(+), 98 deletions(-)
delete mode 100644 srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
diff --git a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch b/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
deleted file mode 100644
index 2f8499a3ae76b9..00000000000000
--- a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-See: https://github.com/jupyter-widgets/ipywidgets/pull/3903
-
-From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Thu, 11 Apr 2024 11:40:15 +0200
-Subject: [PATCH] Fix compatibility with pytest 8
-
-Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
----
- .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
- python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 -
- .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +-
- .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +-
- python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++---
- 5 files changed, 5 insertions(+), 8 deletions(-)
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-index 0dc7e5fcfc..feb1afe50c 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-@@ -19,8 +19,6 @@
- # Utility stuff
- #-----------------------------------------------------------------------------
-
--from .utils import setup, teardown
--
- def f(**kwargs):
- pass
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-index 0c92dfdcb2..9301764d40 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-@@ -4,7 +4,6 @@
- import pytest
-
- from .. import jslink, jsdlink, ToggleButton
--from .utils import setup, teardown
-
- def test_jslink_args():
- with pytest.raises(TypeError):
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-index ec18ae4af1..98465b9b7d 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-@@ -3,7 +3,7 @@
-
- from traitlets import Bool, Tuple, List
-
--from .utils import setup, teardown, DummyComm
-+from .utils import setup
-
- from ..widget import Widget
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-index 82ecbd9311..22ec54d90f 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-@@ -6,7 +6,7 @@
-
- from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
-
--from .utils import setup, teardown
-+from .utils import setup
-
- import ipywidgets
- from ipywidgets import Widget
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/utils.py b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-index 260485e3f8..8dbbcb355b 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-@@ -12,7 +12,7 @@
- NEW_COMM_PACKAGE = False
-
- import ipykernel.comm
--
-+import pytest
-
- class DummyComm():
- comm_id = 'a-b-c-d'
-@@ -87,10 +87,10 @@ def teardown_test_comm():
- setattr(Widget, attr, value)
- _widget_attrs.clear()
-
-+@pytest.fixture(autouse=True)
- def setup():
- setup_test_comm()
--
--def teardown():
-+ yield
- teardown_test_comm()
-
- def call_method(method, *args, **kwargs):
diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index da7840682a6178..0df8341d1e1814 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,18 +1,20 @@
# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
-version=8.1.3
-revision=2
+version=8.1.6
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
-depends="python3-ipython_ipykernel python3-jupyter_widgetsnbextension"
-checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
+depends="python3-comm python3-ipython python3-traitlets
+ python3-jupyter_widgetsnbextension python3-jupyterlab_widgets"
+checkdepends="$depends python3-pytest python3-jsonschema python3-pytz
+ python3-ipython_ipykernel"
short_desc="IPython widgets for the Jupyter notebook"
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=f5f9eeaae082b1823ce9eac2575272952f40d748893972956dc09700a6392d9c
+checksum=d8ace49c66f14419fc66071371b99d01bed230bbc15d8a60233b18bfbd782851
# main repo `.../python/ipywidgets/ipywidgets/` is `.../ipywidgets/` here
patch_args=-Np3
diff --git a/srcpkgs/python3-jupyter_ipywidgets/update b/srcpkgs/python3-jupyter_ipywidgets/update
index 44da8f2e3c582e..eb8d6c97887770 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/update
+++ b/srcpkgs/python3-jupyter_ipywidgets/update
@@ -1,2 +1,3 @@
pkgname=ipywidgets
+site=https://pypi.org/simple/ipywidgets
ignore="*a* *b* *rc*"
From 4f132e1f9a347bf64613104f957f92d53f845e78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:12:02 -0300
Subject: [PATCH 04/30] python3-pytest-asyncio: update to 0.26.0.
---
srcpkgs/python3-pytest-asyncio/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template
index f1ca23d6a818d5..4d067f0213566f 100644
--- a/srcpkgs/python3-pytest-asyncio/template
+++ b/srcpkgs/python3-pytest-asyncio/template
@@ -1,6 +1,6 @@
# Template file for 'python3-pytest-asyncio'
pkgname=python3-pytest-asyncio
-version=0.25.3
+version=0.26.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
@@ -12,7 +12,7 @@ license="Apache-2.0"
homepage="https://github.com/pytest-dev/pytest-asyncio"
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst"
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest_asyncio-${version}.tar.gz"
-checksum=fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a
+checksum=c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (bind to a tcp address)
From 759fcaec0cb00d43171c2a3a65fbf74062678bf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:39 -0300
Subject: [PATCH 05/30] python3-xmltodict: update to 0.14.2.
---
srcpkgs/python3-xmltodict/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-xmltodict/template b/srcpkgs/python3-xmltodict/template
index cf444ee312210f..abe56821b12a5e 100644
--- a/srcpkgs/python3-xmltodict/template
+++ b/srcpkgs/python3-xmltodict/template
@@ -1,8 +1,8 @@
# Template file for 'python3-xmltodict'
pkgname=python3-xmltodict
-version=0.13.0
-revision=3
-build_style=python3-module
+version=0.14.2
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/martinblech/xmltodict"
changelog="https://raw.githubusercontent.com/martinblech/xmltodict/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz"
-checksum=341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56
+checksum=201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553
post_install() {
vlicense LICENSE
From 13460243f5684d43d2d31c4461f7d5e02023754d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:44 -0300
Subject: [PATCH 06/30] python3-nbclient: update to 0.10.2.
---
srcpkgs/python3-nbclient/template | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index 3bf13e904a1d0c..b2666af9d1a1d9 100644
--- a/srcpkgs/python3-nbclient/template
+++ b/srcpkgs/python3-nbclient/template
@@ -1,25 +1,21 @@
# Template file for 'python3-nbclient'
pkgname=python3-nbclient
-version=0.10.0
-revision=2
+version=0.10.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-jupyter_client python3-jupyter_nbformat"
+depends="python3-jupyter_client python3-jupyter_core python3-jupyter_nbformat
+ python3-traitlets"
checkdepends="$depends python3-pytest-asyncio python3-testpath
- python3-flaky python3-jupyter_ipywidgets python3-xmltodict"
+ python3-flaky python3-jupyter_ipywidgets python3-xmltodict
+ python3-ipython_ipykernel python3-jupyter_nbconvert"
short_desc="Client library for executing Jupyter notebooks"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09
-make_check=extended # avoid a circular dependency
-
-if [ "$XBPS_CHECK_PKGS" = full ]; then
- # this would cause a build-time circular dependency
- checkdepends+=" python3-jupyter_nbconvert"
-fi
+checksum=90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193
post_install() {
vlicense LICENSE
From 1134b9199d8cd0d89425438fcb26c648418a7c22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:37:47 -0300
Subject: [PATCH 07/30] python3-lxml: update to 5.4.0.
---
.../patches/fix-encoding-tests-musl.patch | 19 -------------------
srcpkgs/python3-lxml/template | 12 ++++++------
2 files changed, 6 insertions(+), 25 deletions(-)
delete mode 100644 srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
diff --git a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch b/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
deleted file mode 100644
index e2d0e3b36bd572..00000000000000
--- a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/3f64a63298ac78f5f2a50a52e3e3f01eef1b51ce/main/py3-lxml/tests-fix-encoding-name.patch
-
-diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
-index 3162155..43b79d7 100644
---- a/src/lxml/tests/test_incremental_xmlfile.py
-+++ b/src/lxml/tests/test_incremental_xmlfile.py
-@@ -177,10 +177,10 @@ class _XmlFileTestCaseBase(HelperTestCase):
- '<test>Comments: <!-- text -->\nEntities: &amp;</test>')
-
- def test_encoding(self):
-- with etree.xmlfile(self._file, encoding='utf16') as xf:
-+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
- with xf.element('test'):
- xf.write('toast')
-- self.assertXml('<test>toast</test>', encoding='utf16')
-+ self.assertXml('<test>toast</test>', encoding='utf-16')
-
- def test_buffering(self):
- with etree.xmlfile(self._file, buffered=False) as xf:
diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 32ac3828139320..8fdf77220f37a5 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,10 +1,10 @@
# Template file for 'python3-lxml'
pkgname=python3-lxml
-version=5.3.0
-revision=2
-build_style=python3-module
-make_build_args="--with-cython"
-hostmakedepends="python3-Cython python3-setuptools"
+version=5.4.0
+revision=1
+build_style=python3-pep517
+make_build_args="-C--build-option=--with-cython"
+hostmakedepends="python3-Cython python3-setuptools python3-wheel"
makedepends="libxslt-devel python3-devel"
depends="python3"
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
@@ -14,7 +14,7 @@ license="BSD-3-Clause, custom:ElementTree"
homepage="https://lxml.de/"
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=eb22f7ceb319c29247cfa398435d00e6286d19a32b4870b67a8e9a38d72f2ebd
+checksum=12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2
do_check() {
make test
From 236f8672678c359cfb71dbf096e9ca66b3ed55f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:47:25 -0300
Subject: [PATCH 08/30] python3-soupsieve: update to 2.7.
---
srcpkgs/python3-soupsieve/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-soupsieve/template b/srcpkgs/python3-soupsieve/template
index 107604fec169b0..6e645de8048b71 100644
--- a/srcpkgs/python3-soupsieve/template
+++ b/srcpkgs/python3-soupsieve/template
@@ -1,7 +1,7 @@
# Template file for 'python3-soupsieve'
pkgname=python3-soupsieve
-version=2.4.1
-revision=3
+version=2.7
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
@@ -11,8 +11,9 @@ short_desc="CSS4 selector implementation for Python3 Beautiful Soup"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://facelessuser.github.io/soupsieve/"
+changelog="https://raw.githubusercontent.com/facelessuser/soupsieve/refs/heads/main/docs/src/markdown/about/changelog.md"
distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz"
-checksum=89d12b2d5dfcd2c9e8c22326da9d9aa9cb3dfab0a83a024f05704076ee8d35ea
+checksum=ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a
post_install() {
vlicense LICENSE.md
From 73bc6961a0fe0727c2035ba100a3175ed13b94ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:51:48 -0300
Subject: [PATCH 09/30] python3-BeautifulSoup4: update to 4.13.4.
---
srcpkgs/python3-BeautifulSoup4/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 364445f875e54c..3bb906b2405f17 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,10 +1,10 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.12.2
-revision=3
+version=4.13.4
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-soupsieve"
+depends="python3-soupsieve python3-typing_extensions"
checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
+checksum=dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195
post_install() {
vlicense LICENSE
From 22a3d42e8153426bdc0121bffc22935b11e02117 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:07 -0300
Subject: [PATCH 10/30] python3-six: update to 1.17.0.
---
srcpkgs/python3-six/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-six/template b/srcpkgs/python3-six/template
index 2299770fb153c2..19b0812b9fd4e1 100644
--- a/srcpkgs/python3-six/template
+++ b/srcpkgs/python3-six/template
@@ -1,8 +1,8 @@
# Template file for 'python3-six'
pkgname=python3-six
-version=1.16.0
-revision=5
-build_style=python3-module
+version=1.17.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
-checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
+checksum=ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
post_install() {
vlicense LICENSE
From 02fa2dd0fc2a427db833de47389d7346c31ad601 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:22 -0300
Subject: [PATCH 11/30] python3-bleach: update to 6.2.0.
---
srcpkgs/python3-bleach/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index 8cf2201528c939..82f2797e85784b 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,7 +1,7 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=6.0.0
-revision=3
+version=6.2.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-six python3-webencodings"
@@ -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=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
+checksum=123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f
From 23d1821df35cb18d58c8bce7f83207d0a6033c1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:26 -0300
Subject: [PATCH 12/30] python3-mistune: update to 3.1.3.
---
srcpkgs/python3-mistune/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-mistune/template b/srcpkgs/python3-mistune/template
index 828db5643c7a2e..2aba5c34737737 100644
--- a/srcpkgs/python3-mistune/template
+++ b/srcpkgs/python3-mistune/template
@@ -1,7 +1,7 @@
# Template file for 'python3-mistune'
pkgname=python3-mistune
-version=3.0.2
-revision=2
+version=3.1.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://mistune.lepture.com/"
changelog="https://raw.githubusercontent.com/lepture/mistune/master/docs/changes.rst"
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
-checksum=fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8
+checksum=a7035c21782b2becb6be62f8f25d3df81ccb4d6fa477a6525b15af06539f02a0
post_install() {
vlicense LICENSE
From f75a4d9c4fc58bcbf1e14960242d025b7d3c9eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:30 -0300
Subject: [PATCH 13/30] python3-pandocfilters: update to 1.5.1.
---
srcpkgs/python3-pandocfilters/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-pandocfilters/template b/srcpkgs/python3-pandocfilters/template
index 45e58c9c94ddeb..ab7efec72a7899 100644
--- a/srcpkgs/python3-pandocfilters/template
+++ b/srcpkgs/python3-pandocfilters/template
@@ -1,8 +1,8 @@
# Template file for 'python3-pandocfilters'
pkgname=python3-pandocfilters
-version=1.5.0
-revision=2
-build_style=python3-module
+version=1.5.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 module for writing pandoc filters"
@@ -10,7 +10,8 @@ maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="http://github.com/jgm/pandocfilters"
distfiles="${PYPI_SITE}/p/pandocfilters/pandocfilters-${version}.tar.gz"
-checksum=0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38
+checksum=002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e
+make_check=no # Upstream defines no tests
post_install() {
vlicense LICENSE
From 922d2154731dcab3e6692134d9219fdc5c0b7fdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 11:45:59 -0300
Subject: [PATCH 14/30] hooks/pre-pkg/06-verify-python-deps: support
alternative packages
---
common/scripts/parse-py-metadata.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/common/scripts/parse-py-metadata.py b/common/scripts/parse-py-metadata.py
index 0d9384bf7ef36c..909244d80804f1 100644
--- a/common/scripts/parse-py-metadata.py
+++ b/common/scripts/parse-py-metadata.py
@@ -123,7 +123,8 @@ def parse_depends(args):
pkg = getpkgname(pkgver)
vpkg = map(getpkgname, vpkgvers.split())
for v in vpkg:
- vpkgs[v] = pkg
+ if pkg not in vpkgs.setdefault(v, []):
+ vpkgs[v].append(pkg)
if args.rdeps.exists():
with args.rdeps.open() as f:
@@ -149,12 +150,17 @@ def parse_depends(args):
missing = []
for k in depends.keys():
if k in vpkgs.keys():
- pkgname = vpkgs[k]
- if pkgname in rdeps:
- print(f" PYTHON: {k} <-> {pkgname}", flush=True)
- elif pkgname in global_ignore:
- print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ for pkgname in vpkgs[k]:
+ if pkgname in rdeps:
+ print(f" PYTHON: {k} <-> {pkgname}", flush=True)
+ break
+ elif pkgname in global_ignore:
+ print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ break
else:
+ pkgname = " OR ".join(vpkgs[k])
+ if len(vpkgs[k]) > 1:
+ pkgname = "(" + pkgname + ")"
msg_err(f" PYTHON: {k} <-> {pkgname} NOT IN depends PLEASE FIX!",
nocolor=args.nocolor, strict=args.strict)
missing.append(pkgname)
From 459cb98738db53d112e783f94e09dec2fcf2472c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:10:39 -0300
Subject: [PATCH 15/30] python3-jupyter_nbconvert: update to 7.16.6.
---
srcpkgs/python3-jupyter_nbconvert/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index 3bf3da5423c28b..1f6a1be11d816d 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,23 +1,23 @@
# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
-version=7.16.4
-revision=2
+version=7.16.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
python3-MarkupSafe python3-mistune python3-nbclient
python3-jupyter_nbformat python3-packaging python3-pandocfilters
- python3-tinycss2"
-checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
- asciidoc inkscape pandoc python3-flaky python3-PyQt5"
+ python3-Pygments python3-traitlets python3-tinycss2"
+checkdepends="$depends python3-pytest-xdist python3-jupyter_ipywidgets
+ asciidoc inkscape pandoc python3-flaky python3-PyQt5 python3-ipython_ipykernel"
short_desc="Converting Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=86ca91ba266b0a448dc96fa6c5b9d98affabde2867b363258703536807f9f7f4
+checksum=576a7e37c6480da7b8465eefa66c17844243816ce1ccc372633c6b71c3c0f582
pre_check() {
# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
From 00518c8cbc176e506011861d6a3796ebaedf90db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:01 -0300
Subject: [PATCH 16/30] python3-attrs: update to 25.3.0.
---
srcpkgs/python3-attrs/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template
index c896dd4a9ae070..220008c24762c9 100644
--- a/srcpkgs/python3-attrs/template
+++ b/srcpkgs/python3-attrs/template
@@ -1,6 +1,6 @@
# Template file for 'python3-attrs'
pkgname=python3-attrs
-version=25.1.0
+version=25.3.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools hatch-vcs hatch-fancy-pypi-readme"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://attrs.readthedocs.io/"
changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
-checksum=1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e
+checksum=75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b
post_install() {
vlicense LICENSE
From bc0e3821909de6811514eeb11364b1cc52a7402d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:04 -0300
Subject: [PATCH 17/30] python3-rpds-py: update to 0.24.0.
---
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 74677c89ee56d5..072f1a7f4d9c2b 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.23.1
+version=0.24.0
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=7f3240dcfa14d198dba24b8b9cb3b108c06b68d45b7babd9eefc1038fdf7e707
+checksum=772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e
post_install() {
vlicense LICENSE
From 92872e1e9eb6419b8fc3e570115ae35e77124c79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:26:34 -0300
Subject: [PATCH 18/30] python3-jupyter_events: update to 0.12.0.
---
.../python3-jupyter_events/patches/fix-dep.patch | 15 +++++++++++++++
srcpkgs/python3-jupyter_events/template | 9 +++++----
2 files changed, 20 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-jupyter_events/patches/fix-dep.patch
diff --git a/srcpkgs/python3-jupyter_events/patches/fix-dep.patch b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
new file mode 100644
index 00000000000000..c96f3c211597dd
--- /dev/null
+++ b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
@@ -0,0 +1,15 @@
+We don't have all dependencies required for `jsonschema[format-nongpl]`.
+However, `rfc3339-validator` and `rfc3986-validator` seem enough, and
+we do have them listed in `depends=`.
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -24,7 +24,7 @@
+ ]
+ dependencies = [
+ "referencing",
+- "jsonschema[format-nongpl]>=4.18.0",
++ "jsonschema>=4.18.0",
+ "python-json-logger>=2.0.4",
+ "pyyaml>=5.3",
+ "traitlets>=5.3",
diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
index f1191124ca7f32..63a6aaa7a988be 100644
--- a/srcpkgs/python3-jupyter_events/template
+++ b/srcpkgs/python3-jupyter_events/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_events'
pkgname=python3-jupyter_events
-version=0.10.0
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-jsonschema python3-json-logger python3-yaml python3-traitlets
- python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator"
+ python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator
+ python3-packaging python3-referencing"
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>"
@@ -13,7 +14,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=670b8229d3cc882ec782144ed22e0d29e1c2d639263f92ca8383e66682845e22
+checksum=fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b
post_install() {
vlicense LICENSE
From 445cb671f88f49dcb7ca53a437ea69746f76657b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:20:08 -0300
Subject: [PATCH 19/30] New package: python3-forbiddenfruit-0.1.4
---
srcpkgs/python3-forbiddenfruit/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-forbiddenfruit/template
diff --git a/srcpkgs/python3-forbiddenfruit/template b/srcpkgs/python3-forbiddenfruit/template
new file mode 100644
index 00000000000000..fcfe09af6dc6f4
--- /dev/null
+++ b/srcpkgs/python3-forbiddenfruit/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-forbiddenfruit'
+pkgname=python3-forbiddenfruit
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Patch python built-in objects"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later OR MIT"
+homepage="https://github.com/clarete/forbiddenfruit"
+changelog="https://github.com/clarete/forbiddenfruit/releases"
+distfiles="${PYPI_SITE}/f/forbiddenfruit/forbiddenfruit-${version}.tar.gz"
+checksum=e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253
+make_check=no # Tests require removed python3-nose
+
+post_install() {
+ vlicense COPYING.mit
+}
From 2986688b5189a744c79580a4a8f67db155ac8f02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:25:30 -0300
Subject: [PATCH 20/30] New package: python3-blockbuster-1.5.24
---
srcpkgs/python3-blockbuster/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-blockbuster/template
diff --git a/srcpkgs/python3-blockbuster/template b/srcpkgs/python3-blockbuster/template
new file mode 100644
index 00000000000000..22aed76d4562ee
--- /dev/null
+++ b/srcpkgs/python3-blockbuster/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-blockbuster'
+pkgname=python3-blockbuster
+version=1.5.24
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-forbiddenfruit"
+checkdepends="$depends python3-pytest-asyncio python3-requests"
+short_desc="Utility to detect blocking calls in the async event loop"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/cbornet/blockbuster"
+changelog="https://github.com/cbornet/blockbuster/releases"
+distfiles="${PYPI_SITE}/b/blockbuster/blockbuster-${version}.tar.gz"
+checksum=97645775761a5d425666ec0bc99629b65c7eccdc2f770d2439850682567af4ec
From c24f3b4f65a8c9e04da67f98c15f7fbad181ebf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Mar 2025 16:44:57 -0300
Subject: [PATCH 21/30] python3-anyio: update to 4.9.0.
---
srcpkgs/python3-anyio/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
index 13776f697758c2..344c887c3ed3cb 100644
--- a/srcpkgs/python3-anyio/template
+++ b/srcpkgs/python3-anyio/template
@@ -1,21 +1,21 @@
# Template file for 'python3-anyio'
pkgname=python3-anyio
-version=4.4.0
-revision=2
+version=4.9.0
+revision=1
build_style=python3-pep517
# This file needs python module `exceptiongroup`
make_check_args="--ignore tests/test_taskgroups.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-sniffio python3-idna"
-checkdepends="$depends python3-pytest-mock python3-hypothesis
- python3-psutil python3-trio python3-trustme python3-uvloop"
+checkdepends="$depends python3-pytest-mock python3-hypothesis python3-psutil
+ python3-trio python3-trustme python3-uvloop python3-blockbuster"
short_desc="High level asynchronous concurrency and networking framework"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/agronholm/anyio"
changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst"
distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
-checksum=5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94
+checksum=673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI
From e4bce8f7438486752ff47b1bd5674d46029ba340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:33:57 -0300
Subject: [PATCH 22/30] python3-jupyter_server: update to 2.15.0.
---
srcpkgs/python3-jupyter_server/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index a91e9f0ea23c76..d9132a12bd9a25 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,14 +1,14 @@
# Template file for 'python3-jupyter_server'
pkgname=python3-jupyter_server
-version=2.14.2
-revision=2
+version=2.15.0
+revision=1
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"
+depends="python3-anyio python3-argon2 python3-Jinja2 python3-jupyter_client
+ python3-jupyter_core python3-jupyter_events python3-jupyter_server_terminals
+ python3-jupyter_nbconvert python3-jupyter_nbformat python3-overrides
+ python3-packaging python3-prometheus_client python3-pyzmq python3-send2trash
+ python3-terminado python3-tornado python3-traitlets python3-websocket-client"
checkdepends="$depends pandoc python3-ipython_ipykernel
python3-pytest-console-scripts python3-pytest-jupyter
python3-pytest-xdist python3-requests python3-flaky"
@@ -18,7 +18,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=66095021aa9638ced276c248b1d81862e4c50f292d575920bbe960de1c56b12b
+checksum=9d446b8697b4f7337a1b7cdcac40778babdd93ba614b6d68ab1c0c918f1c4084
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (connect to a tcp address)
From a13b86aa86bd1f35cb6efb32d59f5c9ea93920ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:26:16 -0300
Subject: [PATCH 23/30] python3-coverage: update to 7.8.0.
---
srcpkgs/python3-coverage/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template
index 88a586aba90760..d39d0605041df4 100644
--- a/srcpkgs/python3-coverage/template
+++ b/srcpkgs/python3-coverage/template
@@ -1,8 +1,10 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
-version=7.6.12
+version=7.8.0
revision=1
build_style=python3-pep517
+# this counts files but our installed package has fewer files
+make_check_args="--deselect tests/test_testing.py::test_all_our_source_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis"
@@ -12,7 +14,7 @@ license="Apache-2.0"
homepage="https://github.com/nedbat/coveragepy"
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
-checksum=48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2
+checksum=7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501
pre_check() {
# required setup, see tox.ini
@@ -26,7 +28,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -m installer dist/*.whl
- PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
+ PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
+ ${make_check_args} ${make_check_target}
}
post_install() {
From 13a948426e7363a359f69cce7d74bbc525d00420 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 17:53:51 -0300
Subject: [PATCH 24/30] python3-pytest-cov: update to 6.1.1.
---
srcpkgs/python3-pytest-cov/template | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index cbf51bbbf4ad8f..5b6f92d7e21edf 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,11 +1,8 @@
# Template file for 'python3-pytest-cov'
pkgname=python3-pytest-cov
-version=5.0.0
-revision=2
+version=6.1.1
+revision=1
build_style=python3-pep517
-# this test fails with python3-coverage >= 7.6
-make_check_args="
- --deselect tests/test_pytest_cov.py::test_term_report_does_not_interact_with_html_output"
hostmakedepends="python3-setuptools"
depends="python3-pytest python3-coverage"
checkdepends="$depends python3-fields python3-process-tests
@@ -15,8 +12,8 @@ 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=5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857
+distfiles="${PYPI_SITE}/p/pytest-cov/pytest_cov-${version}.tar.gz"
+checksum=46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a
do_check() {
# Running via PYTHONPATH breaks a few tests so we use a venv
@@ -25,9 +22,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -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}
+ PYTHONPATH="/${py3_sitelib}" PYTHONUSERBASE=/usr \
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
${make_check_args} ${make_check_target}
}
From f9d4d3a5e250663474951199ff5aff6d74f05d91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:07:48 -0300
Subject: [PATCH 25/30] python3-json5: update to 0.12.0.
---
srcpkgs/python3-json5/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
index a0656d05038ff5..2d9bfebb90fb78 100644
--- a/srcpkgs/python3-json5/template
+++ b/srcpkgs/python3-json5/template
@@ -1,7 +1,7 @@
# Template file for 'python3-json5'
pkgname=python3-json5
-version=0.9.25
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -11,4 +11,4 @@ maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>
license="Apache-2.0"
homepage="https://github.com/dpranke/pyjson5"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
-checksum=a31db9a7d2cd102051e27efd519b9670a3b6be7b9d951145637c0a3e2350e141
+checksum=39b21785fc12c61716a3634b466e3faffc5c679148c2d9cbbef9cc0c15772b6f
From aaf524bd8faa37f1cc0d40b0ec70dabf7051172c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:10:11 -0300
Subject: [PATCH 26/30] python3-async-lru: update to 2.0.5.
---
srcpkgs/python3-async-lru/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
index 96456af4a55a51..68439569f5fac0 100644
--- a/srcpkgs/python3-async-lru/template
+++ b/srcpkgs/python3-async-lru/template
@@ -1,7 +1,7 @@
# Template file for 'python3-async-lru'
pkgname=python3-async-lru
-version=2.0.4
-revision=3
+version=2.0.5
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-typing_extensions"
@@ -12,8 +12,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/aio-libs/async-lru"
changelog="https://raw.githubusercontent.com/aio-libs/async-lru/master/CHANGES.rst"
-distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
-checksum=b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627
+distfiles="${PYPI_SITE}/a/async-lru/async_lru-${version}.tar.gz"
+checksum=481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb
post_install() {
vlicense LICENSE
From 47b543f0dfc5e6deca3e3c116c04f249d0a7c996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 1 May 2025 21:13:11 -0300
Subject: [PATCH 27/30] python3-h11: update to 0.16.0.
---
srcpkgs/python3-h11/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-h11/template b/srcpkgs/python3-h11/template
index 2fc75c07290e11..aaf4032d6e8541 100644
--- a/srcpkgs/python3-h11/template
+++ b/srcpkgs/python3-h11/template
@@ -1,8 +1,8 @@
# Template file for 'python3-h11'
pkgname=python3-h11
-version=0.14.0
-revision=3
-build_style=python3-module
+version=0.16.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/python-hyper/h11"
distfiles="https://github.com/python-hyper/h11/archive/v${version}.tar.gz"
-checksum=d65a85d094b76846653fa7c3b45abdaf8b4f055c643bb6eec623f1311636a474
+checksum=d164114d09552ea887b5c9ed206d5a8e5bc0bf07d33e07a32622f91f102182c2
post_install() {
vlicense LICENSE.txt
From c295cc37b757155db150c0828a473fa774907e47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:32:49 -0300
Subject: [PATCH 28/30] New package: python3-jupyter-lsp-2.2.5
---
srcpkgs/python3-jupyter-lsp/template | 24 ++++++++++++++++++++++++
srcpkgs/python3-jupyter-lsp/update | 3 +++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/python3-jupyter-lsp/template
create mode 100644 srcpkgs/python3-jupyter-lsp/update
diff --git a/srcpkgs/python3-jupyter-lsp/template b/srcpkgs/python3-jupyter-lsp/template
new file mode 100644
index 00000000000000..9114c2dd667ae8
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-jupyter-lsp'
+pkgname=python3-jupyter-lsp
+version=2.2.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_server"
+checkdepends="$depends python3-pytest"
+short_desc="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyter-lsp/jupyter-lsp-${version}.tar.gz"
+checksum=793147a05ad446f809fd53ef1cd19a9f5256fd0a2d6b7ce943a982cb4f545001
+
+# This test needs R package languageserver which we don't have
+make_check_args="
+ --deselect jupyter_lsp/tests/test_detect.py::test_r_package_detection"
+
+post_install() {
+ mv ${DESTDIR}/usr/etc ${DESTDIR}
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyter-lsp/update b/srcpkgs/python3-jupyter-lsp/update
new file mode 100644
index 00000000000000..31ba62a576d642
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/update
@@ -0,0 +1,3 @@
+# override since the github also contains jupyterlab-server tags
+site=https://pypi.org/simple/jupyter-lsp
+pkgname=jupyter-lsp
From 7a335b0813af6e861f88b536a76589d46db78453 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:44:54 -0300
Subject: [PATCH 29/30] New package: python3-jupyterlab-lsp-5.1.0
---
srcpkgs/python3-jupyterlab-lsp/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab-lsp/template
diff --git a/srcpkgs/python3-jupyterlab-lsp/template b/srcpkgs/python3-jupyterlab-lsp/template
new file mode 100644
index 00000000000000..7835a6bb8b6d93
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab-lsp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab-lsp'
+pkgname=python3-jupyterlab-lsp
+version=5.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter-lsp jupyterlab"
+short_desc="Coding assistance for JupyterLab with Language Server Protocol"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyterlab-lsp/jupyterlab-lsp-${version}.tar.gz"
+checksum=aeac84093ada6d20ef57ae0e97811cc5796a0cab7237b32f8eddf993c0bb0356
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
From 7b493c1656fd91a5c6682ef3d465ed71a6d1d63b Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Thu, 17 Apr 2025 14:54:30 -0400
Subject: [PATCH 30/30] jupyterlab: update to 4.4.1.
---
srcpkgs/jupyterlab/template | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 4782370a75598d..cb263d61a94535 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,21 +1,23 @@
# Template file for 'jupyterlab'
pkgname=jupyterlab
-version=4.2.4
-revision=2
+version=4.4.1
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
depends="nodejs python3-async-lru python3-httpx python3-ipython_ipykernel
- python3-jupyterlab_server python3-notebook_shim"
-checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
+ python3-Jinja2 python3-jupyter_core python3-jupyter_server python3-tornado
+ python3-packaging python3-setuptools python3-jupyter-lsp
+ python3-traitlets python3-jupyterlab_server python3-notebook_shim"
+checkdepends="${depends} python3-pytest-jupyter python3-pytest-xdist"
short_desc="JupyterLab computational environment"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=343a979fb9582fd08c8511823e320703281cd072a0049bcdafdc7afeda7f2537
+checksum=c75c4f33056fbd84f0b31eb44622a00c7a5f981b85adfeb198a83721f0465808
-if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
+if [ "${XBPS_BUILD_ENVIRONMENT}" = void-packages-ci ]; then
# this test fails on CI (network timeout)
make_check_args="
--deselect=jupyterlab/tests/test_build_api.py::TestBuildAPI
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PR PATCH] [Updated] jupyterlab: update to 4.4.1 (and deps)
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (5 preceding siblings ...)
2025-05-02 0:33 ` [PR PATCH] [Updated] jupyterlab: update to 4.4.1 (and deps) tornaria
@ 2025-05-05 0:18 ` tornaria
2025-05-05 15:30 ` tornaria
` (8 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-05-05 0:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1674 bytes --]
There is an updated 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/55117
jupyterlab: update to 4.4.1 (and deps)
- **python3-coverage: update to 7.8.0.**
- **python3-pytest-cov: update to 6.1.1.**
- **python3-json5: update to 0.12.0.**
- **python3-async-lru: update to 2.0.5.**
- **New package: python3-jupyter-lsp-2.2.5**
- **New package: python3-jupyterlab-lsp-5.1.0**
- **jupyterlab: update to 4.4.1**
Includes #54482, #54488, #54489, #54631.
The jupyterlab update is slightly edited from #55101.
@dkwo
<!-- 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/55117.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-55117.patch --]
[-- Type: text/x-diff, Size: 63776 bytes --]
From f8d2fa6afb2709aef9e98064a81ac8bb1c280678 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:31:05 -0300
Subject: [PATCH 01/36] python3-jupyter_widgetsnbextension: update to 4.0.14.
---
srcpkgs/python3-jupyter_widgetsnbextension/template | 8 ++++----
srcpkgs/python3-jupyter_widgetsnbextension/update | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/template b/srcpkgs/python3-jupyter_widgetsnbextension/template
index 82146ccfd62d32..068b3364560be1 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/template
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/template
@@ -1,15 +1,15 @@
# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
-version=4.0.11
-revision=2
+version=4.0.14
+revision=1
build_style=python3-pep517
hostmakedepends="python3-jupyter_packaging"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
-homepage="https://pypi.org/project/widgetsnbextension/"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/widgetsnbextension"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
-checksum=8b22a8f1910bfd188e596fe7fc05dcbd87e810c8a4ba010bdb3da86637398474
+checksum=a3629b04e3edb893212df862038c7232f62973373869db5084aed739b437b5af
make_check=no # Upstream defines no tests
post_install() {
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/update b/srcpkgs/python3-jupyter_widgetsnbextension/update
index d6944b34c12eb0..0e9e4528c1915f 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/update
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/update
@@ -1,2 +1,3 @@
pkgname=widgetsnbextension
+site=https://pypi.org/simple/widgetsnbextension
ignore="*a* *b* *rc*"
From 840394bf5f897835bd48d2ccfe113b3e017c0bd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:36:50 -0300
Subject: [PATCH 02/36] New package: python3-jupyterlab_widgets-3.0.14
---
.../patches/no-jupyterlab.patch | 9 +++++++++
srcpkgs/python3-jupyterlab_widgets/template | 18 ++++++++++++++++++
srcpkgs/python3-jupyterlab_widgets/update | 3 +++
3 files changed, 30 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
create mode 100644 srcpkgs/python3-jupyterlab_widgets/template
create mode 100644 srcpkgs/python3-jupyterlab_widgets/update
diff --git a/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
new file mode 100644
index 00000000000000..7f78d11497f9ac
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/patches/no-jupyterlab.patch
@@ -0,0 +1,9 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=4.0"]
++requires = ["jupyter_packaging~=0.10,<2"]
+ build-backend = "jupyter_packaging.build_api"
+
+ [tool.jupyter-packaging.options]
diff --git a/srcpkgs/python3-jupyterlab_widgets/template b/srcpkgs/python3-jupyterlab_widgets/template
new file mode 100644
index 00000000000000..b36a7642f2415d
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyterlab_widgets'
+pkgname=python3-jupyterlab_widgets
+version=3.0.14
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-jupyter_packaging"
+depends="python3"
+short_desc="Jupyter interactive widgets for JupyterLab"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/jupyterlab_widgets"
+distfiles="${PYPI_SITE}/j/jupyterlab_widgets/jupyterlab_widgets-${version}.tar.gz"
+checksum=bad03e59546869f026e537e0d170e454259e6dc7048e14041707ca31e523c8a1
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyterlab_widgets/update b/srcpkgs/python3-jupyterlab_widgets/update
new file mode 100644
index 00000000000000..8226cf8d087698
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/update
@@ -0,0 +1,3 @@
+pkgname=jupyterlab_widgets
+site=https://pypi.org/simple/jupyterlab_widgets
+ignore="*a* *b* *rc*"
From 19a347ceb713595ae476f0b76087d287137da23a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:39:43 -0300
Subject: [PATCH 03/36] python3-jupyter_ipywidgets: update to 8.1.6.
---
.../patches/pytest8.patch | 93 -------------------
srcpkgs/python3-jupyter_ipywidgets/template | 12 ++-
srcpkgs/python3-jupyter_ipywidgets/update | 1 +
3 files changed, 8 insertions(+), 98 deletions(-)
delete mode 100644 srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
diff --git a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch b/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
deleted file mode 100644
index 2f8499a3ae76b9..00000000000000
--- a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-See: https://github.com/jupyter-widgets/ipywidgets/pull/3903
-
-From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Thu, 11 Apr 2024 11:40:15 +0200
-Subject: [PATCH] Fix compatibility with pytest 8
-
-Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
----
- .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
- python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 -
- .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +-
- .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +-
- python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++---
- 5 files changed, 5 insertions(+), 8 deletions(-)
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-index 0dc7e5fcfc..feb1afe50c 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-@@ -19,8 +19,6 @@
- # Utility stuff
- #-----------------------------------------------------------------------------
-
--from .utils import setup, teardown
--
- def f(**kwargs):
- pass
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-index 0c92dfdcb2..9301764d40 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-@@ -4,7 +4,6 @@
- import pytest
-
- from .. import jslink, jsdlink, ToggleButton
--from .utils import setup, teardown
-
- def test_jslink_args():
- with pytest.raises(TypeError):
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-index ec18ae4af1..98465b9b7d 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-@@ -3,7 +3,7 @@
-
- from traitlets import Bool, Tuple, List
-
--from .utils import setup, teardown, DummyComm
-+from .utils import setup
-
- from ..widget import Widget
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-index 82ecbd9311..22ec54d90f 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-@@ -6,7 +6,7 @@
-
- from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
-
--from .utils import setup, teardown
-+from .utils import setup
-
- import ipywidgets
- from ipywidgets import Widget
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/utils.py b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-index 260485e3f8..8dbbcb355b 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-@@ -12,7 +12,7 @@
- NEW_COMM_PACKAGE = False
-
- import ipykernel.comm
--
-+import pytest
-
- class DummyComm():
- comm_id = 'a-b-c-d'
-@@ -87,10 +87,10 @@ def teardown_test_comm():
- setattr(Widget, attr, value)
- _widget_attrs.clear()
-
-+@pytest.fixture(autouse=True)
- def setup():
- setup_test_comm()
--
--def teardown():
-+ yield
- teardown_test_comm()
-
- def call_method(method, *args, **kwargs):
diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index da7840682a6178..0df8341d1e1814 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,18 +1,20 @@
# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
-version=8.1.3
-revision=2
+version=8.1.6
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
-depends="python3-ipython_ipykernel python3-jupyter_widgetsnbextension"
-checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
+depends="python3-comm python3-ipython python3-traitlets
+ python3-jupyter_widgetsnbextension python3-jupyterlab_widgets"
+checkdepends="$depends python3-pytest python3-jsonschema python3-pytz
+ python3-ipython_ipykernel"
short_desc="IPython widgets for the Jupyter notebook"
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=f5f9eeaae082b1823ce9eac2575272952f40d748893972956dc09700a6392d9c
+checksum=d8ace49c66f14419fc66071371b99d01bed230bbc15d8a60233b18bfbd782851
# main repo `.../python/ipywidgets/ipywidgets/` is `.../ipywidgets/` here
patch_args=-Np3
diff --git a/srcpkgs/python3-jupyter_ipywidgets/update b/srcpkgs/python3-jupyter_ipywidgets/update
index 44da8f2e3c582e..eb8d6c97887770 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/update
+++ b/srcpkgs/python3-jupyter_ipywidgets/update
@@ -1,2 +1,3 @@
pkgname=ipywidgets
+site=https://pypi.org/simple/ipywidgets
ignore="*a* *b* *rc*"
From 4f132e1f9a347bf64613104f957f92d53f845e78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:12:02 -0300
Subject: [PATCH 04/36] python3-pytest-asyncio: update to 0.26.0.
---
srcpkgs/python3-pytest-asyncio/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template
index f1ca23d6a818d5..4d067f0213566f 100644
--- a/srcpkgs/python3-pytest-asyncio/template
+++ b/srcpkgs/python3-pytest-asyncio/template
@@ -1,6 +1,6 @@
# Template file for 'python3-pytest-asyncio'
pkgname=python3-pytest-asyncio
-version=0.25.3
+version=0.26.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
@@ -12,7 +12,7 @@ license="Apache-2.0"
homepage="https://github.com/pytest-dev/pytest-asyncio"
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst"
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest_asyncio-${version}.tar.gz"
-checksum=fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a
+checksum=c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (bind to a tcp address)
From 759fcaec0cb00d43171c2a3a65fbf74062678bf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:39 -0300
Subject: [PATCH 05/36] python3-xmltodict: update to 0.14.2.
---
srcpkgs/python3-xmltodict/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-xmltodict/template b/srcpkgs/python3-xmltodict/template
index cf444ee312210f..abe56821b12a5e 100644
--- a/srcpkgs/python3-xmltodict/template
+++ b/srcpkgs/python3-xmltodict/template
@@ -1,8 +1,8 @@
# Template file for 'python3-xmltodict'
pkgname=python3-xmltodict
-version=0.13.0
-revision=3
-build_style=python3-module
+version=0.14.2
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/martinblech/xmltodict"
changelog="https://raw.githubusercontent.com/martinblech/xmltodict/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz"
-checksum=341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56
+checksum=201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553
post_install() {
vlicense LICENSE
From 13460243f5684d43d2d31c4461f7d5e02023754d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:44 -0300
Subject: [PATCH 06/36] python3-nbclient: update to 0.10.2.
---
srcpkgs/python3-nbclient/template | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index 3bf13e904a1d0c..b2666af9d1a1d9 100644
--- a/srcpkgs/python3-nbclient/template
+++ b/srcpkgs/python3-nbclient/template
@@ -1,25 +1,21 @@
# Template file for 'python3-nbclient'
pkgname=python3-nbclient
-version=0.10.0
-revision=2
+version=0.10.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-jupyter_client python3-jupyter_nbformat"
+depends="python3-jupyter_client python3-jupyter_core python3-jupyter_nbformat
+ python3-traitlets"
checkdepends="$depends python3-pytest-asyncio python3-testpath
- python3-flaky python3-jupyter_ipywidgets python3-xmltodict"
+ python3-flaky python3-jupyter_ipywidgets python3-xmltodict
+ python3-ipython_ipykernel python3-jupyter_nbconvert"
short_desc="Client library for executing Jupyter notebooks"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09
-make_check=extended # avoid a circular dependency
-
-if [ "$XBPS_CHECK_PKGS" = full ]; then
- # this would cause a build-time circular dependency
- checkdepends+=" python3-jupyter_nbconvert"
-fi
+checksum=90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193
post_install() {
vlicense LICENSE
From 1134b9199d8cd0d89425438fcb26c648418a7c22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:37:47 -0300
Subject: [PATCH 07/36] python3-lxml: update to 5.4.0.
---
.../patches/fix-encoding-tests-musl.patch | 19 -------------------
srcpkgs/python3-lxml/template | 12 ++++++------
2 files changed, 6 insertions(+), 25 deletions(-)
delete mode 100644 srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
diff --git a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch b/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
deleted file mode 100644
index e2d0e3b36bd572..00000000000000
--- a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/3f64a63298ac78f5f2a50a52e3e3f01eef1b51ce/main/py3-lxml/tests-fix-encoding-name.patch
-
-diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
-index 3162155..43b79d7 100644
---- a/src/lxml/tests/test_incremental_xmlfile.py
-+++ b/src/lxml/tests/test_incremental_xmlfile.py
-@@ -177,10 +177,10 @@ class _XmlFileTestCaseBase(HelperTestCase):
- '<test>Comments: <!-- text -->\nEntities: &amp;</test>')
-
- def test_encoding(self):
-- with etree.xmlfile(self._file, encoding='utf16') as xf:
-+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
- with xf.element('test'):
- xf.write('toast')
-- self.assertXml('<test>toast</test>', encoding='utf16')
-+ self.assertXml('<test>toast</test>', encoding='utf-16')
-
- def test_buffering(self):
- with etree.xmlfile(self._file, buffered=False) as xf:
diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 32ac3828139320..8fdf77220f37a5 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,10 +1,10 @@
# Template file for 'python3-lxml'
pkgname=python3-lxml
-version=5.3.0
-revision=2
-build_style=python3-module
-make_build_args="--with-cython"
-hostmakedepends="python3-Cython python3-setuptools"
+version=5.4.0
+revision=1
+build_style=python3-pep517
+make_build_args="-C--build-option=--with-cython"
+hostmakedepends="python3-Cython python3-setuptools python3-wheel"
makedepends="libxslt-devel python3-devel"
depends="python3"
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
@@ -14,7 +14,7 @@ license="BSD-3-Clause, custom:ElementTree"
homepage="https://lxml.de/"
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=eb22f7ceb319c29247cfa398435d00e6286d19a32b4870b67a8e9a38d72f2ebd
+checksum=12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2
do_check() {
make test
From 236f8672678c359cfb71dbf096e9ca66b3ed55f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:47:25 -0300
Subject: [PATCH 08/36] python3-soupsieve: update to 2.7.
---
srcpkgs/python3-soupsieve/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-soupsieve/template b/srcpkgs/python3-soupsieve/template
index 107604fec169b0..6e645de8048b71 100644
--- a/srcpkgs/python3-soupsieve/template
+++ b/srcpkgs/python3-soupsieve/template
@@ -1,7 +1,7 @@
# Template file for 'python3-soupsieve'
pkgname=python3-soupsieve
-version=2.4.1
-revision=3
+version=2.7
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
@@ -11,8 +11,9 @@ short_desc="CSS4 selector implementation for Python3 Beautiful Soup"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://facelessuser.github.io/soupsieve/"
+changelog="https://raw.githubusercontent.com/facelessuser/soupsieve/refs/heads/main/docs/src/markdown/about/changelog.md"
distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz"
-checksum=89d12b2d5dfcd2c9e8c22326da9d9aa9cb3dfab0a83a024f05704076ee8d35ea
+checksum=ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a
post_install() {
vlicense LICENSE.md
From 73bc6961a0fe0727c2035ba100a3175ed13b94ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:51:48 -0300
Subject: [PATCH 09/36] python3-BeautifulSoup4: update to 4.13.4.
---
srcpkgs/python3-BeautifulSoup4/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 364445f875e54c..3bb906b2405f17 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,10 +1,10 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.12.2
-revision=3
+version=4.13.4
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-soupsieve"
+depends="python3-soupsieve python3-typing_extensions"
checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
+checksum=dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195
post_install() {
vlicense LICENSE
From 22a3d42e8153426bdc0121bffc22935b11e02117 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:07 -0300
Subject: [PATCH 10/36] python3-six: update to 1.17.0.
---
srcpkgs/python3-six/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-six/template b/srcpkgs/python3-six/template
index 2299770fb153c2..19b0812b9fd4e1 100644
--- a/srcpkgs/python3-six/template
+++ b/srcpkgs/python3-six/template
@@ -1,8 +1,8 @@
# Template file for 'python3-six'
pkgname=python3-six
-version=1.16.0
-revision=5
-build_style=python3-module
+version=1.17.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
-checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
+checksum=ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
post_install() {
vlicense LICENSE
From 02fa2dd0fc2a427db833de47389d7346c31ad601 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:22 -0300
Subject: [PATCH 11/36] python3-bleach: update to 6.2.0.
---
srcpkgs/python3-bleach/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index 8cf2201528c939..82f2797e85784b 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,7 +1,7 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=6.0.0
-revision=3
+version=6.2.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-six python3-webencodings"
@@ -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=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
+checksum=123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f
From 23d1821df35cb18d58c8bce7f83207d0a6033c1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:26 -0300
Subject: [PATCH 12/36] python3-mistune: update to 3.1.3.
---
srcpkgs/python3-mistune/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-mistune/template b/srcpkgs/python3-mistune/template
index 828db5643c7a2e..2aba5c34737737 100644
--- a/srcpkgs/python3-mistune/template
+++ b/srcpkgs/python3-mistune/template
@@ -1,7 +1,7 @@
# Template file for 'python3-mistune'
pkgname=python3-mistune
-version=3.0.2
-revision=2
+version=3.1.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://mistune.lepture.com/"
changelog="https://raw.githubusercontent.com/lepture/mistune/master/docs/changes.rst"
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
-checksum=fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8
+checksum=a7035c21782b2becb6be62f8f25d3df81ccb4d6fa477a6525b15af06539f02a0
post_install() {
vlicense LICENSE
From f75a4d9c4fc58bcbf1e14960242d025b7d3c9eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:30 -0300
Subject: [PATCH 13/36] python3-pandocfilters: update to 1.5.1.
---
srcpkgs/python3-pandocfilters/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-pandocfilters/template b/srcpkgs/python3-pandocfilters/template
index 45e58c9c94ddeb..ab7efec72a7899 100644
--- a/srcpkgs/python3-pandocfilters/template
+++ b/srcpkgs/python3-pandocfilters/template
@@ -1,8 +1,8 @@
# Template file for 'python3-pandocfilters'
pkgname=python3-pandocfilters
-version=1.5.0
-revision=2
-build_style=python3-module
+version=1.5.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 module for writing pandoc filters"
@@ -10,7 +10,8 @@ maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="http://github.com/jgm/pandocfilters"
distfiles="${PYPI_SITE}/p/pandocfilters/pandocfilters-${version}.tar.gz"
-checksum=0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38
+checksum=002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e
+make_check=no # Upstream defines no tests
post_install() {
vlicense LICENSE
From 922d2154731dcab3e6692134d9219fdc5c0b7fdd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 11:45:59 -0300
Subject: [PATCH 14/36] hooks/pre-pkg/06-verify-python-deps: support
alternative packages
---
common/scripts/parse-py-metadata.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/common/scripts/parse-py-metadata.py b/common/scripts/parse-py-metadata.py
index 0d9384bf7ef36c..909244d80804f1 100644
--- a/common/scripts/parse-py-metadata.py
+++ b/common/scripts/parse-py-metadata.py
@@ -123,7 +123,8 @@ def parse_depends(args):
pkg = getpkgname(pkgver)
vpkg = map(getpkgname, vpkgvers.split())
for v in vpkg:
- vpkgs[v] = pkg
+ if pkg not in vpkgs.setdefault(v, []):
+ vpkgs[v].append(pkg)
if args.rdeps.exists():
with args.rdeps.open() as f:
@@ -149,12 +150,17 @@ def parse_depends(args):
missing = []
for k in depends.keys():
if k in vpkgs.keys():
- pkgname = vpkgs[k]
- if pkgname in rdeps:
- print(f" PYTHON: {k} <-> {pkgname}", flush=True)
- elif pkgname in global_ignore:
- print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ for pkgname in vpkgs[k]:
+ if pkgname in rdeps:
+ print(f" PYTHON: {k} <-> {pkgname}", flush=True)
+ break
+ elif pkgname in global_ignore:
+ print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ break
else:
+ pkgname = " OR ".join(vpkgs[k])
+ if len(vpkgs[k]) > 1:
+ pkgname = "(" + pkgname + ")"
msg_err(f" PYTHON: {k} <-> {pkgname} NOT IN depends PLEASE FIX!",
nocolor=args.nocolor, strict=args.strict)
missing.append(pkgname)
From 459cb98738db53d112e783f94e09dec2fcf2472c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:10:39 -0300
Subject: [PATCH 15/36] python3-jupyter_nbconvert: update to 7.16.6.
---
srcpkgs/python3-jupyter_nbconvert/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index 3bf3da5423c28b..1f6a1be11d816d 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,23 +1,23 @@
# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
-version=7.16.4
-revision=2
+version=7.16.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
python3-MarkupSafe python3-mistune python3-nbclient
python3-jupyter_nbformat python3-packaging python3-pandocfilters
- python3-tinycss2"
-checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
- asciidoc inkscape pandoc python3-flaky python3-PyQt5"
+ python3-Pygments python3-traitlets python3-tinycss2"
+checkdepends="$depends python3-pytest-xdist python3-jupyter_ipywidgets
+ asciidoc inkscape pandoc python3-flaky python3-PyQt5 python3-ipython_ipykernel"
short_desc="Converting Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=86ca91ba266b0a448dc96fa6c5b9d98affabde2867b363258703536807f9f7f4
+checksum=576a7e37c6480da7b8465eefa66c17844243816ce1ccc372633c6b71c3c0f582
pre_check() {
# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
From ed80573a9bd3242c7d1d693a0d639f972c481776 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:20:08 -0300
Subject: [PATCH 16/36] New package: python3-forbiddenfruit-0.1.4
---
srcpkgs/python3-forbiddenfruit/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-forbiddenfruit/template
diff --git a/srcpkgs/python3-forbiddenfruit/template b/srcpkgs/python3-forbiddenfruit/template
new file mode 100644
index 00000000000000..fcfe09af6dc6f4
--- /dev/null
+++ b/srcpkgs/python3-forbiddenfruit/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-forbiddenfruit'
+pkgname=python3-forbiddenfruit
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Patch python built-in objects"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later OR MIT"
+homepage="https://github.com/clarete/forbiddenfruit"
+changelog="https://github.com/clarete/forbiddenfruit/releases"
+distfiles="${PYPI_SITE}/f/forbiddenfruit/forbiddenfruit-${version}.tar.gz"
+checksum=e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253
+make_check=no # Tests require removed python3-nose
+
+post_install() {
+ vlicense COPYING.mit
+}
From 1ad911e3bfc2671e8c9ee98e3fba7ad58d37be6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:25:30 -0300
Subject: [PATCH 17/36] New package: python3-blockbuster-1.5.24
---
srcpkgs/python3-blockbuster/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-blockbuster/template
diff --git a/srcpkgs/python3-blockbuster/template b/srcpkgs/python3-blockbuster/template
new file mode 100644
index 00000000000000..22aed76d4562ee
--- /dev/null
+++ b/srcpkgs/python3-blockbuster/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-blockbuster'
+pkgname=python3-blockbuster
+version=1.5.24
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-forbiddenfruit"
+checkdepends="$depends python3-pytest-asyncio python3-requests"
+short_desc="Utility to detect blocking calls in the async event loop"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/cbornet/blockbuster"
+changelog="https://github.com/cbornet/blockbuster/releases"
+distfiles="${PYPI_SITE}/b/blockbuster/blockbuster-${version}.tar.gz"
+checksum=97645775761a5d425666ec0bc99629b65c7eccdc2f770d2439850682567af4ec
From 9676188cc07b8200d0f2a8ce9fb85d82f3f9bb24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 16:32:14 -0300
Subject: [PATCH 18/36] python3-outcome: update to 1.3.0.post0, fix deps.
---
srcpkgs/python3-outcome/template | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-outcome/template b/srcpkgs/python3-outcome/template
index 5976562a5dcfd2..37f235a4871d10 100644
--- a/srcpkgs/python3-outcome/template
+++ b/srcpkgs/python3-outcome/template
@@ -1,17 +1,18 @@
# Template file for 'python3-outcome'
pkgname=python3-outcome
-version=1.2.0
-revision=3
-build_style=python3-module
+version=1.3.0.post0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
-depends="python3"
-checkdepends="python3-pytest python3-pytest-cov python3-pytest-asyncio"
+depends="python3-attrs"
+checkdepends="$depends python3-pytest python3-pytest-cov python3-pytest-asyncio"
short_desc="Capture the outcome of Python function calls"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/outcome"
+changelog="https://raw.githubusercontent.com/python-trio/outcome/refs/heads/master/docs/source/history.rst"
distfiles="${PYPI_SITE}/o/outcome/outcome-${version}.tar.gz"
-checksum=6f82bd3de45da303cf1f771ecafa1633750a358436a8bb60e06a1ceb745d2672
+checksum=9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8
post_install() {
vlicense LICENSE
From 8c50d1c44bfc2a6c195c868ca8f59fa90c40010c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 5 Mar 2025 22:13:00 -0300
Subject: [PATCH 19/36] python3-trio: update to 0.30.0.
---
.../patches/fix-for-attrs-24.1.0.patch | 24 -------------------
srcpkgs/python3-trio/template | 14 +++--------
2 files changed, 3 insertions(+), 35 deletions(-)
delete mode 100644 srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
diff --git a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch b/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
deleted file mode 100644
index c4e36205c9c17e..00000000000000
--- a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Cherry picked from: https://github.com/python-trio/trio/pull/3058
-
-From 0152c3efcffe7d9b77b2a765e6992c6685b63499 Mon Sep 17 00:00:00 2001
-From: A5rocks <git@helvetica.moe>
-Date: Mon, 5 Aug 2024 21:29:33 +0900
-Subject: [PATCH 2/5] Fix deprecation warning from attrs
-
----
- src/trio/_threads.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/trio/_threads.py b/src/trio/_threads.py
-index a04b73729..0f0e58500 100644
---- a/src/trio/_threads.py
-+++ b/src/trio/_threads.py
-@@ -139,7 +139,7 @@ def current_default_thread_limiter() -> CapacityLimiter:
- # system; see https://github.com/python-trio/trio/issues/182
- # But for now we just need an object to stand in for the thread, so we can
- # keep track of who's holding the CapacityLimiter's token.
--@attrs.frozen(eq=False, hash=False, slots=False)
-+@attrs.frozen(eq=False, slots=False)
- class ThreadPlaceholder:
- name: str
-
diff --git a/srcpkgs/python3-trio/template b/srcpkgs/python3-trio/template
index 62788e39dc6e1c..d6510e411af9f0 100644
--- a/srcpkgs/python3-trio/template
+++ b/srcpkgs/python3-trio/template
@@ -1,7 +1,7 @@
# Template file for 'python3-trio'
pkgname=python3-trio
-version=0.26.1
-revision=2
+version=0.30.0
+revision=1
build_style=python3-pep517
# Needs astor (https://pypi.org/project/astor/)
make_check_args="--ignore src/trio/_tests/tools/test_gen_exports.py"
@@ -16,15 +16,7 @@ license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/trio"
changelog="https://raw.githubusercontent.com/python-trio/trio/master/docs/source/history.rst"
distfiles="${PYPI_SITE}/t/trio/trio-${version}.tar.gz"
-checksum=6d2fe7ee656146d598ec75128ff4a2386576801b42b691f4a91cc2c18508544a
-make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1"
-
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
- # pthread_getname_np(3) n/a in musl 1.1
- make_check_args+="
- --deselect src/trio/_tests/test_threads.py::test_named_thread_os
- "
-fi
+checksum=0781c857c0c81f8f51e0089929a26b5bb63d57f927728a5586f7e36171f064df
post_install() {
vlicense LICENSE
From e17edf012ff2a4fed553cfa2c4c5157a9fe03b04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Mar 2025 16:44:57 -0300
Subject: [PATCH 20/36] python3-anyio: update to 4.9.0.
---
srcpkgs/python3-anyio/template | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
index 13776f697758c2..ac54658e218a22 100644
--- a/srcpkgs/python3-anyio/template
+++ b/srcpkgs/python3-anyio/template
@@ -1,21 +1,21 @@
# Template file for 'python3-anyio'
pkgname=python3-anyio
-version=4.4.0
-revision=2
+version=4.9.0
+revision=1
build_style=python3-pep517
# This file needs python module `exceptiongroup`
make_check_args="--ignore tests/test_taskgroups.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-sniffio python3-idna"
-checkdepends="$depends python3-pytest-mock python3-hypothesis
- python3-psutil python3-trio python3-trustme python3-uvloop"
+checkdepends="$depends python3-pytest-mock python3-hypothesis python3-psutil
+ python3-trio python3-trustme python3-uvloop python3-blockbuster"
short_desc="High level asynchronous concurrency and networking framework"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/agronholm/anyio"
changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst"
distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
-checksum=5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94
+checksum=673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI
@@ -25,7 +25,8 @@ if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
_test3="(test_iterate)or(test_receive)or(test_reuse)or(test_send)"
_test3="(TestConnectedUDPSocket)and($_test3)and(-ipv6)"
_test4="test_bind_link_local"
- make_check_args+=" -k not(($_test1)or($_test2)or($_test3)or($_test4))"
+ _test5="test_getaddrinfo"
+ make_check_args+=" -k not(($_test1)or($_test2)or($_test3)or($_test4)or($_test5))"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
From 41af94ab9a4e29a8d0b60d0e274d0e02f06a083c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:01 -0300
Subject: [PATCH 21/36] python3-attrs: update to 25.3.0.
---
srcpkgs/python3-attrs/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template
index c896dd4a9ae070..220008c24762c9 100644
--- a/srcpkgs/python3-attrs/template
+++ b/srcpkgs/python3-attrs/template
@@ -1,6 +1,6 @@
# Template file for 'python3-attrs'
pkgname=python3-attrs
-version=25.1.0
+version=25.3.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools hatch-vcs hatch-fancy-pypi-readme"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://attrs.readthedocs.io/"
changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
-checksum=1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e
+checksum=75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b
post_install() {
vlicense LICENSE
From d6e13e2e8518fa051684038a97bed083ff5d6117 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:04 -0300
Subject: [PATCH 22/36] python3-rpds-py: update to 0.24.0.
---
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 74677c89ee56d5..072f1a7f4d9c2b 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.23.1
+version=0.24.0
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=7f3240dcfa14d198dba24b8b9cb3b108c06b68d45b7babd9eefc1038fdf7e707
+checksum=772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e
post_install() {
vlicense LICENSE
From 9a84fc4f85eda22ba721fd695a7877f6bfee1613 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 20:41:25 -0300
Subject: [PATCH 23/36] python3-socks: update to 2.7.1.
---
srcpkgs/python3-socks/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template
index 6f2cbc5c915844..3ff85627752bf9 100644
--- a/srcpkgs/python3-socks/template
+++ b/srcpkgs/python3-socks/template
@@ -1,6 +1,6 @@
# Template file for 'python3-socks'
pkgname=python3-socks
-version=2.6.1
+version=2.7.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
@@ -15,5 +15,5 @@ maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/romis2012/python-socks"
distfiles="${PYPI_SITE}/p/python-socks/python_socks-${version}.tar.gz"
-checksum=9743929aab6ffe0bab640ecfbbee7130af92408ad86e4aa2984789f742f3ec9e
+checksum=f1a0bb603830fe81e332442eada96757b8f8dec02bd22d1d6f5c99a79704c550
make_check_pre="env SKIP_IPV6_TESTS=True"
From ab2d863956d5460670908b1be83f064cdcc14f18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 20:53:00 -0300
Subject: [PATCH 24/36] python3-websocket-client: update to 1.8.0.
---
srcpkgs/python3-websocket-client/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index b858a4f86452a7..f428fd63df158b 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,7 +1,7 @@
# Template file for 'python3-websocket-client'
pkgname=python3-websocket-client
-version=1.7.0
-revision=2
+version=1.8.0
+revision=1
build_style=python3-pep517
make_check_target="websocket/tests"
hostmakedepends="python3-setuptools python3-wheel"
@@ -13,5 +13,5 @@ license="Apache-2.0"
homepage="https://github.com/websocket-client/websocket-client"
changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v${version}.tar.gz"
-checksum=923c3b7d0cecfdc449eec5e95c90ae6b0ea24e8782d42f23c05d2bb43bfabd39
+checksum=03306a5a5afb4e5bffd7fce4e2fb6438be91c14543cf1d6f506893f831047bfc
conflicts="python-websocket-client"
From c41ee2b77ef247ba624f2ffab17402cd9cae0559 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 21:03:34 -0300
Subject: [PATCH 25/36] python3-prometheus_client: update to 0.21.1.
---
srcpkgs/python3-prometheus_client/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-prometheus_client/template b/srcpkgs/python3-prometheus_client/template
index 590d0bf11cdc1d..5ff8a4134cebe1 100644
--- a/srcpkgs/python3-prometheus_client/template
+++ b/srcpkgs/python3-prometheus_client/template
@@ -1,8 +1,8 @@
# Template file for 'python3-prometheus_client'
pkgname=python3-prometheus_client
-version=0.20.0
-revision=2
-build_style=python3-module
+version=0.21.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/prometheus/client_python"
changelog="https://github.com/prometheus/client_python/releases"
distfiles="${PYPI_SITE}/p/prometheus_client/prometheus_client-${version}.tar.gz"
-checksum=287629d00b147a32dcb2be0b9df905da599b2d82f80377083ec8463309a4bb89
+checksum=252505a722ac04b0456be05c05f75f45d760c2911ffc45f2a06bcaed9f3ae3fb
From 0c224b676c113d15c979ae502c8b2300a36cd30f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 21:04:31 -0300
Subject: [PATCH 26/36] python3-terminado: update to 0.18.1.
---
srcpkgs/python3-terminado/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index 0efb9772886beb..178d9078b0dee9 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,17 @@
# Template file for 'python3-terminado'
pkgname=python3-terminado
-version=0.17.1
-revision=3
+version=0.18.1
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-ptyprocess python3-tornado"
-checkdepends="python3-pytest $depends"
+checkdepends="python3-pytest-timeout $depends"
short_desc="Terminals served to term.js using Tornado websockets"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/takluyver/terminado"
distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=6ccbbcd3a4f8a25a5ec04991f39a0b8db52dfcd487ea0e578d977e6752380333
+checksum=de09f2c4b85de4765f7714688fff57d3e75bad1f909b589fde880460c753fd2e
post_install() {
vlicense LICENSE
From aa1adf1bee6fb591dfeb290ff726355cac17af0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:26:34 -0300
Subject: [PATCH 27/36] python3-jupyter_events: update to 0.12.0.
---
.../python3-jupyter_events/patches/fix-dep.patch | 15 +++++++++++++++
srcpkgs/python3-jupyter_events/template | 9 +++++----
2 files changed, 20 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-jupyter_events/patches/fix-dep.patch
diff --git a/srcpkgs/python3-jupyter_events/patches/fix-dep.patch b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
new file mode 100644
index 00000000000000..c96f3c211597dd
--- /dev/null
+++ b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
@@ -0,0 +1,15 @@
+We don't have all dependencies required for `jsonschema[format-nongpl]`.
+However, `rfc3339-validator` and `rfc3986-validator` seem enough, and
+we do have them listed in `depends=`.
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -24,7 +24,7 @@
+ ]
+ dependencies = [
+ "referencing",
+- "jsonschema[format-nongpl]>=4.18.0",
++ "jsonschema>=4.18.0",
+ "python-json-logger>=2.0.4",
+ "pyyaml>=5.3",
+ "traitlets>=5.3",
diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
index f1191124ca7f32..63a6aaa7a988be 100644
--- a/srcpkgs/python3-jupyter_events/template
+++ b/srcpkgs/python3-jupyter_events/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_events'
pkgname=python3-jupyter_events
-version=0.10.0
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-jsonschema python3-json-logger python3-yaml python3-traitlets
- python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator"
+ python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator
+ python3-packaging python3-referencing"
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>"
@@ -13,7 +14,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=670b8229d3cc882ec782144ed22e0d29e1c2d639263f92ca8383e66682845e22
+checksum=fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b
post_install() {
vlicense LICENSE
From ac6412545c0c97733de4d90eba2d38c5ca8edb67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:33:57 -0300
Subject: [PATCH 28/36] python3-jupyter_server: update to 2.15.0.
---
srcpkgs/python3-jupyter_server/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index a91e9f0ea23c76..d9132a12bd9a25 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,14 +1,14 @@
# Template file for 'python3-jupyter_server'
pkgname=python3-jupyter_server
-version=2.14.2
-revision=2
+version=2.15.0
+revision=1
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"
+depends="python3-anyio python3-argon2 python3-Jinja2 python3-jupyter_client
+ python3-jupyter_core python3-jupyter_events python3-jupyter_server_terminals
+ python3-jupyter_nbconvert python3-jupyter_nbformat python3-overrides
+ python3-packaging python3-prometheus_client python3-pyzmq python3-send2trash
+ python3-terminado python3-tornado python3-traitlets python3-websocket-client"
checkdepends="$depends pandoc python3-ipython_ipykernel
python3-pytest-console-scripts python3-pytest-jupyter
python3-pytest-xdist python3-requests python3-flaky"
@@ -18,7 +18,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=66095021aa9638ced276c248b1d81862e4c50f292d575920bbe960de1c56b12b
+checksum=9d446b8697b4f7337a1b7cdcac40778babdd93ba614b6d68ab1c0c918f1c4084
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (connect to a tcp address)
From 241d18ceff66581ee95e84db27910b05685512a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:26:16 -0300
Subject: [PATCH 29/36] python3-coverage: update to 7.8.0.
---
srcpkgs/python3-coverage/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template
index 88a586aba90760..d39d0605041df4 100644
--- a/srcpkgs/python3-coverage/template
+++ b/srcpkgs/python3-coverage/template
@@ -1,8 +1,10 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
-version=7.6.12
+version=7.8.0
revision=1
build_style=python3-pep517
+# this counts files but our installed package has fewer files
+make_check_args="--deselect tests/test_testing.py::test_all_our_source_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis"
@@ -12,7 +14,7 @@ license="Apache-2.0"
homepage="https://github.com/nedbat/coveragepy"
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
-checksum=48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2
+checksum=7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501
pre_check() {
# required setup, see tox.ini
@@ -26,7 +28,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -m installer dist/*.whl
- PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
+ PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
+ ${make_check_args} ${make_check_target}
}
post_install() {
From b36537241bb23ee7517b4c702bd2a9969cfe1617 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 17:53:51 -0300
Subject: [PATCH 30/36] python3-pytest-cov: update to 6.1.1.
---
srcpkgs/python3-pytest-cov/template | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index cbf51bbbf4ad8f..5b6f92d7e21edf 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,11 +1,8 @@
# Template file for 'python3-pytest-cov'
pkgname=python3-pytest-cov
-version=5.0.0
-revision=2
+version=6.1.1
+revision=1
build_style=python3-pep517
-# this test fails with python3-coverage >= 7.6
-make_check_args="
- --deselect tests/test_pytest_cov.py::test_term_report_does_not_interact_with_html_output"
hostmakedepends="python3-setuptools"
depends="python3-pytest python3-coverage"
checkdepends="$depends python3-fields python3-process-tests
@@ -15,8 +12,8 @@ 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=5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857
+distfiles="${PYPI_SITE}/p/pytest-cov/pytest_cov-${version}.tar.gz"
+checksum=46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a
do_check() {
# Running via PYTHONPATH breaks a few tests so we use a venv
@@ -25,9 +22,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -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}
+ PYTHONPATH="/${py3_sitelib}" PYTHONUSERBASE=/usr \
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
${make_check_args} ${make_check_target}
}
From 76c955e06e38d7916a043d105f16563167b54b9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:07:48 -0300
Subject: [PATCH 31/36] python3-json5: update to 0.12.0.
---
srcpkgs/python3-json5/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
index a0656d05038ff5..2d9bfebb90fb78 100644
--- a/srcpkgs/python3-json5/template
+++ b/srcpkgs/python3-json5/template
@@ -1,7 +1,7 @@
# Template file for 'python3-json5'
pkgname=python3-json5
-version=0.9.25
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -11,4 +11,4 @@ maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>
license="Apache-2.0"
homepage="https://github.com/dpranke/pyjson5"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
-checksum=a31db9a7d2cd102051e27efd519b9670a3b6be7b9d951145637c0a3e2350e141
+checksum=39b21785fc12c61716a3634b466e3faffc5c679148c2d9cbbef9cc0c15772b6f
From e003eefce3de535b221073ca52be81d0f21adb34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:10:11 -0300
Subject: [PATCH 32/36] python3-async-lru: update to 2.0.5.
---
srcpkgs/python3-async-lru/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
index 96456af4a55a51..68439569f5fac0 100644
--- a/srcpkgs/python3-async-lru/template
+++ b/srcpkgs/python3-async-lru/template
@@ -1,7 +1,7 @@
# Template file for 'python3-async-lru'
pkgname=python3-async-lru
-version=2.0.4
-revision=3
+version=2.0.5
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-typing_extensions"
@@ -12,8 +12,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/aio-libs/async-lru"
changelog="https://raw.githubusercontent.com/aio-libs/async-lru/master/CHANGES.rst"
-distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
-checksum=b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627
+distfiles="${PYPI_SITE}/a/async-lru/async_lru-${version}.tar.gz"
+checksum=481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb
post_install() {
vlicense LICENSE
From a424cd29938e5e099aaf34e1b4c03690066890e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 1 May 2025 21:13:11 -0300
Subject: [PATCH 33/36] python3-h11: update to 0.16.0.
---
srcpkgs/python3-h11/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-h11/template b/srcpkgs/python3-h11/template
index 2fc75c07290e11..aaf4032d6e8541 100644
--- a/srcpkgs/python3-h11/template
+++ b/srcpkgs/python3-h11/template
@@ -1,8 +1,8 @@
# Template file for 'python3-h11'
pkgname=python3-h11
-version=0.14.0
-revision=3
-build_style=python3-module
+version=0.16.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/python-hyper/h11"
distfiles="https://github.com/python-hyper/h11/archive/v${version}.tar.gz"
-checksum=d65a85d094b76846653fa7c3b45abdaf8b4f055c643bb6eec623f1311636a474
+checksum=d164114d09552ea887b5c9ed206d5a8e5bc0bf07d33e07a32622f91f102182c2
post_install() {
vlicense LICENSE.txt
From 20ac3d24e10450816022a226212f2d7799955e0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:32:49 -0300
Subject: [PATCH 34/36] New package: python3-jupyter-lsp-2.2.5
---
srcpkgs/python3-jupyter-lsp/template | 24 ++++++++++++++++++++++++
srcpkgs/python3-jupyter-lsp/update | 3 +++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/python3-jupyter-lsp/template
create mode 100644 srcpkgs/python3-jupyter-lsp/update
diff --git a/srcpkgs/python3-jupyter-lsp/template b/srcpkgs/python3-jupyter-lsp/template
new file mode 100644
index 00000000000000..9114c2dd667ae8
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-jupyter-lsp'
+pkgname=python3-jupyter-lsp
+version=2.2.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_server"
+checkdepends="$depends python3-pytest"
+short_desc="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyter-lsp/jupyter-lsp-${version}.tar.gz"
+checksum=793147a05ad446f809fd53ef1cd19a9f5256fd0a2d6b7ce943a982cb4f545001
+
+# This test needs R package languageserver which we don't have
+make_check_args="
+ --deselect jupyter_lsp/tests/test_detect.py::test_r_package_detection"
+
+post_install() {
+ mv ${DESTDIR}/usr/etc ${DESTDIR}
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyter-lsp/update b/srcpkgs/python3-jupyter-lsp/update
new file mode 100644
index 00000000000000..31ba62a576d642
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/update
@@ -0,0 +1,3 @@
+# override since the github also contains jupyterlab-server tags
+site=https://pypi.org/simple/jupyter-lsp
+pkgname=jupyter-lsp
From 13df0fdae0f6363a4dc28e46dd6ad722220860bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:44:54 -0300
Subject: [PATCH 35/36] New package: python3-jupyterlab-lsp-5.1.0
---
srcpkgs/python3-jupyterlab-lsp/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab-lsp/template
diff --git a/srcpkgs/python3-jupyterlab-lsp/template b/srcpkgs/python3-jupyterlab-lsp/template
new file mode 100644
index 00000000000000..7835a6bb8b6d93
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab-lsp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab-lsp'
+pkgname=python3-jupyterlab-lsp
+version=5.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter-lsp jupyterlab"
+short_desc="Coding assistance for JupyterLab with Language Server Protocol"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyterlab-lsp/jupyterlab-lsp-${version}.tar.gz"
+checksum=aeac84093ada6d20ef57ae0e97811cc5796a0cab7237b32f8eddf993c0bb0356
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
From 23de78c0bb5286025429db4b412e651f913ea0bb Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Thu, 17 Apr 2025 14:54:30 -0400
Subject: [PATCH 36/36] jupyterlab: update to 4.4.1.
---
srcpkgs/jupyterlab/template | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 4782370a75598d..cb263d61a94535 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,21 +1,23 @@
# Template file for 'jupyterlab'
pkgname=jupyterlab
-version=4.2.4
-revision=2
+version=4.4.1
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
depends="nodejs python3-async-lru python3-httpx python3-ipython_ipykernel
- python3-jupyterlab_server python3-notebook_shim"
-checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
+ python3-Jinja2 python3-jupyter_core python3-jupyter_server python3-tornado
+ python3-packaging python3-setuptools python3-jupyter-lsp
+ python3-traitlets python3-jupyterlab_server python3-notebook_shim"
+checkdepends="${depends} python3-pytest-jupyter python3-pytest-xdist"
short_desc="JupyterLab computational environment"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=343a979fb9582fd08c8511823e320703281cd072a0049bcdafdc7afeda7f2537
+checksum=c75c4f33056fbd84f0b31eb44622a00c7a5f981b85adfeb198a83721f0465808
-if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
+if [ "${XBPS_BUILD_ENVIRONMENT}" = void-packages-ci ]; then
# this test fails on CI (network timeout)
make_check_args="
--deselect=jupyterlab/tests/test_build_api.py::TestBuildAPI
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PR PATCH] [Updated] jupyterlab: update to 4.4.1 (and deps)
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (6 preceding siblings ...)
2025-05-05 0:18 ` tornaria
@ 2025-05-05 15:30 ` tornaria
2025-05-05 19:27 ` tornaria
` (7 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-05-05 15:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1682 bytes --]
There is an updated 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/55117
jupyterlab: update to 4.4.1 (and deps)
- **python3-coverage: update to 7.8.0.**
- **python3-pytest-cov: update to 6.1.1.**
- **python3-json5: update to 0.12.0.**
- **python3-async-lru: update to 2.0.5.**
- **New package: python3-jupyter-lsp-2.2.5**
- **New package: python3-jupyterlab-lsp-5.1.0**
- **jupyterlab: update to 4.4.1**
Includes #54482, #54488, #54489, #54631, #55247.
The jupyterlab update is slightly edited from #55101.
@dkwo
<!-- 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/55117.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-55117.patch --]
[-- Type: text/x-diff, Size: 64857 bytes --]
From a58e2d326c5c03531b94f3d143807639d9a82095 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:31:05 -0300
Subject: [PATCH 01/37] python3-jupyter_widgetsnbextension: update to 4.0.14.
---
srcpkgs/python3-jupyter_widgetsnbextension/template | 8 ++++----
srcpkgs/python3-jupyter_widgetsnbextension/update | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/template b/srcpkgs/python3-jupyter_widgetsnbextension/template
index 82146ccfd62d32..068b3364560be1 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/template
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/template
@@ -1,15 +1,15 @@
# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
-version=4.0.11
-revision=2
+version=4.0.14
+revision=1
build_style=python3-pep517
hostmakedepends="python3-jupyter_packaging"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
-homepage="https://pypi.org/project/widgetsnbextension/"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/widgetsnbextension"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
-checksum=8b22a8f1910bfd188e596fe7fc05dcbd87e810c8a4ba010bdb3da86637398474
+checksum=a3629b04e3edb893212df862038c7232f62973373869db5084aed739b437b5af
make_check=no # Upstream defines no tests
post_install() {
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/update b/srcpkgs/python3-jupyter_widgetsnbextension/update
index d6944b34c12eb0..0e9e4528c1915f 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/update
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/update
@@ -1,2 +1,3 @@
pkgname=widgetsnbextension
+site=https://pypi.org/simple/widgetsnbextension
ignore="*a* *b* *rc*"
From 5d7d7ddb1586a67cb7bffb5ad0961977d7c51cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:36:50 -0300
Subject: [PATCH 02/37] New package: python3-jupyterlab_widgets-3.0.15
---
srcpkgs/python3-jupyterlab_widgets/template | 18 ++++++++++++++++++
srcpkgs/python3-jupyterlab_widgets/update | 3 +++
2 files changed, 21 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab_widgets/template
create mode 100644 srcpkgs/python3-jupyterlab_widgets/update
diff --git a/srcpkgs/python3-jupyterlab_widgets/template b/srcpkgs/python3-jupyterlab_widgets/template
new file mode 100644
index 00000000000000..938fe6f7b0e591
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyterlab_widgets'
+pkgname=python3-jupyterlab_widgets
+version=3.0.15
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-jupyter-builder jupyterlab"
+depends="python3"
+short_desc="Jupyter interactive widgets for JupyterLab"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/jupyterlab_widgets"
+distfiles="${PYPI_SITE}/j/jupyterlab_widgets/jupyterlab_widgets-${version}.tar.gz"
+checksum=2920888a0c2922351a9202817957a68c07d99673504d6cd37345299e971bb08b
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyterlab_widgets/update b/srcpkgs/python3-jupyterlab_widgets/update
new file mode 100644
index 00000000000000..8226cf8d087698
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/update
@@ -0,0 +1,3 @@
+pkgname=jupyterlab_widgets
+site=https://pypi.org/simple/jupyterlab_widgets
+ignore="*a* *b* *rc*"
From cede31b9b04513c286379b0547fd244726043312 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:39:43 -0300
Subject: [PATCH 03/37] python3-jupyter_ipywidgets: update to 8.1.7.
---
.../patches/pytest8.patch | 93 -------------------
srcpkgs/python3-jupyter_ipywidgets/template | 12 ++-
srcpkgs/python3-jupyter_ipywidgets/update | 1 +
3 files changed, 8 insertions(+), 98 deletions(-)
delete mode 100644 srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
diff --git a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch b/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
deleted file mode 100644
index 2f8499a3ae76b9..00000000000000
--- a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-See: https://github.com/jupyter-widgets/ipywidgets/pull/3903
-
-From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Thu, 11 Apr 2024 11:40:15 +0200
-Subject: [PATCH] Fix compatibility with pytest 8
-
-Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
----
- .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
- python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 -
- .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +-
- .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +-
- python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++---
- 5 files changed, 5 insertions(+), 8 deletions(-)
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-index 0dc7e5fcfc..feb1afe50c 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-@@ -19,8 +19,6 @@
- # Utility stuff
- #-----------------------------------------------------------------------------
-
--from .utils import setup, teardown
--
- def f(**kwargs):
- pass
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-index 0c92dfdcb2..9301764d40 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-@@ -4,7 +4,6 @@
- import pytest
-
- from .. import jslink, jsdlink, ToggleButton
--from .utils import setup, teardown
-
- def test_jslink_args():
- with pytest.raises(TypeError):
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-index ec18ae4af1..98465b9b7d 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-@@ -3,7 +3,7 @@
-
- from traitlets import Bool, Tuple, List
-
--from .utils import setup, teardown, DummyComm
-+from .utils import setup
-
- from ..widget import Widget
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-index 82ecbd9311..22ec54d90f 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-@@ -6,7 +6,7 @@
-
- from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
-
--from .utils import setup, teardown
-+from .utils import setup
-
- import ipywidgets
- from ipywidgets import Widget
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/utils.py b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-index 260485e3f8..8dbbcb355b 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-@@ -12,7 +12,7 @@
- NEW_COMM_PACKAGE = False
-
- import ipykernel.comm
--
-+import pytest
-
- class DummyComm():
- comm_id = 'a-b-c-d'
-@@ -87,10 +87,10 @@ def teardown_test_comm():
- setattr(Widget, attr, value)
- _widget_attrs.clear()
-
-+@pytest.fixture(autouse=True)
- def setup():
- setup_test_comm()
--
--def teardown():
-+ yield
- teardown_test_comm()
-
- def call_method(method, *args, **kwargs):
diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index da7840682a6178..ecaf9dead1ffa1 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,18 +1,20 @@
# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
-version=8.1.3
-revision=2
+version=8.1.7
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
-depends="python3-ipython_ipykernel python3-jupyter_widgetsnbextension"
-checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
+depends="python3-comm python3-ipython python3-traitlets
+ python3-jupyter_widgetsnbextension python3-jupyterlab_widgets"
+checkdepends="$depends python3-pytest python3-jsonschema python3-pytz
+ python3-ipython_ipykernel"
short_desc="IPython widgets for the Jupyter notebook"
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=f5f9eeaae082b1823ce9eac2575272952f40d748893972956dc09700a6392d9c
+checksum=15f1ac050b9ccbefd45dccfbb2ef6bed0029d8278682d569d71b8dd96bee0376
# main repo `.../python/ipywidgets/ipywidgets/` is `.../ipywidgets/` here
patch_args=-Np3
diff --git a/srcpkgs/python3-jupyter_ipywidgets/update b/srcpkgs/python3-jupyter_ipywidgets/update
index 44da8f2e3c582e..eb8d6c97887770 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/update
+++ b/srcpkgs/python3-jupyter_ipywidgets/update
@@ -1,2 +1,3 @@
pkgname=ipywidgets
+site=https://pypi.org/simple/ipywidgets
ignore="*a* *b* *rc*"
From 1e92476d6fffe601a5b65152fe93a68843946af5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:12:02 -0300
Subject: [PATCH 04/37] python3-pytest-asyncio: update to 0.26.0.
---
srcpkgs/python3-pytest-asyncio/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template
index f1ca23d6a818d5..4d067f0213566f 100644
--- a/srcpkgs/python3-pytest-asyncio/template
+++ b/srcpkgs/python3-pytest-asyncio/template
@@ -1,6 +1,6 @@
# Template file for 'python3-pytest-asyncio'
pkgname=python3-pytest-asyncio
-version=0.25.3
+version=0.26.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
@@ -12,7 +12,7 @@ license="Apache-2.0"
homepage="https://github.com/pytest-dev/pytest-asyncio"
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst"
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest_asyncio-${version}.tar.gz"
-checksum=fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a
+checksum=c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (bind to a tcp address)
From ce08fb18535de16b4f2e9a0fa7d2c128264143d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:39 -0300
Subject: [PATCH 05/37] python3-xmltodict: update to 0.14.2.
---
srcpkgs/python3-xmltodict/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-xmltodict/template b/srcpkgs/python3-xmltodict/template
index cf444ee312210f..abe56821b12a5e 100644
--- a/srcpkgs/python3-xmltodict/template
+++ b/srcpkgs/python3-xmltodict/template
@@ -1,8 +1,8 @@
# Template file for 'python3-xmltodict'
pkgname=python3-xmltodict
-version=0.13.0
-revision=3
-build_style=python3-module
+version=0.14.2
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/martinblech/xmltodict"
changelog="https://raw.githubusercontent.com/martinblech/xmltodict/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz"
-checksum=341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56
+checksum=201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553
post_install() {
vlicense LICENSE
From 8de7b6492eeffee217d487f7f5e73f63709ae4bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:44 -0300
Subject: [PATCH 06/37] python3-nbclient: update to 0.10.2.
---
srcpkgs/python3-nbclient/template | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index 3bf13e904a1d0c..b2666af9d1a1d9 100644
--- a/srcpkgs/python3-nbclient/template
+++ b/srcpkgs/python3-nbclient/template
@@ -1,25 +1,21 @@
# Template file for 'python3-nbclient'
pkgname=python3-nbclient
-version=0.10.0
-revision=2
+version=0.10.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-jupyter_client python3-jupyter_nbformat"
+depends="python3-jupyter_client python3-jupyter_core python3-jupyter_nbformat
+ python3-traitlets"
checkdepends="$depends python3-pytest-asyncio python3-testpath
- python3-flaky python3-jupyter_ipywidgets python3-xmltodict"
+ python3-flaky python3-jupyter_ipywidgets python3-xmltodict
+ python3-ipython_ipykernel python3-jupyter_nbconvert"
short_desc="Client library for executing Jupyter notebooks"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09
-make_check=extended # avoid a circular dependency
-
-if [ "$XBPS_CHECK_PKGS" = full ]; then
- # this would cause a build-time circular dependency
- checkdepends+=" python3-jupyter_nbconvert"
-fi
+checksum=90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193
post_install() {
vlicense LICENSE
From d44661421268dd80c73536e7485cdd8ac875d80c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:37:47 -0300
Subject: [PATCH 07/37] python3-lxml: update to 5.4.0.
---
.../patches/fix-encoding-tests-musl.patch | 19 -------------------
srcpkgs/python3-lxml/template | 12 ++++++------
2 files changed, 6 insertions(+), 25 deletions(-)
delete mode 100644 srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
diff --git a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch b/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
deleted file mode 100644
index e2d0e3b36bd572..00000000000000
--- a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/3f64a63298ac78f5f2a50a52e3e3f01eef1b51ce/main/py3-lxml/tests-fix-encoding-name.patch
-
-diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
-index 3162155..43b79d7 100644
---- a/src/lxml/tests/test_incremental_xmlfile.py
-+++ b/src/lxml/tests/test_incremental_xmlfile.py
-@@ -177,10 +177,10 @@ class _XmlFileTestCaseBase(HelperTestCase):
- '<test>Comments: <!-- text -->\nEntities: &amp;</test>')
-
- def test_encoding(self):
-- with etree.xmlfile(self._file, encoding='utf16') as xf:
-+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
- with xf.element('test'):
- xf.write('toast')
-- self.assertXml('<test>toast</test>', encoding='utf16')
-+ self.assertXml('<test>toast</test>', encoding='utf-16')
-
- def test_buffering(self):
- with etree.xmlfile(self._file, buffered=False) as xf:
diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 32ac3828139320..8fdf77220f37a5 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,10 +1,10 @@
# Template file for 'python3-lxml'
pkgname=python3-lxml
-version=5.3.0
-revision=2
-build_style=python3-module
-make_build_args="--with-cython"
-hostmakedepends="python3-Cython python3-setuptools"
+version=5.4.0
+revision=1
+build_style=python3-pep517
+make_build_args="-C--build-option=--with-cython"
+hostmakedepends="python3-Cython python3-setuptools python3-wheel"
makedepends="libxslt-devel python3-devel"
depends="python3"
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
@@ -14,7 +14,7 @@ license="BSD-3-Clause, custom:ElementTree"
homepage="https://lxml.de/"
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=eb22f7ceb319c29247cfa398435d00e6286d19a32b4870b67a8e9a38d72f2ebd
+checksum=12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2
do_check() {
make test
From 10620d297e470c8c64461480f6bfaf1eadb6de61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:47:25 -0300
Subject: [PATCH 08/37] python3-soupsieve: update to 2.7.
---
srcpkgs/python3-soupsieve/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-soupsieve/template b/srcpkgs/python3-soupsieve/template
index 107604fec169b0..6e645de8048b71 100644
--- a/srcpkgs/python3-soupsieve/template
+++ b/srcpkgs/python3-soupsieve/template
@@ -1,7 +1,7 @@
# Template file for 'python3-soupsieve'
pkgname=python3-soupsieve
-version=2.4.1
-revision=3
+version=2.7
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
@@ -11,8 +11,9 @@ short_desc="CSS4 selector implementation for Python3 Beautiful Soup"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://facelessuser.github.io/soupsieve/"
+changelog="https://raw.githubusercontent.com/facelessuser/soupsieve/refs/heads/main/docs/src/markdown/about/changelog.md"
distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz"
-checksum=89d12b2d5dfcd2c9e8c22326da9d9aa9cb3dfab0a83a024f05704076ee8d35ea
+checksum=ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a
post_install() {
vlicense LICENSE.md
From e6941355df33f79ba699a1a8d86b6f71ae3ceeee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:51:48 -0300
Subject: [PATCH 09/37] python3-BeautifulSoup4: update to 4.13.4.
---
srcpkgs/python3-BeautifulSoup4/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 364445f875e54c..3bb906b2405f17 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,10 +1,10 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.12.2
-revision=3
+version=4.13.4
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-soupsieve"
+depends="python3-soupsieve python3-typing_extensions"
checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
+checksum=dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195
post_install() {
vlicense LICENSE
From 14d7bb6fa8b135ba8819c24bbbbf1f1ef76f6f62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:07 -0300
Subject: [PATCH 10/37] python3-six: update to 1.17.0.
---
srcpkgs/python3-six/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-six/template b/srcpkgs/python3-six/template
index 2299770fb153c2..19b0812b9fd4e1 100644
--- a/srcpkgs/python3-six/template
+++ b/srcpkgs/python3-six/template
@@ -1,8 +1,8 @@
# Template file for 'python3-six'
pkgname=python3-six
-version=1.16.0
-revision=5
-build_style=python3-module
+version=1.17.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
-checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
+checksum=ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
post_install() {
vlicense LICENSE
From e35caef75f80984a746b79523c0f60d458ce78da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:22 -0300
Subject: [PATCH 11/37] python3-bleach: update to 6.2.0.
---
srcpkgs/python3-bleach/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index 8cf2201528c939..82f2797e85784b 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,7 +1,7 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=6.0.0
-revision=3
+version=6.2.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-six python3-webencodings"
@@ -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=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
+checksum=123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f
From 698b80d027c44ad1afd4de35d87f2de7f396e357 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:26 -0300
Subject: [PATCH 12/37] python3-mistune: update to 3.1.3.
---
srcpkgs/python3-mistune/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-mistune/template b/srcpkgs/python3-mistune/template
index 828db5643c7a2e..2aba5c34737737 100644
--- a/srcpkgs/python3-mistune/template
+++ b/srcpkgs/python3-mistune/template
@@ -1,7 +1,7 @@
# Template file for 'python3-mistune'
pkgname=python3-mistune
-version=3.0.2
-revision=2
+version=3.1.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://mistune.lepture.com/"
changelog="https://raw.githubusercontent.com/lepture/mistune/master/docs/changes.rst"
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
-checksum=fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8
+checksum=a7035c21782b2becb6be62f8f25d3df81ccb4d6fa477a6525b15af06539f02a0
post_install() {
vlicense LICENSE
From e9ca83ddf832a4bcd77539a6e4c0bb0ec58c8e6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:30 -0300
Subject: [PATCH 13/37] python3-pandocfilters: update to 1.5.1.
---
srcpkgs/python3-pandocfilters/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-pandocfilters/template b/srcpkgs/python3-pandocfilters/template
index 45e58c9c94ddeb..ab7efec72a7899 100644
--- a/srcpkgs/python3-pandocfilters/template
+++ b/srcpkgs/python3-pandocfilters/template
@@ -1,8 +1,8 @@
# Template file for 'python3-pandocfilters'
pkgname=python3-pandocfilters
-version=1.5.0
-revision=2
-build_style=python3-module
+version=1.5.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 module for writing pandoc filters"
@@ -10,7 +10,8 @@ maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="http://github.com/jgm/pandocfilters"
distfiles="${PYPI_SITE}/p/pandocfilters/pandocfilters-${version}.tar.gz"
-checksum=0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38
+checksum=002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e
+make_check=no # Upstream defines no tests
post_install() {
vlicense LICENSE
From e15205b5c6a6e310f3682c76d2bf885bf8d4e303 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 11:45:59 -0300
Subject: [PATCH 14/37] hooks/pre-pkg/06-verify-python-deps: support
alternative packages
---
common/scripts/parse-py-metadata.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/common/scripts/parse-py-metadata.py b/common/scripts/parse-py-metadata.py
index 0d9384bf7ef36c..909244d80804f1 100644
--- a/common/scripts/parse-py-metadata.py
+++ b/common/scripts/parse-py-metadata.py
@@ -123,7 +123,8 @@ def parse_depends(args):
pkg = getpkgname(pkgver)
vpkg = map(getpkgname, vpkgvers.split())
for v in vpkg:
- vpkgs[v] = pkg
+ if pkg not in vpkgs.setdefault(v, []):
+ vpkgs[v].append(pkg)
if args.rdeps.exists():
with args.rdeps.open() as f:
@@ -149,12 +150,17 @@ def parse_depends(args):
missing = []
for k in depends.keys():
if k in vpkgs.keys():
- pkgname = vpkgs[k]
- if pkgname in rdeps:
- print(f" PYTHON: {k} <-> {pkgname}", flush=True)
- elif pkgname in global_ignore:
- print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ for pkgname in vpkgs[k]:
+ if pkgname in rdeps:
+ print(f" PYTHON: {k} <-> {pkgname}", flush=True)
+ break
+ elif pkgname in global_ignore:
+ print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ break
else:
+ pkgname = " OR ".join(vpkgs[k])
+ if len(vpkgs[k]) > 1:
+ pkgname = "(" + pkgname + ")"
msg_err(f" PYTHON: {k} <-> {pkgname} NOT IN depends PLEASE FIX!",
nocolor=args.nocolor, strict=args.strict)
missing.append(pkgname)
From ba3daa40d65286275bd72ac2ea258550f38a1002 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:10:39 -0300
Subject: [PATCH 15/37] python3-jupyter_nbconvert: update to 7.16.6.
---
srcpkgs/python3-jupyter_nbconvert/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index 3bf3da5423c28b..1f6a1be11d816d 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,23 +1,23 @@
# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
-version=7.16.4
-revision=2
+version=7.16.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
python3-MarkupSafe python3-mistune python3-nbclient
python3-jupyter_nbformat python3-packaging python3-pandocfilters
- python3-tinycss2"
-checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
- asciidoc inkscape pandoc python3-flaky python3-PyQt5"
+ python3-Pygments python3-traitlets python3-tinycss2"
+checkdepends="$depends python3-pytest-xdist python3-jupyter_ipywidgets
+ asciidoc inkscape pandoc python3-flaky python3-PyQt5 python3-ipython_ipykernel"
short_desc="Converting Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=86ca91ba266b0a448dc96fa6c5b9d98affabde2867b363258703536807f9f7f4
+checksum=576a7e37c6480da7b8465eefa66c17844243816ce1ccc372633c6b71c3c0f582
pre_check() {
# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
From 4ef0aeb7269a3390cab56e7abbe2bc98b6c8a563 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:20:08 -0300
Subject: [PATCH 16/37] New package: python3-forbiddenfruit-0.1.4
---
srcpkgs/python3-forbiddenfruit/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-forbiddenfruit/template
diff --git a/srcpkgs/python3-forbiddenfruit/template b/srcpkgs/python3-forbiddenfruit/template
new file mode 100644
index 00000000000000..fcfe09af6dc6f4
--- /dev/null
+++ b/srcpkgs/python3-forbiddenfruit/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-forbiddenfruit'
+pkgname=python3-forbiddenfruit
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Patch python built-in objects"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later OR MIT"
+homepage="https://github.com/clarete/forbiddenfruit"
+changelog="https://github.com/clarete/forbiddenfruit/releases"
+distfiles="${PYPI_SITE}/f/forbiddenfruit/forbiddenfruit-${version}.tar.gz"
+checksum=e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253
+make_check=no # Tests require removed python3-nose
+
+post_install() {
+ vlicense COPYING.mit
+}
From cf95afbe7ead53d9a0066d4bf93323df1a5812ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:25:30 -0300
Subject: [PATCH 17/37] New package: python3-blockbuster-1.5.24
---
srcpkgs/python3-blockbuster/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-blockbuster/template
diff --git a/srcpkgs/python3-blockbuster/template b/srcpkgs/python3-blockbuster/template
new file mode 100644
index 00000000000000..22aed76d4562ee
--- /dev/null
+++ b/srcpkgs/python3-blockbuster/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-blockbuster'
+pkgname=python3-blockbuster
+version=1.5.24
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-forbiddenfruit"
+checkdepends="$depends python3-pytest-asyncio python3-requests"
+short_desc="Utility to detect blocking calls in the async event loop"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/cbornet/blockbuster"
+changelog="https://github.com/cbornet/blockbuster/releases"
+distfiles="${PYPI_SITE}/b/blockbuster/blockbuster-${version}.tar.gz"
+checksum=97645775761a5d425666ec0bc99629b65c7eccdc2f770d2439850682567af4ec
From 57240d82648ba9029da5f5d31e8591200154f822 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 16:32:14 -0300
Subject: [PATCH 18/37] python3-outcome: update to 1.3.0.post0, fix deps.
---
srcpkgs/python3-outcome/template | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-outcome/template b/srcpkgs/python3-outcome/template
index 5976562a5dcfd2..37f235a4871d10 100644
--- a/srcpkgs/python3-outcome/template
+++ b/srcpkgs/python3-outcome/template
@@ -1,17 +1,18 @@
# Template file for 'python3-outcome'
pkgname=python3-outcome
-version=1.2.0
-revision=3
-build_style=python3-module
+version=1.3.0.post0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
-depends="python3"
-checkdepends="python3-pytest python3-pytest-cov python3-pytest-asyncio"
+depends="python3-attrs"
+checkdepends="$depends python3-pytest python3-pytest-cov python3-pytest-asyncio"
short_desc="Capture the outcome of Python function calls"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/outcome"
+changelog="https://raw.githubusercontent.com/python-trio/outcome/refs/heads/master/docs/source/history.rst"
distfiles="${PYPI_SITE}/o/outcome/outcome-${version}.tar.gz"
-checksum=6f82bd3de45da303cf1f771ecafa1633750a358436a8bb60e06a1ceb745d2672
+checksum=9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8
post_install() {
vlicense LICENSE
From d2e6b73cbcdab71d5e40b8b5e3c1e1afaababfbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 5 Mar 2025 22:13:00 -0300
Subject: [PATCH 19/37] python3-trio: update to 0.30.0.
---
.../patches/fix-for-attrs-24.1.0.patch | 24 -------------------
srcpkgs/python3-trio/template | 14 +++--------
2 files changed, 3 insertions(+), 35 deletions(-)
delete mode 100644 srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
diff --git a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch b/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
deleted file mode 100644
index c4e36205c9c17e..00000000000000
--- a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Cherry picked from: https://github.com/python-trio/trio/pull/3058
-
-From 0152c3efcffe7d9b77b2a765e6992c6685b63499 Mon Sep 17 00:00:00 2001
-From: A5rocks <git@helvetica.moe>
-Date: Mon, 5 Aug 2024 21:29:33 +0900
-Subject: [PATCH 2/5] Fix deprecation warning from attrs
-
----
- src/trio/_threads.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/trio/_threads.py b/src/trio/_threads.py
-index a04b73729..0f0e58500 100644
---- a/src/trio/_threads.py
-+++ b/src/trio/_threads.py
-@@ -139,7 +139,7 @@ def current_default_thread_limiter() -> CapacityLimiter:
- # system; see https://github.com/python-trio/trio/issues/182
- # But for now we just need an object to stand in for the thread, so we can
- # keep track of who's holding the CapacityLimiter's token.
--@attrs.frozen(eq=False, hash=False, slots=False)
-+@attrs.frozen(eq=False, slots=False)
- class ThreadPlaceholder:
- name: str
-
diff --git a/srcpkgs/python3-trio/template b/srcpkgs/python3-trio/template
index 62788e39dc6e1c..d6510e411af9f0 100644
--- a/srcpkgs/python3-trio/template
+++ b/srcpkgs/python3-trio/template
@@ -1,7 +1,7 @@
# Template file for 'python3-trio'
pkgname=python3-trio
-version=0.26.1
-revision=2
+version=0.30.0
+revision=1
build_style=python3-pep517
# Needs astor (https://pypi.org/project/astor/)
make_check_args="--ignore src/trio/_tests/tools/test_gen_exports.py"
@@ -16,15 +16,7 @@ license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/trio"
changelog="https://raw.githubusercontent.com/python-trio/trio/master/docs/source/history.rst"
distfiles="${PYPI_SITE}/t/trio/trio-${version}.tar.gz"
-checksum=6d2fe7ee656146d598ec75128ff4a2386576801b42b691f4a91cc2c18508544a
-make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1"
-
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
- # pthread_getname_np(3) n/a in musl 1.1
- make_check_args+="
- --deselect src/trio/_tests/test_threads.py::test_named_thread_os
- "
-fi
+checksum=0781c857c0c81f8f51e0089929a26b5bb63d57f927728a5586f7e36171f064df
post_install() {
vlicense LICENSE
From 469948ead1967a35710a8809fe43a3526761cbc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Mar 2025 16:44:57 -0300
Subject: [PATCH 20/37] python3-anyio: update to 4.9.0.
---
srcpkgs/python3-anyio/template | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
index 13776f697758c2..ac54658e218a22 100644
--- a/srcpkgs/python3-anyio/template
+++ b/srcpkgs/python3-anyio/template
@@ -1,21 +1,21 @@
# Template file for 'python3-anyio'
pkgname=python3-anyio
-version=4.4.0
-revision=2
+version=4.9.0
+revision=1
build_style=python3-pep517
# This file needs python module `exceptiongroup`
make_check_args="--ignore tests/test_taskgroups.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-sniffio python3-idna"
-checkdepends="$depends python3-pytest-mock python3-hypothesis
- python3-psutil python3-trio python3-trustme python3-uvloop"
+checkdepends="$depends python3-pytest-mock python3-hypothesis python3-psutil
+ python3-trio python3-trustme python3-uvloop python3-blockbuster"
short_desc="High level asynchronous concurrency and networking framework"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/agronholm/anyio"
changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst"
distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
-checksum=5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94
+checksum=673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI
@@ -25,7 +25,8 @@ if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
_test3="(test_iterate)or(test_receive)or(test_reuse)or(test_send)"
_test3="(TestConnectedUDPSocket)and($_test3)and(-ipv6)"
_test4="test_bind_link_local"
- make_check_args+=" -k not(($_test1)or($_test2)or($_test3)or($_test4))"
+ _test5="test_getaddrinfo"
+ make_check_args+=" -k not(($_test1)or($_test2)or($_test3)or($_test4)or($_test5))"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
From a85b160fba95555b2938dcf48a5bc0d4f7e05eaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:01 -0300
Subject: [PATCH 21/37] python3-attrs: update to 25.3.0.
---
srcpkgs/python3-attrs/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template
index c896dd4a9ae070..220008c24762c9 100644
--- a/srcpkgs/python3-attrs/template
+++ b/srcpkgs/python3-attrs/template
@@ -1,6 +1,6 @@
# Template file for 'python3-attrs'
pkgname=python3-attrs
-version=25.1.0
+version=25.3.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools hatch-vcs hatch-fancy-pypi-readme"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://attrs.readthedocs.io/"
changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
-checksum=1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e
+checksum=75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b
post_install() {
vlicense LICENSE
From a8f7ca4c6d725b13dd46eb8d65e8780e65067add Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:04 -0300
Subject: [PATCH 22/37] python3-rpds-py: update to 0.24.0.
---
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 74677c89ee56d5..072f1a7f4d9c2b 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.23.1
+version=0.24.0
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=7f3240dcfa14d198dba24b8b9cb3b108c06b68d45b7babd9eefc1038fdf7e707
+checksum=772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e
post_install() {
vlicense LICENSE
From f3b69b24d92544b79feff7a96f42e437c13e162c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 20:41:25 -0300
Subject: [PATCH 23/37] python3-socks: update to 2.7.1.
---
srcpkgs/python3-socks/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template
index 6f2cbc5c915844..3ff85627752bf9 100644
--- a/srcpkgs/python3-socks/template
+++ b/srcpkgs/python3-socks/template
@@ -1,6 +1,6 @@
# Template file for 'python3-socks'
pkgname=python3-socks
-version=2.6.1
+version=2.7.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
@@ -15,5 +15,5 @@ maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/romis2012/python-socks"
distfiles="${PYPI_SITE}/p/python-socks/python_socks-${version}.tar.gz"
-checksum=9743929aab6ffe0bab640ecfbbee7130af92408ad86e4aa2984789f742f3ec9e
+checksum=f1a0bb603830fe81e332442eada96757b8f8dec02bd22d1d6f5c99a79704c550
make_check_pre="env SKIP_IPV6_TESTS=True"
From 4f7ad6ce06696491e225171a41e5c95a2ab83489 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 20:53:00 -0300
Subject: [PATCH 24/37] python3-websocket-client: update to 1.8.0.
---
srcpkgs/python3-websocket-client/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index b858a4f86452a7..f428fd63df158b 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,7 +1,7 @@
# Template file for 'python3-websocket-client'
pkgname=python3-websocket-client
-version=1.7.0
-revision=2
+version=1.8.0
+revision=1
build_style=python3-pep517
make_check_target="websocket/tests"
hostmakedepends="python3-setuptools python3-wheel"
@@ -13,5 +13,5 @@ license="Apache-2.0"
homepage="https://github.com/websocket-client/websocket-client"
changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v${version}.tar.gz"
-checksum=923c3b7d0cecfdc449eec5e95c90ae6b0ea24e8782d42f23c05d2bb43bfabd39
+checksum=03306a5a5afb4e5bffd7fce4e2fb6438be91c14543cf1d6f506893f831047bfc
conflicts="python-websocket-client"
From fe2352d170ccc97923b4a870d91680b228cc18c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 21:03:34 -0300
Subject: [PATCH 25/37] python3-prometheus_client: update to 0.21.1.
---
srcpkgs/python3-prometheus_client/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-prometheus_client/template b/srcpkgs/python3-prometheus_client/template
index 590d0bf11cdc1d..5ff8a4134cebe1 100644
--- a/srcpkgs/python3-prometheus_client/template
+++ b/srcpkgs/python3-prometheus_client/template
@@ -1,8 +1,8 @@
# Template file for 'python3-prometheus_client'
pkgname=python3-prometheus_client
-version=0.20.0
-revision=2
-build_style=python3-module
+version=0.21.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/prometheus/client_python"
changelog="https://github.com/prometheus/client_python/releases"
distfiles="${PYPI_SITE}/p/prometheus_client/prometheus_client-${version}.tar.gz"
-checksum=287629d00b147a32dcb2be0b9df905da599b2d82f80377083ec8463309a4bb89
+checksum=252505a722ac04b0456be05c05f75f45d760c2911ffc45f2a06bcaed9f3ae3fb
From 41ccc88129e934e1cbf294634855a165721d0dbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 21:04:31 -0300
Subject: [PATCH 26/37] python3-terminado: update to 0.18.1.
---
srcpkgs/python3-terminado/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index 0efb9772886beb..178d9078b0dee9 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,17 @@
# Template file for 'python3-terminado'
pkgname=python3-terminado
-version=0.17.1
-revision=3
+version=0.18.1
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-ptyprocess python3-tornado"
-checkdepends="python3-pytest $depends"
+checkdepends="python3-pytest-timeout $depends"
short_desc="Terminals served to term.js using Tornado websockets"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/takluyver/terminado"
distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=6ccbbcd3a4f8a25a5ec04991f39a0b8db52dfcd487ea0e578d977e6752380333
+checksum=de09f2c4b85de4765f7714688fff57d3e75bad1f909b589fde880460c753fd2e
post_install() {
vlicense LICENSE
From 3a810ee3a42cb6896238e53ab5beeb25d46d324f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 12:18:52 -0300
Subject: [PATCH 27/37] python3-click: update to 8.1.8.
---
srcpkgs/python3-click/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 507938e9182839..195ff81e3368ec 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,9 +1,9 @@
# Template file for 'python3-click'
pkgname=python3-click
-version=8.1.7
-revision=3
-build_style="python3-module"
-hostmakedepends="python3-setuptools"
+version=8.1.8
+revision=1
+build_style="python3-pep517"
+hostmakedepends="python3-flit_core"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python3 package for creating beautiful command line interfaces"
@@ -12,8 +12,8 @@ license="BSD-3-Clause"
homepage="https://palletsprojects.com/p/click/"
changelog="https://raw.githubusercontent.com/pallets/click/main/CHANGES.rst"
distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de
+checksum=ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a
post_install() {
- vlicense LICENSE.rst
+ vlicense LICENSE.txt
}
From c53577cee633ee3a79c918cb4c936c6529ae6d45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:26:34 -0300
Subject: [PATCH 28/37] python3-jupyter_events: update to 0.12.0.
---
.../python3-jupyter_events/patches/fix-dep.patch | 15 +++++++++++++++
srcpkgs/python3-jupyter_events/template | 9 +++++----
2 files changed, 20 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-jupyter_events/patches/fix-dep.patch
diff --git a/srcpkgs/python3-jupyter_events/patches/fix-dep.patch b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
new file mode 100644
index 00000000000000..c96f3c211597dd
--- /dev/null
+++ b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
@@ -0,0 +1,15 @@
+We don't have all dependencies required for `jsonschema[format-nongpl]`.
+However, `rfc3339-validator` and `rfc3986-validator` seem enough, and
+we do have them listed in `depends=`.
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -24,7 +24,7 @@
+ ]
+ dependencies = [
+ "referencing",
+- "jsonschema[format-nongpl]>=4.18.0",
++ "jsonschema>=4.18.0",
+ "python-json-logger>=2.0.4",
+ "pyyaml>=5.3",
+ "traitlets>=5.3",
diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
index f1191124ca7f32..63a6aaa7a988be 100644
--- a/srcpkgs/python3-jupyter_events/template
+++ b/srcpkgs/python3-jupyter_events/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_events'
pkgname=python3-jupyter_events
-version=0.10.0
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-jsonschema python3-json-logger python3-yaml python3-traitlets
- python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator"
+ python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator
+ python3-packaging python3-referencing"
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>"
@@ -13,7 +14,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=670b8229d3cc882ec782144ed22e0d29e1c2d639263f92ca8383e66682845e22
+checksum=fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b
post_install() {
vlicense LICENSE
From 03e23acc94c1a0b842b6e822809a1e0799adf3e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:33:57 -0300
Subject: [PATCH 29/37] python3-jupyter_server: update to 2.15.0.
---
srcpkgs/python3-jupyter_server/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index a91e9f0ea23c76..d9132a12bd9a25 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,14 +1,14 @@
# Template file for 'python3-jupyter_server'
pkgname=python3-jupyter_server
-version=2.14.2
-revision=2
+version=2.15.0
+revision=1
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"
+depends="python3-anyio python3-argon2 python3-Jinja2 python3-jupyter_client
+ python3-jupyter_core python3-jupyter_events python3-jupyter_server_terminals
+ python3-jupyter_nbconvert python3-jupyter_nbformat python3-overrides
+ python3-packaging python3-prometheus_client python3-pyzmq python3-send2trash
+ python3-terminado python3-tornado python3-traitlets python3-websocket-client"
checkdepends="$depends pandoc python3-ipython_ipykernel
python3-pytest-console-scripts python3-pytest-jupyter
python3-pytest-xdist python3-requests python3-flaky"
@@ -18,7 +18,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=66095021aa9638ced276c248b1d81862e4c50f292d575920bbe960de1c56b12b
+checksum=9d446b8697b4f7337a1b7cdcac40778babdd93ba614b6d68ab1c0c918f1c4084
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (connect to a tcp address)
From 50ec9f7c4068da67c59f5f12429a31cb912e9792 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:26:16 -0300
Subject: [PATCH 30/37] python3-coverage: update to 7.8.0.
---
srcpkgs/python3-coverage/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template
index 88a586aba90760..d39d0605041df4 100644
--- a/srcpkgs/python3-coverage/template
+++ b/srcpkgs/python3-coverage/template
@@ -1,8 +1,10 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
-version=7.6.12
+version=7.8.0
revision=1
build_style=python3-pep517
+# this counts files but our installed package has fewer files
+make_check_args="--deselect tests/test_testing.py::test_all_our_source_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis"
@@ -12,7 +14,7 @@ license="Apache-2.0"
homepage="https://github.com/nedbat/coveragepy"
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
-checksum=48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2
+checksum=7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501
pre_check() {
# required setup, see tox.ini
@@ -26,7 +28,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -m installer dist/*.whl
- PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
+ PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
+ ${make_check_args} ${make_check_target}
}
post_install() {
From 7406a8787cd48074e8beef19ebb3473e52592ddd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 17:53:51 -0300
Subject: [PATCH 31/37] python3-pytest-cov: update to 6.1.1.
---
srcpkgs/python3-pytest-cov/template | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index cbf51bbbf4ad8f..5b6f92d7e21edf 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,11 +1,8 @@
# Template file for 'python3-pytest-cov'
pkgname=python3-pytest-cov
-version=5.0.0
-revision=2
+version=6.1.1
+revision=1
build_style=python3-pep517
-# this test fails with python3-coverage >= 7.6
-make_check_args="
- --deselect tests/test_pytest_cov.py::test_term_report_does_not_interact_with_html_output"
hostmakedepends="python3-setuptools"
depends="python3-pytest python3-coverage"
checkdepends="$depends python3-fields python3-process-tests
@@ -15,8 +12,8 @@ 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=5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857
+distfiles="${PYPI_SITE}/p/pytest-cov/pytest_cov-${version}.tar.gz"
+checksum=46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a
do_check() {
# Running via PYTHONPATH breaks a few tests so we use a venv
@@ -25,9 +22,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -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}
+ PYTHONPATH="/${py3_sitelib}" PYTHONUSERBASE=/usr \
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
${make_check_args} ${make_check_target}
}
From e56169c112f2ab74b0997ebf494f55bb064e5f02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:07:48 -0300
Subject: [PATCH 32/37] python3-json5: update to 0.12.0.
---
srcpkgs/python3-json5/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
index a0656d05038ff5..2d9bfebb90fb78 100644
--- a/srcpkgs/python3-json5/template
+++ b/srcpkgs/python3-json5/template
@@ -1,7 +1,7 @@
# Template file for 'python3-json5'
pkgname=python3-json5
-version=0.9.25
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -11,4 +11,4 @@ maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>
license="Apache-2.0"
homepage="https://github.com/dpranke/pyjson5"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
-checksum=a31db9a7d2cd102051e27efd519b9670a3b6be7b9d951145637c0a3e2350e141
+checksum=39b21785fc12c61716a3634b466e3faffc5c679148c2d9cbbef9cc0c15772b6f
From 38262a774dec74b6f596dadaae0f7d4930f256df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:10:11 -0300
Subject: [PATCH 33/37] python3-async-lru: update to 2.0.5.
---
srcpkgs/python3-async-lru/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
index 96456af4a55a51..68439569f5fac0 100644
--- a/srcpkgs/python3-async-lru/template
+++ b/srcpkgs/python3-async-lru/template
@@ -1,7 +1,7 @@
# Template file for 'python3-async-lru'
pkgname=python3-async-lru
-version=2.0.4
-revision=3
+version=2.0.5
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-typing_extensions"
@@ -12,8 +12,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/aio-libs/async-lru"
changelog="https://raw.githubusercontent.com/aio-libs/async-lru/master/CHANGES.rst"
-distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
-checksum=b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627
+distfiles="${PYPI_SITE}/a/async-lru/async_lru-${version}.tar.gz"
+checksum=481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb
post_install() {
vlicense LICENSE
From 0cef0fc3a438c7442109204ebb8f50e29be23610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:32:49 -0300
Subject: [PATCH 34/37] New package: python3-jupyter-lsp-2.2.5
---
srcpkgs/python3-jupyter-lsp/template | 24 ++++++++++++++++++++++++
srcpkgs/python3-jupyter-lsp/update | 3 +++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/python3-jupyter-lsp/template
create mode 100644 srcpkgs/python3-jupyter-lsp/update
diff --git a/srcpkgs/python3-jupyter-lsp/template b/srcpkgs/python3-jupyter-lsp/template
new file mode 100644
index 00000000000000..9114c2dd667ae8
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-jupyter-lsp'
+pkgname=python3-jupyter-lsp
+version=2.2.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_server"
+checkdepends="$depends python3-pytest"
+short_desc="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyter-lsp/jupyter-lsp-${version}.tar.gz"
+checksum=793147a05ad446f809fd53ef1cd19a9f5256fd0a2d6b7ce943a982cb4f545001
+
+# This test needs R package languageserver which we don't have
+make_check_args="
+ --deselect jupyter_lsp/tests/test_detect.py::test_r_package_detection"
+
+post_install() {
+ mv ${DESTDIR}/usr/etc ${DESTDIR}
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyter-lsp/update b/srcpkgs/python3-jupyter-lsp/update
new file mode 100644
index 00000000000000..31ba62a576d642
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/update
@@ -0,0 +1,3 @@
+# override since the github also contains jupyterlab-server tags
+site=https://pypi.org/simple/jupyter-lsp
+pkgname=jupyter-lsp
From 699f5fbe107b4cbc47c0c2b8c58b9b8574f5cffb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:44:54 -0300
Subject: [PATCH 35/37] New package: python3-jupyterlab-lsp-5.1.0
---
srcpkgs/python3-jupyterlab-lsp/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab-lsp/template
diff --git a/srcpkgs/python3-jupyterlab-lsp/template b/srcpkgs/python3-jupyterlab-lsp/template
new file mode 100644
index 00000000000000..7835a6bb8b6d93
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab-lsp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab-lsp'
+pkgname=python3-jupyterlab-lsp
+version=5.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter-lsp jupyterlab"
+short_desc="Coding assistance for JupyterLab with Language Server Protocol"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyterlab-lsp/jupyterlab-lsp-${version}.tar.gz"
+checksum=aeac84093ada6d20ef57ae0e97811cc5796a0cab7237b32f8eddf993c0bb0356
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
From d4f5a97a9341ee1a158c072a454496d69bceca17 Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Thu, 17 Apr 2025 14:54:30 -0400
Subject: [PATCH 36/37] jupyterlab: update to 4.4.1.
---
srcpkgs/jupyterlab/template | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 4782370a75598d..cb263d61a94535 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,21 +1,23 @@
# Template file for 'jupyterlab'
pkgname=jupyterlab
-version=4.2.4
-revision=2
+version=4.4.1
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
depends="nodejs python3-async-lru python3-httpx python3-ipython_ipykernel
- python3-jupyterlab_server python3-notebook_shim"
-checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
+ python3-Jinja2 python3-jupyter_core python3-jupyter_server python3-tornado
+ python3-packaging python3-setuptools python3-jupyter-lsp
+ python3-traitlets python3-jupyterlab_server python3-notebook_shim"
+checkdepends="${depends} python3-pytest-jupyter python3-pytest-xdist"
short_desc="JupyterLab computational environment"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=343a979fb9582fd08c8511823e320703281cd072a0049bcdafdc7afeda7f2537
+checksum=c75c4f33056fbd84f0b31eb44622a00c7a5f981b85adfeb198a83721f0465808
-if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
+if [ "${XBPS_BUILD_ENVIRONMENT}" = void-packages-ci ]; then
# this test fails on CI (network timeout)
make_check_args="
--deselect=jupyterlab/tests/test_build_api.py::TestBuildAPI
From b5a8c940668620978fd1a98386514b3079052684 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 1 May 2025 21:34:48 -0300
Subject: [PATCH 37/37] python3-jupyter_notebook: update to 7.4.1.
---
srcpkgs/python3-jupyter_notebook/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index 3984d364cd7eb5..583d03432f253e 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,11 +1,11 @@
# Template file for 'python3-jupyter_notebook'
pkgname=python3-jupyter_notebook
-version=7.2.1
-revision=2
+version=7.4.1
+revision=1
build_style=python3-pep517
-make_build_args="--skip-dependency-check"
hostmakedepends="hatchling hatch-jupyter-builder jupyterlab"
-depends="jupyterlab"
+depends="python3-jupyter_server python3-jupyterlab_server jupyterlab
+ python3-notebook_shim python3-tornado"
checkdepends="$depends python3-pytest-jupyter"
short_desc="Jupyter interactive notebook"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
@@ -13,7 +13,7 @@ license="BSD-3-Clause"
homepage="https://github.com/jupyter/notebook"
changelog="https://raw.githubusercontent.com/jupyter/notebook/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=4287b6da59740b32173d01d641f763d292f49c30e7a51b89c46ba8473126341e
+checksum=96894962b230013ea0c0a466e4e642c5aace25ba8c86686175b69990ef628ff9
post_install() {
mv ${DESTDIR}/usr/etc ${DESTDIR}
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PR PATCH] [Updated] jupyterlab: update to 4.4.1 (and deps)
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (7 preceding siblings ...)
2025-05-05 15:30 ` tornaria
@ 2025-05-05 19:27 ` tornaria
2025-05-07 23:19 ` tornaria
` (6 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-05-05 19:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1682 bytes --]
There is an updated 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/55117
jupyterlab: update to 4.4.1 (and deps)
- **python3-coverage: update to 7.8.0.**
- **python3-pytest-cov: update to 6.1.1.**
- **python3-json5: update to 0.12.0.**
- **python3-async-lru: update to 2.0.5.**
- **New package: python3-jupyter-lsp-2.2.5**
- **New package: python3-jupyterlab-lsp-5.1.0**
- **jupyterlab: update to 4.4.1**
Includes #54482, #54488, #54489, #54631, #55247.
The jupyterlab update is slightly edited from #55101.
@dkwo
<!-- 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/55117.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-55117.patch --]
[-- Type: text/x-diff, Size: 74828 bytes --]
From a58e2d326c5c03531b94f3d143807639d9a82095 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:31:05 -0300
Subject: [PATCH 01/42] python3-jupyter_widgetsnbextension: update to 4.0.14.
---
srcpkgs/python3-jupyter_widgetsnbextension/template | 8 ++++----
srcpkgs/python3-jupyter_widgetsnbextension/update | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/template b/srcpkgs/python3-jupyter_widgetsnbextension/template
index 82146ccfd62d32..068b3364560be1 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/template
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/template
@@ -1,15 +1,15 @@
# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
-version=4.0.11
-revision=2
+version=4.0.14
+revision=1
build_style=python3-pep517
hostmakedepends="python3-jupyter_packaging"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
-homepage="https://pypi.org/project/widgetsnbextension/"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/widgetsnbextension"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
-checksum=8b22a8f1910bfd188e596fe7fc05dcbd87e810c8a4ba010bdb3da86637398474
+checksum=a3629b04e3edb893212df862038c7232f62973373869db5084aed739b437b5af
make_check=no # Upstream defines no tests
post_install() {
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/update b/srcpkgs/python3-jupyter_widgetsnbextension/update
index d6944b34c12eb0..0e9e4528c1915f 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/update
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/update
@@ -1,2 +1,3 @@
pkgname=widgetsnbextension
+site=https://pypi.org/simple/widgetsnbextension
ignore="*a* *b* *rc*"
From 5d7d7ddb1586a67cb7bffb5ad0961977d7c51cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:36:50 -0300
Subject: [PATCH 02/42] New package: python3-jupyterlab_widgets-3.0.15
---
srcpkgs/python3-jupyterlab_widgets/template | 18 ++++++++++++++++++
srcpkgs/python3-jupyterlab_widgets/update | 3 +++
2 files changed, 21 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab_widgets/template
create mode 100644 srcpkgs/python3-jupyterlab_widgets/update
diff --git a/srcpkgs/python3-jupyterlab_widgets/template b/srcpkgs/python3-jupyterlab_widgets/template
new file mode 100644
index 00000000000000..938fe6f7b0e591
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyterlab_widgets'
+pkgname=python3-jupyterlab_widgets
+version=3.0.15
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-jupyter-builder jupyterlab"
+depends="python3"
+short_desc="Jupyter interactive widgets for JupyterLab"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/jupyterlab_widgets"
+distfiles="${PYPI_SITE}/j/jupyterlab_widgets/jupyterlab_widgets-${version}.tar.gz"
+checksum=2920888a0c2922351a9202817957a68c07d99673504d6cd37345299e971bb08b
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyterlab_widgets/update b/srcpkgs/python3-jupyterlab_widgets/update
new file mode 100644
index 00000000000000..8226cf8d087698
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/update
@@ -0,0 +1,3 @@
+pkgname=jupyterlab_widgets
+site=https://pypi.org/simple/jupyterlab_widgets
+ignore="*a* *b* *rc*"
From cede31b9b04513c286379b0547fd244726043312 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:39:43 -0300
Subject: [PATCH 03/42] python3-jupyter_ipywidgets: update to 8.1.7.
---
.../patches/pytest8.patch | 93 -------------------
srcpkgs/python3-jupyter_ipywidgets/template | 12 ++-
srcpkgs/python3-jupyter_ipywidgets/update | 1 +
3 files changed, 8 insertions(+), 98 deletions(-)
delete mode 100644 srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
diff --git a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch b/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
deleted file mode 100644
index 2f8499a3ae76b9..00000000000000
--- a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-See: https://github.com/jupyter-widgets/ipywidgets/pull/3903
-
-From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Thu, 11 Apr 2024 11:40:15 +0200
-Subject: [PATCH] Fix compatibility with pytest 8
-
-Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
----
- .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
- python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 -
- .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +-
- .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +-
- python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++---
- 5 files changed, 5 insertions(+), 8 deletions(-)
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-index 0dc7e5fcfc..feb1afe50c 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-@@ -19,8 +19,6 @@
- # Utility stuff
- #-----------------------------------------------------------------------------
-
--from .utils import setup, teardown
--
- def f(**kwargs):
- pass
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-index 0c92dfdcb2..9301764d40 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-@@ -4,7 +4,6 @@
- import pytest
-
- from .. import jslink, jsdlink, ToggleButton
--from .utils import setup, teardown
-
- def test_jslink_args():
- with pytest.raises(TypeError):
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-index ec18ae4af1..98465b9b7d 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-@@ -3,7 +3,7 @@
-
- from traitlets import Bool, Tuple, List
-
--from .utils import setup, teardown, DummyComm
-+from .utils import setup
-
- from ..widget import Widget
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-index 82ecbd9311..22ec54d90f 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-@@ -6,7 +6,7 @@
-
- from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
-
--from .utils import setup, teardown
-+from .utils import setup
-
- import ipywidgets
- from ipywidgets import Widget
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/utils.py b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-index 260485e3f8..8dbbcb355b 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-@@ -12,7 +12,7 @@
- NEW_COMM_PACKAGE = False
-
- import ipykernel.comm
--
-+import pytest
-
- class DummyComm():
- comm_id = 'a-b-c-d'
-@@ -87,10 +87,10 @@ def teardown_test_comm():
- setattr(Widget, attr, value)
- _widget_attrs.clear()
-
-+@pytest.fixture(autouse=True)
- def setup():
- setup_test_comm()
--
--def teardown():
-+ yield
- teardown_test_comm()
-
- def call_method(method, *args, **kwargs):
diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index da7840682a6178..ecaf9dead1ffa1 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,18 +1,20 @@
# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
-version=8.1.3
-revision=2
+version=8.1.7
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
-depends="python3-ipython_ipykernel python3-jupyter_widgetsnbextension"
-checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
+depends="python3-comm python3-ipython python3-traitlets
+ python3-jupyter_widgetsnbextension python3-jupyterlab_widgets"
+checkdepends="$depends python3-pytest python3-jsonschema python3-pytz
+ python3-ipython_ipykernel"
short_desc="IPython widgets for the Jupyter notebook"
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=f5f9eeaae082b1823ce9eac2575272952f40d748893972956dc09700a6392d9c
+checksum=15f1ac050b9ccbefd45dccfbb2ef6bed0029d8278682d569d71b8dd96bee0376
# main repo `.../python/ipywidgets/ipywidgets/` is `.../ipywidgets/` here
patch_args=-Np3
diff --git a/srcpkgs/python3-jupyter_ipywidgets/update b/srcpkgs/python3-jupyter_ipywidgets/update
index 44da8f2e3c582e..eb8d6c97887770 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/update
+++ b/srcpkgs/python3-jupyter_ipywidgets/update
@@ -1,2 +1,3 @@
pkgname=ipywidgets
+site=https://pypi.org/simple/ipywidgets
ignore="*a* *b* *rc*"
From 1e92476d6fffe601a5b65152fe93a68843946af5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:12:02 -0300
Subject: [PATCH 04/42] python3-pytest-asyncio: update to 0.26.0.
---
srcpkgs/python3-pytest-asyncio/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template
index f1ca23d6a818d5..4d067f0213566f 100644
--- a/srcpkgs/python3-pytest-asyncio/template
+++ b/srcpkgs/python3-pytest-asyncio/template
@@ -1,6 +1,6 @@
# Template file for 'python3-pytest-asyncio'
pkgname=python3-pytest-asyncio
-version=0.25.3
+version=0.26.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
@@ -12,7 +12,7 @@ license="Apache-2.0"
homepage="https://github.com/pytest-dev/pytest-asyncio"
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst"
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest_asyncio-${version}.tar.gz"
-checksum=fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a
+checksum=c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (bind to a tcp address)
From ce08fb18535de16b4f2e9a0fa7d2c128264143d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:39 -0300
Subject: [PATCH 05/42] python3-xmltodict: update to 0.14.2.
---
srcpkgs/python3-xmltodict/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-xmltodict/template b/srcpkgs/python3-xmltodict/template
index cf444ee312210f..abe56821b12a5e 100644
--- a/srcpkgs/python3-xmltodict/template
+++ b/srcpkgs/python3-xmltodict/template
@@ -1,8 +1,8 @@
# Template file for 'python3-xmltodict'
pkgname=python3-xmltodict
-version=0.13.0
-revision=3
-build_style=python3-module
+version=0.14.2
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/martinblech/xmltodict"
changelog="https://raw.githubusercontent.com/martinblech/xmltodict/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz"
-checksum=341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56
+checksum=201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553
post_install() {
vlicense LICENSE
From 8de7b6492eeffee217d487f7f5e73f63709ae4bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:44 -0300
Subject: [PATCH 06/42] python3-nbclient: update to 0.10.2.
---
srcpkgs/python3-nbclient/template | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index 3bf13e904a1d0c..b2666af9d1a1d9 100644
--- a/srcpkgs/python3-nbclient/template
+++ b/srcpkgs/python3-nbclient/template
@@ -1,25 +1,21 @@
# Template file for 'python3-nbclient'
pkgname=python3-nbclient
-version=0.10.0
-revision=2
+version=0.10.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-jupyter_client python3-jupyter_nbformat"
+depends="python3-jupyter_client python3-jupyter_core python3-jupyter_nbformat
+ python3-traitlets"
checkdepends="$depends python3-pytest-asyncio python3-testpath
- python3-flaky python3-jupyter_ipywidgets python3-xmltodict"
+ python3-flaky python3-jupyter_ipywidgets python3-xmltodict
+ python3-ipython_ipykernel python3-jupyter_nbconvert"
short_desc="Client library for executing Jupyter notebooks"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09
-make_check=extended # avoid a circular dependency
-
-if [ "$XBPS_CHECK_PKGS" = full ]; then
- # this would cause a build-time circular dependency
- checkdepends+=" python3-jupyter_nbconvert"
-fi
+checksum=90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193
post_install() {
vlicense LICENSE
From d44661421268dd80c73536e7485cdd8ac875d80c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:37:47 -0300
Subject: [PATCH 07/42] python3-lxml: update to 5.4.0.
---
.../patches/fix-encoding-tests-musl.patch | 19 -------------------
srcpkgs/python3-lxml/template | 12 ++++++------
2 files changed, 6 insertions(+), 25 deletions(-)
delete mode 100644 srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
diff --git a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch b/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
deleted file mode 100644
index e2d0e3b36bd572..00000000000000
--- a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/3f64a63298ac78f5f2a50a52e3e3f01eef1b51ce/main/py3-lxml/tests-fix-encoding-name.patch
-
-diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
-index 3162155..43b79d7 100644
---- a/src/lxml/tests/test_incremental_xmlfile.py
-+++ b/src/lxml/tests/test_incremental_xmlfile.py
-@@ -177,10 +177,10 @@ class _XmlFileTestCaseBase(HelperTestCase):
- '<test>Comments: <!-- text -->\nEntities: &amp;</test>')
-
- def test_encoding(self):
-- with etree.xmlfile(self._file, encoding='utf16') as xf:
-+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
- with xf.element('test'):
- xf.write('toast')
-- self.assertXml('<test>toast</test>', encoding='utf16')
-+ self.assertXml('<test>toast</test>', encoding='utf-16')
-
- def test_buffering(self):
- with etree.xmlfile(self._file, buffered=False) as xf:
diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 32ac3828139320..8fdf77220f37a5 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,10 +1,10 @@
# Template file for 'python3-lxml'
pkgname=python3-lxml
-version=5.3.0
-revision=2
-build_style=python3-module
-make_build_args="--with-cython"
-hostmakedepends="python3-Cython python3-setuptools"
+version=5.4.0
+revision=1
+build_style=python3-pep517
+make_build_args="-C--build-option=--with-cython"
+hostmakedepends="python3-Cython python3-setuptools python3-wheel"
makedepends="libxslt-devel python3-devel"
depends="python3"
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
@@ -14,7 +14,7 @@ license="BSD-3-Clause, custom:ElementTree"
homepage="https://lxml.de/"
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=eb22f7ceb319c29247cfa398435d00e6286d19a32b4870b67a8e9a38d72f2ebd
+checksum=12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2
do_check() {
make test
From 10620d297e470c8c64461480f6bfaf1eadb6de61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:47:25 -0300
Subject: [PATCH 08/42] python3-soupsieve: update to 2.7.
---
srcpkgs/python3-soupsieve/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-soupsieve/template b/srcpkgs/python3-soupsieve/template
index 107604fec169b0..6e645de8048b71 100644
--- a/srcpkgs/python3-soupsieve/template
+++ b/srcpkgs/python3-soupsieve/template
@@ -1,7 +1,7 @@
# Template file for 'python3-soupsieve'
pkgname=python3-soupsieve
-version=2.4.1
-revision=3
+version=2.7
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
@@ -11,8 +11,9 @@ short_desc="CSS4 selector implementation for Python3 Beautiful Soup"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://facelessuser.github.io/soupsieve/"
+changelog="https://raw.githubusercontent.com/facelessuser/soupsieve/refs/heads/main/docs/src/markdown/about/changelog.md"
distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz"
-checksum=89d12b2d5dfcd2c9e8c22326da9d9aa9cb3dfab0a83a024f05704076ee8d35ea
+checksum=ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a
post_install() {
vlicense LICENSE.md
From e6941355df33f79ba699a1a8d86b6f71ae3ceeee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:51:48 -0300
Subject: [PATCH 09/42] python3-BeautifulSoup4: update to 4.13.4.
---
srcpkgs/python3-BeautifulSoup4/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 364445f875e54c..3bb906b2405f17 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,10 +1,10 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.12.2
-revision=3
+version=4.13.4
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-soupsieve"
+depends="python3-soupsieve python3-typing_extensions"
checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
+checksum=dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195
post_install() {
vlicense LICENSE
From 14d7bb6fa8b135ba8819c24bbbbf1f1ef76f6f62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:07 -0300
Subject: [PATCH 10/42] python3-six: update to 1.17.0.
---
srcpkgs/python3-six/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-six/template b/srcpkgs/python3-six/template
index 2299770fb153c2..19b0812b9fd4e1 100644
--- a/srcpkgs/python3-six/template
+++ b/srcpkgs/python3-six/template
@@ -1,8 +1,8 @@
# Template file for 'python3-six'
pkgname=python3-six
-version=1.16.0
-revision=5
-build_style=python3-module
+version=1.17.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
-checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
+checksum=ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
post_install() {
vlicense LICENSE
From e35caef75f80984a746b79523c0f60d458ce78da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:22 -0300
Subject: [PATCH 11/42] python3-bleach: update to 6.2.0.
---
srcpkgs/python3-bleach/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index 8cf2201528c939..82f2797e85784b 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,7 +1,7 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=6.0.0
-revision=3
+version=6.2.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-six python3-webencodings"
@@ -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=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
+checksum=123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f
From 698b80d027c44ad1afd4de35d87f2de7f396e357 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:26 -0300
Subject: [PATCH 12/42] python3-mistune: update to 3.1.3.
---
srcpkgs/python3-mistune/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-mistune/template b/srcpkgs/python3-mistune/template
index 828db5643c7a2e..2aba5c34737737 100644
--- a/srcpkgs/python3-mistune/template
+++ b/srcpkgs/python3-mistune/template
@@ -1,7 +1,7 @@
# Template file for 'python3-mistune'
pkgname=python3-mistune
-version=3.0.2
-revision=2
+version=3.1.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://mistune.lepture.com/"
changelog="https://raw.githubusercontent.com/lepture/mistune/master/docs/changes.rst"
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
-checksum=fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8
+checksum=a7035c21782b2becb6be62f8f25d3df81ccb4d6fa477a6525b15af06539f02a0
post_install() {
vlicense LICENSE
From e9ca83ddf832a4bcd77539a6e4c0bb0ec58c8e6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:30 -0300
Subject: [PATCH 13/42] python3-pandocfilters: update to 1.5.1.
---
srcpkgs/python3-pandocfilters/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-pandocfilters/template b/srcpkgs/python3-pandocfilters/template
index 45e58c9c94ddeb..ab7efec72a7899 100644
--- a/srcpkgs/python3-pandocfilters/template
+++ b/srcpkgs/python3-pandocfilters/template
@@ -1,8 +1,8 @@
# Template file for 'python3-pandocfilters'
pkgname=python3-pandocfilters
-version=1.5.0
-revision=2
-build_style=python3-module
+version=1.5.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 module for writing pandoc filters"
@@ -10,7 +10,8 @@ maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="http://github.com/jgm/pandocfilters"
distfiles="${PYPI_SITE}/p/pandocfilters/pandocfilters-${version}.tar.gz"
-checksum=0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38
+checksum=002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e
+make_check=no # Upstream defines no tests
post_install() {
vlicense LICENSE
From e15205b5c6a6e310f3682c76d2bf885bf8d4e303 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 11:45:59 -0300
Subject: [PATCH 14/42] hooks/pre-pkg/06-verify-python-deps: support
alternative packages
---
common/scripts/parse-py-metadata.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/common/scripts/parse-py-metadata.py b/common/scripts/parse-py-metadata.py
index 0d9384bf7ef36c..909244d80804f1 100644
--- a/common/scripts/parse-py-metadata.py
+++ b/common/scripts/parse-py-metadata.py
@@ -123,7 +123,8 @@ def parse_depends(args):
pkg = getpkgname(pkgver)
vpkg = map(getpkgname, vpkgvers.split())
for v in vpkg:
- vpkgs[v] = pkg
+ if pkg not in vpkgs.setdefault(v, []):
+ vpkgs[v].append(pkg)
if args.rdeps.exists():
with args.rdeps.open() as f:
@@ -149,12 +150,17 @@ def parse_depends(args):
missing = []
for k in depends.keys():
if k in vpkgs.keys():
- pkgname = vpkgs[k]
- if pkgname in rdeps:
- print(f" PYTHON: {k} <-> {pkgname}", flush=True)
- elif pkgname in global_ignore:
- print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ for pkgname in vpkgs[k]:
+ if pkgname in rdeps:
+ print(f" PYTHON: {k} <-> {pkgname}", flush=True)
+ break
+ elif pkgname in global_ignore:
+ print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ break
else:
+ pkgname = " OR ".join(vpkgs[k])
+ if len(vpkgs[k]) > 1:
+ pkgname = "(" + pkgname + ")"
msg_err(f" PYTHON: {k} <-> {pkgname} NOT IN depends PLEASE FIX!",
nocolor=args.nocolor, strict=args.strict)
missing.append(pkgname)
From ba3daa40d65286275bd72ac2ea258550f38a1002 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:10:39 -0300
Subject: [PATCH 15/42] python3-jupyter_nbconvert: update to 7.16.6.
---
srcpkgs/python3-jupyter_nbconvert/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index 3bf3da5423c28b..1f6a1be11d816d 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,23 +1,23 @@
# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
-version=7.16.4
-revision=2
+version=7.16.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
python3-MarkupSafe python3-mistune python3-nbclient
python3-jupyter_nbformat python3-packaging python3-pandocfilters
- python3-tinycss2"
-checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
- asciidoc inkscape pandoc python3-flaky python3-PyQt5"
+ python3-Pygments python3-traitlets python3-tinycss2"
+checkdepends="$depends python3-pytest-xdist python3-jupyter_ipywidgets
+ asciidoc inkscape pandoc python3-flaky python3-PyQt5 python3-ipython_ipykernel"
short_desc="Converting Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=86ca91ba266b0a448dc96fa6c5b9d98affabde2867b363258703536807f9f7f4
+checksum=576a7e37c6480da7b8465eefa66c17844243816ce1ccc372633c6b71c3c0f582
pre_check() {
# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
From 4ef0aeb7269a3390cab56e7abbe2bc98b6c8a563 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:20:08 -0300
Subject: [PATCH 16/42] New package: python3-forbiddenfruit-0.1.4
---
srcpkgs/python3-forbiddenfruit/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-forbiddenfruit/template
diff --git a/srcpkgs/python3-forbiddenfruit/template b/srcpkgs/python3-forbiddenfruit/template
new file mode 100644
index 00000000000000..fcfe09af6dc6f4
--- /dev/null
+++ b/srcpkgs/python3-forbiddenfruit/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-forbiddenfruit'
+pkgname=python3-forbiddenfruit
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Patch python built-in objects"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later OR MIT"
+homepage="https://github.com/clarete/forbiddenfruit"
+changelog="https://github.com/clarete/forbiddenfruit/releases"
+distfiles="${PYPI_SITE}/f/forbiddenfruit/forbiddenfruit-${version}.tar.gz"
+checksum=e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253
+make_check=no # Tests require removed python3-nose
+
+post_install() {
+ vlicense COPYING.mit
+}
From cf95afbe7ead53d9a0066d4bf93323df1a5812ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:25:30 -0300
Subject: [PATCH 17/42] New package: python3-blockbuster-1.5.24
---
srcpkgs/python3-blockbuster/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-blockbuster/template
diff --git a/srcpkgs/python3-blockbuster/template b/srcpkgs/python3-blockbuster/template
new file mode 100644
index 00000000000000..22aed76d4562ee
--- /dev/null
+++ b/srcpkgs/python3-blockbuster/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-blockbuster'
+pkgname=python3-blockbuster
+version=1.5.24
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-forbiddenfruit"
+checkdepends="$depends python3-pytest-asyncio python3-requests"
+short_desc="Utility to detect blocking calls in the async event loop"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/cbornet/blockbuster"
+changelog="https://github.com/cbornet/blockbuster/releases"
+distfiles="${PYPI_SITE}/b/blockbuster/blockbuster-${version}.tar.gz"
+checksum=97645775761a5d425666ec0bc99629b65c7eccdc2f770d2439850682567af4ec
From 57240d82648ba9029da5f5d31e8591200154f822 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 16:32:14 -0300
Subject: [PATCH 18/42] python3-outcome: update to 1.3.0.post0, fix deps.
---
srcpkgs/python3-outcome/template | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-outcome/template b/srcpkgs/python3-outcome/template
index 5976562a5dcfd2..37f235a4871d10 100644
--- a/srcpkgs/python3-outcome/template
+++ b/srcpkgs/python3-outcome/template
@@ -1,17 +1,18 @@
# Template file for 'python3-outcome'
pkgname=python3-outcome
-version=1.2.0
-revision=3
-build_style=python3-module
+version=1.3.0.post0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
-depends="python3"
-checkdepends="python3-pytest python3-pytest-cov python3-pytest-asyncio"
+depends="python3-attrs"
+checkdepends="$depends python3-pytest python3-pytest-cov python3-pytest-asyncio"
short_desc="Capture the outcome of Python function calls"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/outcome"
+changelog="https://raw.githubusercontent.com/python-trio/outcome/refs/heads/master/docs/source/history.rst"
distfiles="${PYPI_SITE}/o/outcome/outcome-${version}.tar.gz"
-checksum=6f82bd3de45da303cf1f771ecafa1633750a358436a8bb60e06a1ceb745d2672
+checksum=9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8
post_install() {
vlicense LICENSE
From d2e6b73cbcdab71d5e40b8b5e3c1e1afaababfbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 5 Mar 2025 22:13:00 -0300
Subject: [PATCH 19/42] python3-trio: update to 0.30.0.
---
.../patches/fix-for-attrs-24.1.0.patch | 24 -------------------
srcpkgs/python3-trio/template | 14 +++--------
2 files changed, 3 insertions(+), 35 deletions(-)
delete mode 100644 srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
diff --git a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch b/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
deleted file mode 100644
index c4e36205c9c17e..00000000000000
--- a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Cherry picked from: https://github.com/python-trio/trio/pull/3058
-
-From 0152c3efcffe7d9b77b2a765e6992c6685b63499 Mon Sep 17 00:00:00 2001
-From: A5rocks <git@helvetica.moe>
-Date: Mon, 5 Aug 2024 21:29:33 +0900
-Subject: [PATCH 2/5] Fix deprecation warning from attrs
-
----
- src/trio/_threads.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/trio/_threads.py b/src/trio/_threads.py
-index a04b73729..0f0e58500 100644
---- a/src/trio/_threads.py
-+++ b/src/trio/_threads.py
-@@ -139,7 +139,7 @@ def current_default_thread_limiter() -> CapacityLimiter:
- # system; see https://github.com/python-trio/trio/issues/182
- # But for now we just need an object to stand in for the thread, so we can
- # keep track of who's holding the CapacityLimiter's token.
--@attrs.frozen(eq=False, hash=False, slots=False)
-+@attrs.frozen(eq=False, slots=False)
- class ThreadPlaceholder:
- name: str
-
diff --git a/srcpkgs/python3-trio/template b/srcpkgs/python3-trio/template
index 62788e39dc6e1c..d6510e411af9f0 100644
--- a/srcpkgs/python3-trio/template
+++ b/srcpkgs/python3-trio/template
@@ -1,7 +1,7 @@
# Template file for 'python3-trio'
pkgname=python3-trio
-version=0.26.1
-revision=2
+version=0.30.0
+revision=1
build_style=python3-pep517
# Needs astor (https://pypi.org/project/astor/)
make_check_args="--ignore src/trio/_tests/tools/test_gen_exports.py"
@@ -16,15 +16,7 @@ license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/trio"
changelog="https://raw.githubusercontent.com/python-trio/trio/master/docs/source/history.rst"
distfiles="${PYPI_SITE}/t/trio/trio-${version}.tar.gz"
-checksum=6d2fe7ee656146d598ec75128ff4a2386576801b42b691f4a91cc2c18508544a
-make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1"
-
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
- # pthread_getname_np(3) n/a in musl 1.1
- make_check_args+="
- --deselect src/trio/_tests/test_threads.py::test_named_thread_os
- "
-fi
+checksum=0781c857c0c81f8f51e0089929a26b5bb63d57f927728a5586f7e36171f064df
post_install() {
vlicense LICENSE
From 469948ead1967a35710a8809fe43a3526761cbc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Mar 2025 16:44:57 -0300
Subject: [PATCH 20/42] python3-anyio: update to 4.9.0.
---
srcpkgs/python3-anyio/template | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
index 13776f697758c2..ac54658e218a22 100644
--- a/srcpkgs/python3-anyio/template
+++ b/srcpkgs/python3-anyio/template
@@ -1,21 +1,21 @@
# Template file for 'python3-anyio'
pkgname=python3-anyio
-version=4.4.0
-revision=2
+version=4.9.0
+revision=1
build_style=python3-pep517
# This file needs python module `exceptiongroup`
make_check_args="--ignore tests/test_taskgroups.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-sniffio python3-idna"
-checkdepends="$depends python3-pytest-mock python3-hypothesis
- python3-psutil python3-trio python3-trustme python3-uvloop"
+checkdepends="$depends python3-pytest-mock python3-hypothesis python3-psutil
+ python3-trio python3-trustme python3-uvloop python3-blockbuster"
short_desc="High level asynchronous concurrency and networking framework"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/agronholm/anyio"
changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst"
distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
-checksum=5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94
+checksum=673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI
@@ -25,7 +25,8 @@ if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
_test3="(test_iterate)or(test_receive)or(test_reuse)or(test_send)"
_test3="(TestConnectedUDPSocket)and($_test3)and(-ipv6)"
_test4="test_bind_link_local"
- make_check_args+=" -k not(($_test1)or($_test2)or($_test3)or($_test4))"
+ _test5="test_getaddrinfo"
+ make_check_args+=" -k not(($_test1)or($_test2)or($_test3)or($_test4)or($_test5))"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
From a85b160fba95555b2938dcf48a5bc0d4f7e05eaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:01 -0300
Subject: [PATCH 21/42] python3-attrs: update to 25.3.0.
---
srcpkgs/python3-attrs/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template
index c896dd4a9ae070..220008c24762c9 100644
--- a/srcpkgs/python3-attrs/template
+++ b/srcpkgs/python3-attrs/template
@@ -1,6 +1,6 @@
# Template file for 'python3-attrs'
pkgname=python3-attrs
-version=25.1.0
+version=25.3.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools hatch-vcs hatch-fancy-pypi-readme"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://attrs.readthedocs.io/"
changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
-checksum=1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e
+checksum=75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b
post_install() {
vlicense LICENSE
From a8f7ca4c6d725b13dd46eb8d65e8780e65067add Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:04 -0300
Subject: [PATCH 22/42] python3-rpds-py: update to 0.24.0.
---
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 74677c89ee56d5..072f1a7f4d9c2b 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.23.1
+version=0.24.0
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=7f3240dcfa14d198dba24b8b9cb3b108c06b68d45b7babd9eefc1038fdf7e707
+checksum=772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e
post_install() {
vlicense LICENSE
From f3b69b24d92544b79feff7a96f42e437c13e162c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 20:41:25 -0300
Subject: [PATCH 23/42] python3-socks: update to 2.7.1.
---
srcpkgs/python3-socks/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template
index 6f2cbc5c915844..3ff85627752bf9 100644
--- a/srcpkgs/python3-socks/template
+++ b/srcpkgs/python3-socks/template
@@ -1,6 +1,6 @@
# Template file for 'python3-socks'
pkgname=python3-socks
-version=2.6.1
+version=2.7.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
@@ -15,5 +15,5 @@ maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/romis2012/python-socks"
distfiles="${PYPI_SITE}/p/python-socks/python_socks-${version}.tar.gz"
-checksum=9743929aab6ffe0bab640ecfbbee7130af92408ad86e4aa2984789f742f3ec9e
+checksum=f1a0bb603830fe81e332442eada96757b8f8dec02bd22d1d6f5c99a79704c550
make_check_pre="env SKIP_IPV6_TESTS=True"
From 4f7ad6ce06696491e225171a41e5c95a2ab83489 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 20:53:00 -0300
Subject: [PATCH 24/42] python3-websocket-client: update to 1.8.0.
---
srcpkgs/python3-websocket-client/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index b858a4f86452a7..f428fd63df158b 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,7 +1,7 @@
# Template file for 'python3-websocket-client'
pkgname=python3-websocket-client
-version=1.7.0
-revision=2
+version=1.8.0
+revision=1
build_style=python3-pep517
make_check_target="websocket/tests"
hostmakedepends="python3-setuptools python3-wheel"
@@ -13,5 +13,5 @@ license="Apache-2.0"
homepage="https://github.com/websocket-client/websocket-client"
changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v${version}.tar.gz"
-checksum=923c3b7d0cecfdc449eec5e95c90ae6b0ea24e8782d42f23c05d2bb43bfabd39
+checksum=03306a5a5afb4e5bffd7fce4e2fb6438be91c14543cf1d6f506893f831047bfc
conflicts="python-websocket-client"
From fe2352d170ccc97923b4a870d91680b228cc18c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 21:03:34 -0300
Subject: [PATCH 25/42] python3-prometheus_client: update to 0.21.1.
---
srcpkgs/python3-prometheus_client/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-prometheus_client/template b/srcpkgs/python3-prometheus_client/template
index 590d0bf11cdc1d..5ff8a4134cebe1 100644
--- a/srcpkgs/python3-prometheus_client/template
+++ b/srcpkgs/python3-prometheus_client/template
@@ -1,8 +1,8 @@
# Template file for 'python3-prometheus_client'
pkgname=python3-prometheus_client
-version=0.20.0
-revision=2
-build_style=python3-module
+version=0.21.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/prometheus/client_python"
changelog="https://github.com/prometheus/client_python/releases"
distfiles="${PYPI_SITE}/p/prometheus_client/prometheus_client-${version}.tar.gz"
-checksum=287629d00b147a32dcb2be0b9df905da599b2d82f80377083ec8463309a4bb89
+checksum=252505a722ac04b0456be05c05f75f45d760c2911ffc45f2a06bcaed9f3ae3fb
From 41ccc88129e934e1cbf294634855a165721d0dbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 21:04:31 -0300
Subject: [PATCH 26/42] python3-terminado: update to 0.18.1.
---
srcpkgs/python3-terminado/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index 0efb9772886beb..178d9078b0dee9 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,17 @@
# Template file for 'python3-terminado'
pkgname=python3-terminado
-version=0.17.1
-revision=3
+version=0.18.1
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-ptyprocess python3-tornado"
-checkdepends="python3-pytest $depends"
+checkdepends="python3-pytest-timeout $depends"
short_desc="Terminals served to term.js using Tornado websockets"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/takluyver/terminado"
distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=6ccbbcd3a4f8a25a5ec04991f39a0b8db52dfcd487ea0e578d977e6752380333
+checksum=de09f2c4b85de4765f7714688fff57d3e75bad1f909b589fde880460c753fd2e
post_install() {
vlicense LICENSE
From 3a810ee3a42cb6896238e53ab5beeb25d46d324f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 12:18:52 -0300
Subject: [PATCH 27/42] python3-click: update to 8.1.8.
---
srcpkgs/python3-click/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 507938e9182839..195ff81e3368ec 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,9 +1,9 @@
# Template file for 'python3-click'
pkgname=python3-click
-version=8.1.7
-revision=3
-build_style="python3-module"
-hostmakedepends="python3-setuptools"
+version=8.1.8
+revision=1
+build_style="python3-pep517"
+hostmakedepends="python3-flit_core"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python3 package for creating beautiful command line interfaces"
@@ -12,8 +12,8 @@ license="BSD-3-Clause"
homepage="https://palletsprojects.com/p/click/"
changelog="https://raw.githubusercontent.com/pallets/click/main/CHANGES.rst"
distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de
+checksum=ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a
post_install() {
- vlicense LICENSE.rst
+ vlicense LICENSE.txt
}
From c53577cee633ee3a79c918cb4c936c6529ae6d45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:26:34 -0300
Subject: [PATCH 28/42] python3-jupyter_events: update to 0.12.0.
---
.../python3-jupyter_events/patches/fix-dep.patch | 15 +++++++++++++++
srcpkgs/python3-jupyter_events/template | 9 +++++----
2 files changed, 20 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-jupyter_events/patches/fix-dep.patch
diff --git a/srcpkgs/python3-jupyter_events/patches/fix-dep.patch b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
new file mode 100644
index 00000000000000..c96f3c211597dd
--- /dev/null
+++ b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
@@ -0,0 +1,15 @@
+We don't have all dependencies required for `jsonschema[format-nongpl]`.
+However, `rfc3339-validator` and `rfc3986-validator` seem enough, and
+we do have them listed in `depends=`.
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -24,7 +24,7 @@
+ ]
+ dependencies = [
+ "referencing",
+- "jsonschema[format-nongpl]>=4.18.0",
++ "jsonschema>=4.18.0",
+ "python-json-logger>=2.0.4",
+ "pyyaml>=5.3",
+ "traitlets>=5.3",
diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
index f1191124ca7f32..63a6aaa7a988be 100644
--- a/srcpkgs/python3-jupyter_events/template
+++ b/srcpkgs/python3-jupyter_events/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_events'
pkgname=python3-jupyter_events
-version=0.10.0
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-jsonschema python3-json-logger python3-yaml python3-traitlets
- python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator"
+ python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator
+ python3-packaging python3-referencing"
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>"
@@ -13,7 +14,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=670b8229d3cc882ec782144ed22e0d29e1c2d639263f92ca8383e66682845e22
+checksum=fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b
post_install() {
vlicense LICENSE
From 03e23acc94c1a0b842b6e822809a1e0799adf3e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:33:57 -0300
Subject: [PATCH 29/42] python3-jupyter_server: update to 2.15.0.
---
srcpkgs/python3-jupyter_server/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index a91e9f0ea23c76..d9132a12bd9a25 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,14 +1,14 @@
# Template file for 'python3-jupyter_server'
pkgname=python3-jupyter_server
-version=2.14.2
-revision=2
+version=2.15.0
+revision=1
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"
+depends="python3-anyio python3-argon2 python3-Jinja2 python3-jupyter_client
+ python3-jupyter_core python3-jupyter_events python3-jupyter_server_terminals
+ python3-jupyter_nbconvert python3-jupyter_nbformat python3-overrides
+ python3-packaging python3-prometheus_client python3-pyzmq python3-send2trash
+ python3-terminado python3-tornado python3-traitlets python3-websocket-client"
checkdepends="$depends pandoc python3-ipython_ipykernel
python3-pytest-console-scripts python3-pytest-jupyter
python3-pytest-xdist python3-requests python3-flaky"
@@ -18,7 +18,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=66095021aa9638ced276c248b1d81862e4c50f292d575920bbe960de1c56b12b
+checksum=9d446b8697b4f7337a1b7cdcac40778babdd93ba614b6d68ab1c0c918f1c4084
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (connect to a tcp address)
From 50ec9f7c4068da67c59f5f12429a31cb912e9792 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:26:16 -0300
Subject: [PATCH 30/42] python3-coverage: update to 7.8.0.
---
srcpkgs/python3-coverage/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template
index 88a586aba90760..d39d0605041df4 100644
--- a/srcpkgs/python3-coverage/template
+++ b/srcpkgs/python3-coverage/template
@@ -1,8 +1,10 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
-version=7.6.12
+version=7.8.0
revision=1
build_style=python3-pep517
+# this counts files but our installed package has fewer files
+make_check_args="--deselect tests/test_testing.py::test_all_our_source_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis"
@@ -12,7 +14,7 @@ license="Apache-2.0"
homepage="https://github.com/nedbat/coveragepy"
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
-checksum=48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2
+checksum=7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501
pre_check() {
# required setup, see tox.ini
@@ -26,7 +28,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -m installer dist/*.whl
- PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
+ PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
+ ${make_check_args} ${make_check_target}
}
post_install() {
From 7406a8787cd48074e8beef19ebb3473e52592ddd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 17:53:51 -0300
Subject: [PATCH 31/42] python3-pytest-cov: update to 6.1.1.
---
srcpkgs/python3-pytest-cov/template | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index cbf51bbbf4ad8f..5b6f92d7e21edf 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,11 +1,8 @@
# Template file for 'python3-pytest-cov'
pkgname=python3-pytest-cov
-version=5.0.0
-revision=2
+version=6.1.1
+revision=1
build_style=python3-pep517
-# this test fails with python3-coverage >= 7.6
-make_check_args="
- --deselect tests/test_pytest_cov.py::test_term_report_does_not_interact_with_html_output"
hostmakedepends="python3-setuptools"
depends="python3-pytest python3-coverage"
checkdepends="$depends python3-fields python3-process-tests
@@ -15,8 +12,8 @@ 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=5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857
+distfiles="${PYPI_SITE}/p/pytest-cov/pytest_cov-${version}.tar.gz"
+checksum=46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a
do_check() {
# Running via PYTHONPATH breaks a few tests so we use a venv
@@ -25,9 +22,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -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}
+ PYTHONPATH="/${py3_sitelib}" PYTHONUSERBASE=/usr \
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
${make_check_args} ${make_check_target}
}
From e56169c112f2ab74b0997ebf494f55bb064e5f02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:07:48 -0300
Subject: [PATCH 32/42] python3-json5: update to 0.12.0.
---
srcpkgs/python3-json5/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
index a0656d05038ff5..2d9bfebb90fb78 100644
--- a/srcpkgs/python3-json5/template
+++ b/srcpkgs/python3-json5/template
@@ -1,7 +1,7 @@
# Template file for 'python3-json5'
pkgname=python3-json5
-version=0.9.25
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -11,4 +11,4 @@ maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>
license="Apache-2.0"
homepage="https://github.com/dpranke/pyjson5"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
-checksum=a31db9a7d2cd102051e27efd519b9670a3b6be7b9d951145637c0a3e2350e141
+checksum=39b21785fc12c61716a3634b466e3faffc5c679148c2d9cbbef9cc0c15772b6f
From 38262a774dec74b6f596dadaae0f7d4930f256df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:10:11 -0300
Subject: [PATCH 33/42] python3-async-lru: update to 2.0.5.
---
srcpkgs/python3-async-lru/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
index 96456af4a55a51..68439569f5fac0 100644
--- a/srcpkgs/python3-async-lru/template
+++ b/srcpkgs/python3-async-lru/template
@@ -1,7 +1,7 @@
# Template file for 'python3-async-lru'
pkgname=python3-async-lru
-version=2.0.4
-revision=3
+version=2.0.5
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-typing_extensions"
@@ -12,8 +12,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/aio-libs/async-lru"
changelog="https://raw.githubusercontent.com/aio-libs/async-lru/master/CHANGES.rst"
-distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
-checksum=b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627
+distfiles="${PYPI_SITE}/a/async-lru/async_lru-${version}.tar.gz"
+checksum=481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb
post_install() {
vlicense LICENSE
From 0cef0fc3a438c7442109204ebb8f50e29be23610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:32:49 -0300
Subject: [PATCH 34/42] New package: python3-jupyter-lsp-2.2.5
---
srcpkgs/python3-jupyter-lsp/template | 24 ++++++++++++++++++++++++
srcpkgs/python3-jupyter-lsp/update | 3 +++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/python3-jupyter-lsp/template
create mode 100644 srcpkgs/python3-jupyter-lsp/update
diff --git a/srcpkgs/python3-jupyter-lsp/template b/srcpkgs/python3-jupyter-lsp/template
new file mode 100644
index 00000000000000..9114c2dd667ae8
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-jupyter-lsp'
+pkgname=python3-jupyter-lsp
+version=2.2.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_server"
+checkdepends="$depends python3-pytest"
+short_desc="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyter-lsp/jupyter-lsp-${version}.tar.gz"
+checksum=793147a05ad446f809fd53ef1cd19a9f5256fd0a2d6b7ce943a982cb4f545001
+
+# This test needs R package languageserver which we don't have
+make_check_args="
+ --deselect jupyter_lsp/tests/test_detect.py::test_r_package_detection"
+
+post_install() {
+ mv ${DESTDIR}/usr/etc ${DESTDIR}
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyter-lsp/update b/srcpkgs/python3-jupyter-lsp/update
new file mode 100644
index 00000000000000..31ba62a576d642
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/update
@@ -0,0 +1,3 @@
+# override since the github also contains jupyterlab-server tags
+site=https://pypi.org/simple/jupyter-lsp
+pkgname=jupyter-lsp
From 699f5fbe107b4cbc47c0c2b8c58b9b8574f5cffb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:44:54 -0300
Subject: [PATCH 35/42] New package: python3-jupyterlab-lsp-5.1.0
---
srcpkgs/python3-jupyterlab-lsp/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab-lsp/template
diff --git a/srcpkgs/python3-jupyterlab-lsp/template b/srcpkgs/python3-jupyterlab-lsp/template
new file mode 100644
index 00000000000000..7835a6bb8b6d93
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab-lsp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab-lsp'
+pkgname=python3-jupyterlab-lsp
+version=5.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter-lsp jupyterlab"
+short_desc="Coding assistance for JupyterLab with Language Server Protocol"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyterlab-lsp/jupyterlab-lsp-${version}.tar.gz"
+checksum=aeac84093ada6d20ef57ae0e97811cc5796a0cab7237b32f8eddf993c0bb0356
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
From d4f5a97a9341ee1a158c072a454496d69bceca17 Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Thu, 17 Apr 2025 14:54:30 -0400
Subject: [PATCH 36/42] jupyterlab: update to 4.4.1.
---
srcpkgs/jupyterlab/template | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 4782370a75598d..cb263d61a94535 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,21 +1,23 @@
# Template file for 'jupyterlab'
pkgname=jupyterlab
-version=4.2.4
-revision=2
+version=4.4.1
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
depends="nodejs python3-async-lru python3-httpx python3-ipython_ipykernel
- python3-jupyterlab_server python3-notebook_shim"
-checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
+ python3-Jinja2 python3-jupyter_core python3-jupyter_server python3-tornado
+ python3-packaging python3-setuptools python3-jupyter-lsp
+ python3-traitlets python3-jupyterlab_server python3-notebook_shim"
+checkdepends="${depends} python3-pytest-jupyter python3-pytest-xdist"
short_desc="JupyterLab computational environment"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=343a979fb9582fd08c8511823e320703281cd072a0049bcdafdc7afeda7f2537
+checksum=c75c4f33056fbd84f0b31eb44622a00c7a5f981b85adfeb198a83721f0465808
-if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
+if [ "${XBPS_BUILD_ENVIRONMENT}" = void-packages-ci ]; then
# this test fails on CI (network timeout)
make_check_args="
--deselect=jupyterlab/tests/test_build_api.py::TestBuildAPI
From b5a8c940668620978fd1a98386514b3079052684 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 1 May 2025 21:34:48 -0300
Subject: [PATCH 37/42] python3-jupyter_notebook: update to 7.4.1.
---
srcpkgs/python3-jupyter_notebook/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index 3984d364cd7eb5..583d03432f253e 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,11 +1,11 @@
# Template file for 'python3-jupyter_notebook'
pkgname=python3-jupyter_notebook
-version=7.2.1
-revision=2
+version=7.4.1
+revision=1
build_style=python3-pep517
-make_build_args="--skip-dependency-check"
hostmakedepends="hatchling hatch-jupyter-builder jupyterlab"
-depends="jupyterlab"
+depends="python3-jupyter_server python3-jupyterlab_server jupyterlab
+ python3-notebook_shim python3-tornado"
checkdepends="$depends python3-pytest-jupyter"
short_desc="Jupyter interactive notebook"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
@@ -13,7 +13,7 @@ license="BSD-3-Clause"
homepage="https://github.com/jupyter/notebook"
changelog="https://raw.githubusercontent.com/jupyter/notebook/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=4287b6da59740b32173d01d641f763d292f49c30e7a51b89c46ba8473126341e
+checksum=96894962b230013ea0c0a466e4e642c5aace25ba8c86686175b69990ef628ff9
post_install() {
mv ${DESTDIR}/usr/etc ${DESTDIR}
From 5ca685f0ccccf5faaa5cfa05bbdb958d970d5695 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:07:51 -0300
Subject: [PATCH 38/42] yarn-bin: update to 1.22.22.
---
srcpkgs/yarn-bin/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/yarn-bin/template b/srcpkgs/yarn-bin/template
index 46ae0c0a162365..1927e8d10a92ef 100644
--- a/srcpkgs/yarn-bin/template
+++ b/srcpkgs/yarn-bin/template
@@ -1,6 +1,6 @@
# Template file for 'yarn-bin'
pkgname=yarn-bin
-version=1.22.19
+version=1.22.22
revision=1
depends="virtual?nodejs-runtime"
short_desc="Fast, reliable, and secure dependency management - precompiled binaries"
@@ -8,7 +8,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://yarnpkg.com/"
distfiles="https://github.com/yarnpkg/yarn/releases/download/v${version}/yarn-v${version}.tar.gz"
-checksum=732620bac8b1690d507274f025f3c6cfdc3627a84d9642e38a07452cc00e0f2e
+checksum=88268464199d1611fcf73ce9c0a6c4d44c7d5363682720d8506f6508addf36a0
conflicts="yarn>=0"
do_extract() {
From dd09db954e9e4ce8b43538b920782dfec54fa874 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:07:53 -0300
Subject: [PATCH 39/42] yarn: update to 1.22.22.
---
srcpkgs/yarn/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/yarn/template b/srcpkgs/yarn/template
index e63a97e9abca98..adac9172221b8d 100644
--- a/srcpkgs/yarn/template
+++ b/srcpkgs/yarn/template
@@ -1,6 +1,6 @@
# Template file for 'yarn'
pkgname=yarn
-version=1.22.19
+version=1.22.22
revision=1
hostmakedepends="yarn-bin nodejs tar"
depends="virtual?nodejs-runtime"
@@ -9,7 +9,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://yarnpkg.com/"
distfiles="https://github.com/yarnpkg/${pkgname}/archive/v${version}.tar.gz"
-checksum=50af0025d2ef942bf3e6cdd0587dc9c4dd8d6e6e69501b84935d09f2b2b5de8b
+checksum=47d10b957569dee7a200628b680657d8d3cc28465c9e413948642131558d3eb8
conflicts="yarn-bin>=0"
From e273bc3dbde3ae018a742ec073ec1046bb9554c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 12:33:35 -0300
Subject: [PATCH 40/42] python3-nbclassic: update to 1.3.0.
---
.../patches/fix-warning.patch | 11 -----
.../patches/python3.13.patch | 41 -------------------
srcpkgs/python3-nbclassic/template | 13 +++---
3 files changed, 7 insertions(+), 58 deletions(-)
delete mode 100644 srcpkgs/python3-nbclassic/patches/fix-warning.patch
delete mode 100644 srcpkgs/python3-nbclassic/patches/python3.13.patch
diff --git a/srcpkgs/python3-nbclassic/patches/fix-warning.patch b/srcpkgs/python3-nbclassic/patches/fix-warning.patch
deleted file mode 100644
index 161e86deeb766e..00000000000000
--- a/srcpkgs/python3-nbclassic/patches/fix-warning.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/nbclassic/notebookapp.py
-+++ b/nbclassic/notebookapp.py
-@@ -324,7 +324,7 @@ class NotebookApp(
- router.add_rules(core_rules)
- router.add_rules(static_handlers)
- router.add_rules(final_rules)
-- print("""
-+ print(r"""
- _ _ _ _
- | | | |_ __ __| |__ _| |_ ___
- | |_| | '_ \/ _` / _` | _/ -_)
diff --git a/srcpkgs/python3-nbclassic/patches/python3.13.patch b/srcpkgs/python3-nbclassic/patches/python3.13.patch
deleted file mode 100644
index af7962b20c3efc..00000000000000
--- a/srcpkgs/python3-nbclassic/patches/python3.13.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 2545d900b40bbb9fa3ea266afa617e6e0be70c71 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Lum=C3=ADr=20=27Frenzy=27=20Balhar?= <lbalhar@redhat.com>
-Date: Sat, 7 Sep 2024 03:37:00 +0200
-Subject: [PATCH] Replace pipes with shlex (#286)
-
-pipes module has been deprecated in Python 3.11 and removed in 3.13. https://peps.python.org/pep-0594/
----
- setupbase.py | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/setupbase.py b/setupbase.py
-index 80f28b6eb..4e7a4feec 100644
---- a/setupbase.py
-+++ b/setupbase.py
-@@ -12,7 +12,7 @@
-
- import os
- import re
--import pipes
-+import shlex
- import shutil
- import sys
-
-@@ -27,7 +27,7 @@
- from subprocess import list2cmdline
- else:
- def list2cmdline(cmd_list):
-- return ' '.join(map(pipes.quote, cmd_list))
-+ return ' '.join(map(shlex.quote, cmd_list))
-
- #-------------------------------------------------------------------------------
- # Useful globals and utility functions
-@@ -486,7 +486,7 @@ def run(self):
- try:
- run(['lessc',
- '--source-map',
-- '--include-path=%s' % pipes.quote(static),
-+ '--include-path=%s' % shlex.quote(static),
- src,
- dst,
- ], cwd=repo_root, env=env)
diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
index 88df2c9352caa8..4485a303d29a33 100644
--- a/srcpkgs/python3-nbclassic/template
+++ b/srcpkgs/python3-nbclassic/template
@@ -1,11 +1,12 @@
# Template file for 'python3-nbclassic'
pkgname=python3-nbclassic
-version=1.1.0
-revision=2
+version=1.3.0
+revision=1
build_style=python3-pep517
-make_build_args="--skip-dependency-check"
-hostmakedepends="python3-jupyter_packaging python3-jupyter_server"
-depends="mathjax2 python3-notebook_shim"
+hostmakedepends="hatchling hatch-jupyter-builder python3-jupyter_server
+ python3-setuptools python3-Babel yarn"
+depends="mathjax2 python3-ipython_ipykernel python3-ipython_genutils
+ python3-nest_asyncio python3-notebook_shim"
checkdepends="$depends python3-pytest-jupyter"
short_desc="Jupyter Notebook as a Jupyter Server Extension"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
@@ -13,7 +14,7 @@ license="BSD-3-Clause"
homepage="https://github.com/jupyter/nbclassic"
changelog="https://raw.githubusercontent.com/jupyter/nbclassic/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
-checksum=77b77ba85f9e988f9bad85df345b514e9e64c7f0e822992ab1df4a78ac64fc1e
+checksum=1ae3b30a4d051332559b6d0eaba34c20ada51a73c95a7f35954c126e6a5c80fd
post_install() {
vlicense LICENSE
From 0ad8d0777a14a546c07ec6b27804cd2ae444513c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:28:56 -0300
Subject: [PATCH 41/42] python3-QtPy: update to 2.4.3.
---
srcpkgs/python3-QtPy/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-QtPy/template b/srcpkgs/python3-QtPy/template
index d654aba6d112c3..9d092ef64dcbae 100644
--- a/srcpkgs/python3-QtPy/template
+++ b/srcpkgs/python3-QtPy/template
@@ -1,11 +1,11 @@
# Template file for 'python3-QtPy'
pkgname=python3-QtPy
-version=2.4.1
-revision=2
+version=2.4.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
# depends on either of PyQt5, PyQt6
-depends="python3"
+depends="python3-packaging"
# check dependencies common to both PyQt5 and PyQt6
_qtcommon=":connectivity :multimedia :sensors :serialport :sql :svg :tools
:webchannel :webengine :websockets"
@@ -23,8 +23,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/spyder-ide/qtpy"
changelog="https://raw.githubusercontent.com/spyder-ide/qtpy/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/Q/QtPy/QtPy-${version}.tar.gz"
-checksum=a5a15ffd519550a1361bdc56ffc07fda56a6af7292f17c7b395d4083af632987
+distfiles="${PYPI_SITE}/Q/QtPy/qtpy-${version}.tar.gz"
+checksum=db744f7832e6d3da90568ba6ccbca3ee2b3b4a890c3d6fbbc63142f6e4cdf5bb
do_check() {
local qtapi
From e6d309da03292c4adb81b1a79caef9e334bd3d18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:41:40 -0300
Subject: [PATCH 42/42] python3-jupyter_qtconsole: update to 5.6.1.
---
srcpkgs/python3-jupyter_qtconsole/template | 9 +++++----
srcpkgs/python3-jupyter_qtconsole/update | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-jupyter_qtconsole/update
diff --git a/srcpkgs/python3-jupyter_qtconsole/template b/srcpkgs/python3-jupyter_qtconsole/template
index 4a77feb6f7632a..2fd0bd23f17654 100644
--- a/srcpkgs/python3-jupyter_qtconsole/template
+++ b/srcpkgs/python3-jupyter_qtconsole/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_qtconsole'
pkgname=python3-jupyter_qtconsole
-version=5.5.2
-revision=2
+version=5.6.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-PyQt5-svg python3-QtPy"
+ python3-Pygments python3-ipython_ipykernel python3-PyQt5-svg python3-QtPy
+ python3-packaging"
checkdepends="$depends python3-pytest-qt python3-flaky"
short_desc="Jupyter Qt console"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
@@ -13,7 +14,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=6b5fb11274b297463706af84dcbbd5c92273b1f619e6d25d08874b0a88516989
+checksum=5cad1c7e6c75d3ef8143857fd2ed28062b4b92b933c2cc328252d18a9cfd0be5
conflicts="python-jupyter_qtconsole<=4.4.3_2"
post_install() {
diff --git a/srcpkgs/python3-jupyter_qtconsole/update b/srcpkgs/python3-jupyter_qtconsole/update
new file mode 100644
index 00000000000000..25ef51d109a4fd
--- /dev/null
+++ b/srcpkgs/python3-jupyter_qtconsole/update
@@ -0,0 +1 @@
+ignore="*a* *b* *rc*"
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PR PATCH] [Updated] jupyterlab: update to 4.4.1 (and deps)
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (8 preceding siblings ...)
2025-05-05 19:27 ` tornaria
@ 2025-05-07 23:19 ` tornaria
2025-05-11 1:15 ` jupyterlab: update to 4.4.2 " tornaria
` (5 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-05-07 23:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1682 bytes --]
There is an updated 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/55117
jupyterlab: update to 4.4.1 (and deps)
- **python3-coverage: update to 7.8.0.**
- **python3-pytest-cov: update to 6.1.1.**
- **python3-json5: update to 0.12.0.**
- **python3-async-lru: update to 2.0.5.**
- **New package: python3-jupyter-lsp-2.2.5**
- **New package: python3-jupyterlab-lsp-5.1.0**
- **jupyterlab: update to 4.4.1**
Includes #54482, #54488, #54489, #54631, #55247.
The jupyterlab update is slightly edited from #55101.
@dkwo
<!-- 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/55117.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-55117.patch --]
[-- Type: text/x-diff, Size: 74828 bytes --]
From f84d479017015de836e91ab2c07df58035f9ccc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:31:05 -0300
Subject: [PATCH 01/42] python3-jupyter_widgetsnbextension: update to 4.0.14.
---
srcpkgs/python3-jupyter_widgetsnbextension/template | 8 ++++----
srcpkgs/python3-jupyter_widgetsnbextension/update | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/template b/srcpkgs/python3-jupyter_widgetsnbextension/template
index 82146ccfd62d32..068b3364560be1 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/template
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/template
@@ -1,15 +1,15 @@
# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
-version=4.0.11
-revision=2
+version=4.0.14
+revision=1
build_style=python3-pep517
hostmakedepends="python3-jupyter_packaging"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
-homepage="https://pypi.org/project/widgetsnbextension/"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/widgetsnbextension"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
-checksum=8b22a8f1910bfd188e596fe7fc05dcbd87e810c8a4ba010bdb3da86637398474
+checksum=a3629b04e3edb893212df862038c7232f62973373869db5084aed739b437b5af
make_check=no # Upstream defines no tests
post_install() {
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/update b/srcpkgs/python3-jupyter_widgetsnbextension/update
index d6944b34c12eb0..0e9e4528c1915f 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/update
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/update
@@ -1,2 +1,3 @@
pkgname=widgetsnbextension
+site=https://pypi.org/simple/widgetsnbextension
ignore="*a* *b* *rc*"
From ffe004192ab2e2bb18b522e4aff51e69a8e82ba9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:36:50 -0300
Subject: [PATCH 02/42] New package: python3-jupyterlab_widgets-3.0.15
---
srcpkgs/python3-jupyterlab_widgets/template | 18 ++++++++++++++++++
srcpkgs/python3-jupyterlab_widgets/update | 3 +++
2 files changed, 21 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab_widgets/template
create mode 100644 srcpkgs/python3-jupyterlab_widgets/update
diff --git a/srcpkgs/python3-jupyterlab_widgets/template b/srcpkgs/python3-jupyterlab_widgets/template
new file mode 100644
index 00000000000000..938fe6f7b0e591
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyterlab_widgets'
+pkgname=python3-jupyterlab_widgets
+version=3.0.15
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-jupyter-builder jupyterlab"
+depends="python3"
+short_desc="Jupyter interactive widgets for JupyterLab"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/jupyterlab_widgets"
+distfiles="${PYPI_SITE}/j/jupyterlab_widgets/jupyterlab_widgets-${version}.tar.gz"
+checksum=2920888a0c2922351a9202817957a68c07d99673504d6cd37345299e971bb08b
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyterlab_widgets/update b/srcpkgs/python3-jupyterlab_widgets/update
new file mode 100644
index 00000000000000..8226cf8d087698
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/update
@@ -0,0 +1,3 @@
+pkgname=jupyterlab_widgets
+site=https://pypi.org/simple/jupyterlab_widgets
+ignore="*a* *b* *rc*"
From 5433cf266e525d1ef76ecea0fc5654cc90e1b395 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:39:43 -0300
Subject: [PATCH 03/42] python3-jupyter_ipywidgets: update to 8.1.7.
---
.../patches/pytest8.patch | 93 -------------------
srcpkgs/python3-jupyter_ipywidgets/template | 12 ++-
srcpkgs/python3-jupyter_ipywidgets/update | 1 +
3 files changed, 8 insertions(+), 98 deletions(-)
delete mode 100644 srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
diff --git a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch b/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
deleted file mode 100644
index 2f8499a3ae76b9..00000000000000
--- a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-See: https://github.com/jupyter-widgets/ipywidgets/pull/3903
-
-From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Thu, 11 Apr 2024 11:40:15 +0200
-Subject: [PATCH] Fix compatibility with pytest 8
-
-Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
----
- .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
- python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 -
- .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +-
- .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +-
- python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++---
- 5 files changed, 5 insertions(+), 8 deletions(-)
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-index 0dc7e5fcfc..feb1afe50c 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-@@ -19,8 +19,6 @@
- # Utility stuff
- #-----------------------------------------------------------------------------
-
--from .utils import setup, teardown
--
- def f(**kwargs):
- pass
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-index 0c92dfdcb2..9301764d40 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-@@ -4,7 +4,6 @@
- import pytest
-
- from .. import jslink, jsdlink, ToggleButton
--from .utils import setup, teardown
-
- def test_jslink_args():
- with pytest.raises(TypeError):
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-index ec18ae4af1..98465b9b7d 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-@@ -3,7 +3,7 @@
-
- from traitlets import Bool, Tuple, List
-
--from .utils import setup, teardown, DummyComm
-+from .utils import setup
-
- from ..widget import Widget
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-index 82ecbd9311..22ec54d90f 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-@@ -6,7 +6,7 @@
-
- from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
-
--from .utils import setup, teardown
-+from .utils import setup
-
- import ipywidgets
- from ipywidgets import Widget
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/utils.py b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-index 260485e3f8..8dbbcb355b 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-@@ -12,7 +12,7 @@
- NEW_COMM_PACKAGE = False
-
- import ipykernel.comm
--
-+import pytest
-
- class DummyComm():
- comm_id = 'a-b-c-d'
-@@ -87,10 +87,10 @@ def teardown_test_comm():
- setattr(Widget, attr, value)
- _widget_attrs.clear()
-
-+@pytest.fixture(autouse=True)
- def setup():
- setup_test_comm()
--
--def teardown():
-+ yield
- teardown_test_comm()
-
- def call_method(method, *args, **kwargs):
diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index da7840682a6178..ecaf9dead1ffa1 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,18 +1,20 @@
# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
-version=8.1.3
-revision=2
+version=8.1.7
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
-depends="python3-ipython_ipykernel python3-jupyter_widgetsnbextension"
-checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
+depends="python3-comm python3-ipython python3-traitlets
+ python3-jupyter_widgetsnbextension python3-jupyterlab_widgets"
+checkdepends="$depends python3-pytest python3-jsonschema python3-pytz
+ python3-ipython_ipykernel"
short_desc="IPython widgets for the Jupyter notebook"
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=f5f9eeaae082b1823ce9eac2575272952f40d748893972956dc09700a6392d9c
+checksum=15f1ac050b9ccbefd45dccfbb2ef6bed0029d8278682d569d71b8dd96bee0376
# main repo `.../python/ipywidgets/ipywidgets/` is `.../ipywidgets/` here
patch_args=-Np3
diff --git a/srcpkgs/python3-jupyter_ipywidgets/update b/srcpkgs/python3-jupyter_ipywidgets/update
index 44da8f2e3c582e..eb8d6c97887770 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/update
+++ b/srcpkgs/python3-jupyter_ipywidgets/update
@@ -1,2 +1,3 @@
pkgname=ipywidgets
+site=https://pypi.org/simple/ipywidgets
ignore="*a* *b* *rc*"
From ba7a113669727bed48f1af23b6cbddfb76f6ec09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:12:02 -0300
Subject: [PATCH 04/42] python3-pytest-asyncio: update to 0.26.0.
---
srcpkgs/python3-pytest-asyncio/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template
index f1ca23d6a818d5..4d067f0213566f 100644
--- a/srcpkgs/python3-pytest-asyncio/template
+++ b/srcpkgs/python3-pytest-asyncio/template
@@ -1,6 +1,6 @@
# Template file for 'python3-pytest-asyncio'
pkgname=python3-pytest-asyncio
-version=0.25.3
+version=0.26.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
@@ -12,7 +12,7 @@ license="Apache-2.0"
homepage="https://github.com/pytest-dev/pytest-asyncio"
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst"
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest_asyncio-${version}.tar.gz"
-checksum=fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a
+checksum=c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (bind to a tcp address)
From 5d62e88e5fdf9403cdebda8cc65766d306294f2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:39 -0300
Subject: [PATCH 05/42] python3-xmltodict: update to 0.14.2.
---
srcpkgs/python3-xmltodict/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-xmltodict/template b/srcpkgs/python3-xmltodict/template
index cf444ee312210f..abe56821b12a5e 100644
--- a/srcpkgs/python3-xmltodict/template
+++ b/srcpkgs/python3-xmltodict/template
@@ -1,8 +1,8 @@
# Template file for 'python3-xmltodict'
pkgname=python3-xmltodict
-version=0.13.0
-revision=3
-build_style=python3-module
+version=0.14.2
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/martinblech/xmltodict"
changelog="https://raw.githubusercontent.com/martinblech/xmltodict/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz"
-checksum=341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56
+checksum=201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553
post_install() {
vlicense LICENSE
From 54124324ed67519eff547bbef344a114542d6db6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:44 -0300
Subject: [PATCH 06/42] python3-nbclient: update to 0.10.2.
---
srcpkgs/python3-nbclient/template | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index 3bf13e904a1d0c..b2666af9d1a1d9 100644
--- a/srcpkgs/python3-nbclient/template
+++ b/srcpkgs/python3-nbclient/template
@@ -1,25 +1,21 @@
# Template file for 'python3-nbclient'
pkgname=python3-nbclient
-version=0.10.0
-revision=2
+version=0.10.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-jupyter_client python3-jupyter_nbformat"
+depends="python3-jupyter_client python3-jupyter_core python3-jupyter_nbformat
+ python3-traitlets"
checkdepends="$depends python3-pytest-asyncio python3-testpath
- python3-flaky python3-jupyter_ipywidgets python3-xmltodict"
+ python3-flaky python3-jupyter_ipywidgets python3-xmltodict
+ python3-ipython_ipykernel python3-jupyter_nbconvert"
short_desc="Client library for executing Jupyter notebooks"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09
-make_check=extended # avoid a circular dependency
-
-if [ "$XBPS_CHECK_PKGS" = full ]; then
- # this would cause a build-time circular dependency
- checkdepends+=" python3-jupyter_nbconvert"
-fi
+checksum=90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193
post_install() {
vlicense LICENSE
From 9f0480d11a2b6ff9e0a28934ea798685b1e4a71c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:37:47 -0300
Subject: [PATCH 07/42] python3-lxml: update to 5.4.0.
---
.../patches/fix-encoding-tests-musl.patch | 19 -------------------
srcpkgs/python3-lxml/template | 12 ++++++------
2 files changed, 6 insertions(+), 25 deletions(-)
delete mode 100644 srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
diff --git a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch b/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
deleted file mode 100644
index e2d0e3b36bd572..00000000000000
--- a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/3f64a63298ac78f5f2a50a52e3e3f01eef1b51ce/main/py3-lxml/tests-fix-encoding-name.patch
-
-diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
-index 3162155..43b79d7 100644
---- a/src/lxml/tests/test_incremental_xmlfile.py
-+++ b/src/lxml/tests/test_incremental_xmlfile.py
-@@ -177,10 +177,10 @@ class _XmlFileTestCaseBase(HelperTestCase):
- '<test>Comments: <!-- text -->\nEntities: &amp;</test>')
-
- def test_encoding(self):
-- with etree.xmlfile(self._file, encoding='utf16') as xf:
-+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
- with xf.element('test'):
- xf.write('toast')
-- self.assertXml('<test>toast</test>', encoding='utf16')
-+ self.assertXml('<test>toast</test>', encoding='utf-16')
-
- def test_buffering(self):
- with etree.xmlfile(self._file, buffered=False) as xf:
diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 32ac3828139320..8fdf77220f37a5 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,10 +1,10 @@
# Template file for 'python3-lxml'
pkgname=python3-lxml
-version=5.3.0
-revision=2
-build_style=python3-module
-make_build_args="--with-cython"
-hostmakedepends="python3-Cython python3-setuptools"
+version=5.4.0
+revision=1
+build_style=python3-pep517
+make_build_args="-C--build-option=--with-cython"
+hostmakedepends="python3-Cython python3-setuptools python3-wheel"
makedepends="libxslt-devel python3-devel"
depends="python3"
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
@@ -14,7 +14,7 @@ license="BSD-3-Clause, custom:ElementTree"
homepage="https://lxml.de/"
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=eb22f7ceb319c29247cfa398435d00e6286d19a32b4870b67a8e9a38d72f2ebd
+checksum=12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2
do_check() {
make test
From 56f97e037dd4f796cbe00da36726896a01ae9e8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:47:25 -0300
Subject: [PATCH 08/42] python3-soupsieve: update to 2.7.
---
srcpkgs/python3-soupsieve/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-soupsieve/template b/srcpkgs/python3-soupsieve/template
index 107604fec169b0..6e645de8048b71 100644
--- a/srcpkgs/python3-soupsieve/template
+++ b/srcpkgs/python3-soupsieve/template
@@ -1,7 +1,7 @@
# Template file for 'python3-soupsieve'
pkgname=python3-soupsieve
-version=2.4.1
-revision=3
+version=2.7
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
@@ -11,8 +11,9 @@ short_desc="CSS4 selector implementation for Python3 Beautiful Soup"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://facelessuser.github.io/soupsieve/"
+changelog="https://raw.githubusercontent.com/facelessuser/soupsieve/refs/heads/main/docs/src/markdown/about/changelog.md"
distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz"
-checksum=89d12b2d5dfcd2c9e8c22326da9d9aa9cb3dfab0a83a024f05704076ee8d35ea
+checksum=ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a
post_install() {
vlicense LICENSE.md
From adeb24cf23dc69a549b76a23246104b4c6ebdae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:51:48 -0300
Subject: [PATCH 09/42] python3-BeautifulSoup4: update to 4.13.4.
---
srcpkgs/python3-BeautifulSoup4/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 364445f875e54c..3bb906b2405f17 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,10 +1,10 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.12.2
-revision=3
+version=4.13.4
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-soupsieve"
+depends="python3-soupsieve python3-typing_extensions"
checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
+checksum=dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195
post_install() {
vlicense LICENSE
From 80a22721527abdb655cb3bff9bdebf51c38ecc69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:07 -0300
Subject: [PATCH 10/42] python3-six: update to 1.17.0.
---
srcpkgs/python3-six/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-six/template b/srcpkgs/python3-six/template
index 2299770fb153c2..19b0812b9fd4e1 100644
--- a/srcpkgs/python3-six/template
+++ b/srcpkgs/python3-six/template
@@ -1,8 +1,8 @@
# Template file for 'python3-six'
pkgname=python3-six
-version=1.16.0
-revision=5
-build_style=python3-module
+version=1.17.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
-checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
+checksum=ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
post_install() {
vlicense LICENSE
From 616172a19fc4a08943d3cfd086287624e4b2f429 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:22 -0300
Subject: [PATCH 11/42] python3-bleach: update to 6.2.0.
---
srcpkgs/python3-bleach/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index 8cf2201528c939..82f2797e85784b 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,7 +1,7 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=6.0.0
-revision=3
+version=6.2.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-six python3-webencodings"
@@ -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=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
+checksum=123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f
From e7fa99296b52c591a4929bbf6f574c3f5b635145 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:26 -0300
Subject: [PATCH 12/42] python3-mistune: update to 3.1.3.
---
srcpkgs/python3-mistune/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-mistune/template b/srcpkgs/python3-mistune/template
index 828db5643c7a2e..2aba5c34737737 100644
--- a/srcpkgs/python3-mistune/template
+++ b/srcpkgs/python3-mistune/template
@@ -1,7 +1,7 @@
# Template file for 'python3-mistune'
pkgname=python3-mistune
-version=3.0.2
-revision=2
+version=3.1.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://mistune.lepture.com/"
changelog="https://raw.githubusercontent.com/lepture/mistune/master/docs/changes.rst"
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
-checksum=fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8
+checksum=a7035c21782b2becb6be62f8f25d3df81ccb4d6fa477a6525b15af06539f02a0
post_install() {
vlicense LICENSE
From 012df51c66c26c112e1d4c0433a8f301cb858927 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:30 -0300
Subject: [PATCH 13/42] python3-pandocfilters: update to 1.5.1.
---
srcpkgs/python3-pandocfilters/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-pandocfilters/template b/srcpkgs/python3-pandocfilters/template
index 45e58c9c94ddeb..ab7efec72a7899 100644
--- a/srcpkgs/python3-pandocfilters/template
+++ b/srcpkgs/python3-pandocfilters/template
@@ -1,8 +1,8 @@
# Template file for 'python3-pandocfilters'
pkgname=python3-pandocfilters
-version=1.5.0
-revision=2
-build_style=python3-module
+version=1.5.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 module for writing pandoc filters"
@@ -10,7 +10,8 @@ maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="http://github.com/jgm/pandocfilters"
distfiles="${PYPI_SITE}/p/pandocfilters/pandocfilters-${version}.tar.gz"
-checksum=0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38
+checksum=002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e
+make_check=no # Upstream defines no tests
post_install() {
vlicense LICENSE
From 692d377014e94fca869722aef5bdbda69e93b54d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 11:45:59 -0300
Subject: [PATCH 14/42] hooks/pre-pkg/06-verify-python-deps: support
alternative packages
---
common/scripts/parse-py-metadata.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/common/scripts/parse-py-metadata.py b/common/scripts/parse-py-metadata.py
index 0d9384bf7ef36c..909244d80804f1 100644
--- a/common/scripts/parse-py-metadata.py
+++ b/common/scripts/parse-py-metadata.py
@@ -123,7 +123,8 @@ def parse_depends(args):
pkg = getpkgname(pkgver)
vpkg = map(getpkgname, vpkgvers.split())
for v in vpkg:
- vpkgs[v] = pkg
+ if pkg not in vpkgs.setdefault(v, []):
+ vpkgs[v].append(pkg)
if args.rdeps.exists():
with args.rdeps.open() as f:
@@ -149,12 +150,17 @@ def parse_depends(args):
missing = []
for k in depends.keys():
if k in vpkgs.keys():
- pkgname = vpkgs[k]
- if pkgname in rdeps:
- print(f" PYTHON: {k} <-> {pkgname}", flush=True)
- elif pkgname in global_ignore:
- print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ for pkgname in vpkgs[k]:
+ if pkgname in rdeps:
+ print(f" PYTHON: {k} <-> {pkgname}", flush=True)
+ break
+ elif pkgname in global_ignore:
+ print(f" PYTHON: {k} <-> {pkgname} (ignored)", flush=True)
+ break
else:
+ pkgname = " OR ".join(vpkgs[k])
+ if len(vpkgs[k]) > 1:
+ pkgname = "(" + pkgname + ")"
msg_err(f" PYTHON: {k} <-> {pkgname} NOT IN depends PLEASE FIX!",
nocolor=args.nocolor, strict=args.strict)
missing.append(pkgname)
From dd285cf06bb92475b499cd5e93a53e3e573819d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:10:39 -0300
Subject: [PATCH 15/42] python3-jupyter_nbconvert: update to 7.16.6.
---
srcpkgs/python3-jupyter_nbconvert/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index 3bf3da5423c28b..1f6a1be11d816d 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,23 +1,23 @@
# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
-version=7.16.4
-revision=2
+version=7.16.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
python3-MarkupSafe python3-mistune python3-nbclient
python3-jupyter_nbformat python3-packaging python3-pandocfilters
- python3-tinycss2"
-checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
- asciidoc inkscape pandoc python3-flaky python3-PyQt5"
+ python3-Pygments python3-traitlets python3-tinycss2"
+checkdepends="$depends python3-pytest-xdist python3-jupyter_ipywidgets
+ asciidoc inkscape pandoc python3-flaky python3-PyQt5 python3-ipython_ipykernel"
short_desc="Converting Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=86ca91ba266b0a448dc96fa6c5b9d98affabde2867b363258703536807f9f7f4
+checksum=576a7e37c6480da7b8465eefa66c17844243816ce1ccc372633c6b71c3c0f582
pre_check() {
# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
From 11828bc27497f49f99208e2ed9daa6be259ad32d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:20:08 -0300
Subject: [PATCH 16/42] New package: python3-forbiddenfruit-0.1.4
---
srcpkgs/python3-forbiddenfruit/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-forbiddenfruit/template
diff --git a/srcpkgs/python3-forbiddenfruit/template b/srcpkgs/python3-forbiddenfruit/template
new file mode 100644
index 00000000000000..fcfe09af6dc6f4
--- /dev/null
+++ b/srcpkgs/python3-forbiddenfruit/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-forbiddenfruit'
+pkgname=python3-forbiddenfruit
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Patch python built-in objects"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later OR MIT"
+homepage="https://github.com/clarete/forbiddenfruit"
+changelog="https://github.com/clarete/forbiddenfruit/releases"
+distfiles="${PYPI_SITE}/f/forbiddenfruit/forbiddenfruit-${version}.tar.gz"
+checksum=e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253
+make_check=no # Tests require removed python3-nose
+
+post_install() {
+ vlicense COPYING.mit
+}
From 9237c76179a1f717ced53da3f25f833ea465b9f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:25:30 -0300
Subject: [PATCH 17/42] New package: python3-blockbuster-1.5.24
---
srcpkgs/python3-blockbuster/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-blockbuster/template
diff --git a/srcpkgs/python3-blockbuster/template b/srcpkgs/python3-blockbuster/template
new file mode 100644
index 00000000000000..22aed76d4562ee
--- /dev/null
+++ b/srcpkgs/python3-blockbuster/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-blockbuster'
+pkgname=python3-blockbuster
+version=1.5.24
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-forbiddenfruit"
+checkdepends="$depends python3-pytest-asyncio python3-requests"
+short_desc="Utility to detect blocking calls in the async event loop"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/cbornet/blockbuster"
+changelog="https://github.com/cbornet/blockbuster/releases"
+distfiles="${PYPI_SITE}/b/blockbuster/blockbuster-${version}.tar.gz"
+checksum=97645775761a5d425666ec0bc99629b65c7eccdc2f770d2439850682567af4ec
From c9aab58c7b160618ce142fd3061981881b173d78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 16:32:14 -0300
Subject: [PATCH 18/42] python3-outcome: update to 1.3.0.post0, fix deps.
---
srcpkgs/python3-outcome/template | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-outcome/template b/srcpkgs/python3-outcome/template
index 5976562a5dcfd2..37f235a4871d10 100644
--- a/srcpkgs/python3-outcome/template
+++ b/srcpkgs/python3-outcome/template
@@ -1,17 +1,18 @@
# Template file for 'python3-outcome'
pkgname=python3-outcome
-version=1.2.0
-revision=3
-build_style=python3-module
+version=1.3.0.post0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
-depends="python3"
-checkdepends="python3-pytest python3-pytest-cov python3-pytest-asyncio"
+depends="python3-attrs"
+checkdepends="$depends python3-pytest python3-pytest-cov python3-pytest-asyncio"
short_desc="Capture the outcome of Python function calls"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/outcome"
+changelog="https://raw.githubusercontent.com/python-trio/outcome/refs/heads/master/docs/source/history.rst"
distfiles="${PYPI_SITE}/o/outcome/outcome-${version}.tar.gz"
-checksum=6f82bd3de45da303cf1f771ecafa1633750a358436a8bb60e06a1ceb745d2672
+checksum=9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8
post_install() {
vlicense LICENSE
From 5b9c7df22b8ab6b716561ec12281aaac5aa53598 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 5 Mar 2025 22:13:00 -0300
Subject: [PATCH 19/42] python3-trio: update to 0.30.0.
---
.../patches/fix-for-attrs-24.1.0.patch | 24 -------------------
srcpkgs/python3-trio/template | 14 +++--------
2 files changed, 3 insertions(+), 35 deletions(-)
delete mode 100644 srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
diff --git a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch b/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
deleted file mode 100644
index c4e36205c9c17e..00000000000000
--- a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Cherry picked from: https://github.com/python-trio/trio/pull/3058
-
-From 0152c3efcffe7d9b77b2a765e6992c6685b63499 Mon Sep 17 00:00:00 2001
-From: A5rocks <git@helvetica.moe>
-Date: Mon, 5 Aug 2024 21:29:33 +0900
-Subject: [PATCH 2/5] Fix deprecation warning from attrs
-
----
- src/trio/_threads.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/trio/_threads.py b/src/trio/_threads.py
-index a04b73729..0f0e58500 100644
---- a/src/trio/_threads.py
-+++ b/src/trio/_threads.py
-@@ -139,7 +139,7 @@ def current_default_thread_limiter() -> CapacityLimiter:
- # system; see https://github.com/python-trio/trio/issues/182
- # But for now we just need an object to stand in for the thread, so we can
- # keep track of who's holding the CapacityLimiter's token.
--@attrs.frozen(eq=False, hash=False, slots=False)
-+@attrs.frozen(eq=False, slots=False)
- class ThreadPlaceholder:
- name: str
-
diff --git a/srcpkgs/python3-trio/template b/srcpkgs/python3-trio/template
index 62788e39dc6e1c..d6510e411af9f0 100644
--- a/srcpkgs/python3-trio/template
+++ b/srcpkgs/python3-trio/template
@@ -1,7 +1,7 @@
# Template file for 'python3-trio'
pkgname=python3-trio
-version=0.26.1
-revision=2
+version=0.30.0
+revision=1
build_style=python3-pep517
# Needs astor (https://pypi.org/project/astor/)
make_check_args="--ignore src/trio/_tests/tools/test_gen_exports.py"
@@ -16,15 +16,7 @@ license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/trio"
changelog="https://raw.githubusercontent.com/python-trio/trio/master/docs/source/history.rst"
distfiles="${PYPI_SITE}/t/trio/trio-${version}.tar.gz"
-checksum=6d2fe7ee656146d598ec75128ff4a2386576801b42b691f4a91cc2c18508544a
-make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1"
-
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
- # pthread_getname_np(3) n/a in musl 1.1
- make_check_args+="
- --deselect src/trio/_tests/test_threads.py::test_named_thread_os
- "
-fi
+checksum=0781c857c0c81f8f51e0089929a26b5bb63d57f927728a5586f7e36171f064df
post_install() {
vlicense LICENSE
From 318e419dba3e2457049d16f5e3113bc27d4b4d62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Mar 2025 16:44:57 -0300
Subject: [PATCH 20/42] python3-anyio: update to 4.9.0.
---
srcpkgs/python3-anyio/template | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
index 13776f697758c2..ac54658e218a22 100644
--- a/srcpkgs/python3-anyio/template
+++ b/srcpkgs/python3-anyio/template
@@ -1,21 +1,21 @@
# Template file for 'python3-anyio'
pkgname=python3-anyio
-version=4.4.0
-revision=2
+version=4.9.0
+revision=1
build_style=python3-pep517
# This file needs python module `exceptiongroup`
make_check_args="--ignore tests/test_taskgroups.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-sniffio python3-idna"
-checkdepends="$depends python3-pytest-mock python3-hypothesis
- python3-psutil python3-trio python3-trustme python3-uvloop"
+checkdepends="$depends python3-pytest-mock python3-hypothesis python3-psutil
+ python3-trio python3-trustme python3-uvloop python3-blockbuster"
short_desc="High level asynchronous concurrency and networking framework"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/agronholm/anyio"
changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst"
distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
-checksum=5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94
+checksum=673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI
@@ -25,7 +25,8 @@ if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
_test3="(test_iterate)or(test_receive)or(test_reuse)or(test_send)"
_test3="(TestConnectedUDPSocket)and($_test3)and(-ipv6)"
_test4="test_bind_link_local"
- make_check_args+=" -k not(($_test1)or($_test2)or($_test3)or($_test4))"
+ _test5="test_getaddrinfo"
+ make_check_args+=" -k not(($_test1)or($_test2)or($_test3)or($_test4)or($_test5))"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
From fef54615b87fa9f85ba4f74c2542eaf7ce10f216 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:01 -0300
Subject: [PATCH 21/42] python3-attrs: update to 25.3.0.
---
srcpkgs/python3-attrs/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template
index c896dd4a9ae070..220008c24762c9 100644
--- a/srcpkgs/python3-attrs/template
+++ b/srcpkgs/python3-attrs/template
@@ -1,6 +1,6 @@
# Template file for 'python3-attrs'
pkgname=python3-attrs
-version=25.1.0
+version=25.3.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools hatch-vcs hatch-fancy-pypi-readme"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://attrs.readthedocs.io/"
changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
-checksum=1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e
+checksum=75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b
post_install() {
vlicense LICENSE
From a66e04e4e873e37035deb307881c3b784132fdfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:04 -0300
Subject: [PATCH 22/42] python3-rpds-py: update to 0.24.0.
---
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 74677c89ee56d5..072f1a7f4d9c2b 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.23.1
+version=0.24.0
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=7f3240dcfa14d198dba24b8b9cb3b108c06b68d45b7babd9eefc1038fdf7e707
+checksum=772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e
post_install() {
vlicense LICENSE
From 19132812968aadba75fdea731ad180319e9e06e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 20:41:25 -0300
Subject: [PATCH 23/42] python3-socks: update to 2.7.1.
---
srcpkgs/python3-socks/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template
index 6f2cbc5c915844..3ff85627752bf9 100644
--- a/srcpkgs/python3-socks/template
+++ b/srcpkgs/python3-socks/template
@@ -1,6 +1,6 @@
# Template file for 'python3-socks'
pkgname=python3-socks
-version=2.6.1
+version=2.7.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
@@ -15,5 +15,5 @@ maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/romis2012/python-socks"
distfiles="${PYPI_SITE}/p/python-socks/python_socks-${version}.tar.gz"
-checksum=9743929aab6ffe0bab640ecfbbee7130af92408ad86e4aa2984789f742f3ec9e
+checksum=f1a0bb603830fe81e332442eada96757b8f8dec02bd22d1d6f5c99a79704c550
make_check_pre="env SKIP_IPV6_TESTS=True"
From ee5aaf4013814bdb0870b3c5653742317b4cc13a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 20:53:00 -0300
Subject: [PATCH 24/42] python3-websocket-client: update to 1.8.0.
---
srcpkgs/python3-websocket-client/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index b858a4f86452a7..f428fd63df158b 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,7 +1,7 @@
# Template file for 'python3-websocket-client'
pkgname=python3-websocket-client
-version=1.7.0
-revision=2
+version=1.8.0
+revision=1
build_style=python3-pep517
make_check_target="websocket/tests"
hostmakedepends="python3-setuptools python3-wheel"
@@ -13,5 +13,5 @@ license="Apache-2.0"
homepage="https://github.com/websocket-client/websocket-client"
changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v${version}.tar.gz"
-checksum=923c3b7d0cecfdc449eec5e95c90ae6b0ea24e8782d42f23c05d2bb43bfabd39
+checksum=03306a5a5afb4e5bffd7fce4e2fb6438be91c14543cf1d6f506893f831047bfc
conflicts="python-websocket-client"
From 603a23909374dc0625448199570e5e02501f57cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 21:03:34 -0300
Subject: [PATCH 25/42] python3-prometheus_client: update to 0.21.1.
---
srcpkgs/python3-prometheus_client/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-prometheus_client/template b/srcpkgs/python3-prometheus_client/template
index 590d0bf11cdc1d..5ff8a4134cebe1 100644
--- a/srcpkgs/python3-prometheus_client/template
+++ b/srcpkgs/python3-prometheus_client/template
@@ -1,8 +1,8 @@
# Template file for 'python3-prometheus_client'
pkgname=python3-prometheus_client
-version=0.20.0
-revision=2
-build_style=python3-module
+version=0.21.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/prometheus/client_python"
changelog="https://github.com/prometheus/client_python/releases"
distfiles="${PYPI_SITE}/p/prometheus_client/prometheus_client-${version}.tar.gz"
-checksum=287629d00b147a32dcb2be0b9df905da599b2d82f80377083ec8463309a4bb89
+checksum=252505a722ac04b0456be05c05f75f45d760c2911ffc45f2a06bcaed9f3ae3fb
From 70f4a701a8eb26ce476dcad32929dd42e92352f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 21:04:31 -0300
Subject: [PATCH 26/42] python3-terminado: update to 0.18.1.
---
srcpkgs/python3-terminado/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index 0efb9772886beb..178d9078b0dee9 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,17 @@
# Template file for 'python3-terminado'
pkgname=python3-terminado
-version=0.17.1
-revision=3
+version=0.18.1
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-ptyprocess python3-tornado"
-checkdepends="python3-pytest $depends"
+checkdepends="python3-pytest-timeout $depends"
short_desc="Terminals served to term.js using Tornado websockets"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/takluyver/terminado"
distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=6ccbbcd3a4f8a25a5ec04991f39a0b8db52dfcd487ea0e578d977e6752380333
+checksum=de09f2c4b85de4765f7714688fff57d3e75bad1f909b589fde880460c753fd2e
post_install() {
vlicense LICENSE
From ff33c87e44fffe13931a68e71cf56a48f3ea62c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 12:18:52 -0300
Subject: [PATCH 27/42] python3-click: update to 8.1.8.
---
srcpkgs/python3-click/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 507938e9182839..195ff81e3368ec 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,9 +1,9 @@
# Template file for 'python3-click'
pkgname=python3-click
-version=8.1.7
-revision=3
-build_style="python3-module"
-hostmakedepends="python3-setuptools"
+version=8.1.8
+revision=1
+build_style="python3-pep517"
+hostmakedepends="python3-flit_core"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python3 package for creating beautiful command line interfaces"
@@ -12,8 +12,8 @@ license="BSD-3-Clause"
homepage="https://palletsprojects.com/p/click/"
changelog="https://raw.githubusercontent.com/pallets/click/main/CHANGES.rst"
distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de
+checksum=ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a
post_install() {
- vlicense LICENSE.rst
+ vlicense LICENSE.txt
}
From b204994d2291e348ee011d4455a8e206b582d71f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:26:34 -0300
Subject: [PATCH 28/42] python3-jupyter_events: update to 0.12.0.
---
.../python3-jupyter_events/patches/fix-dep.patch | 15 +++++++++++++++
srcpkgs/python3-jupyter_events/template | 9 +++++----
2 files changed, 20 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-jupyter_events/patches/fix-dep.patch
diff --git a/srcpkgs/python3-jupyter_events/patches/fix-dep.patch b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
new file mode 100644
index 00000000000000..c96f3c211597dd
--- /dev/null
+++ b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
@@ -0,0 +1,15 @@
+We don't have all dependencies required for `jsonschema[format-nongpl]`.
+However, `rfc3339-validator` and `rfc3986-validator` seem enough, and
+we do have them listed in `depends=`.
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -24,7 +24,7 @@
+ ]
+ dependencies = [
+ "referencing",
+- "jsonschema[format-nongpl]>=4.18.0",
++ "jsonschema>=4.18.0",
+ "python-json-logger>=2.0.4",
+ "pyyaml>=5.3",
+ "traitlets>=5.3",
diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
index f1191124ca7f32..63a6aaa7a988be 100644
--- a/srcpkgs/python3-jupyter_events/template
+++ b/srcpkgs/python3-jupyter_events/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_events'
pkgname=python3-jupyter_events
-version=0.10.0
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-jsonschema python3-json-logger python3-yaml python3-traitlets
- python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator"
+ python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator
+ python3-packaging python3-referencing"
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>"
@@ -13,7 +14,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=670b8229d3cc882ec782144ed22e0d29e1c2d639263f92ca8383e66682845e22
+checksum=fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b
post_install() {
vlicense LICENSE
From 114b65cae3ca6e6fb554549236b3934eb5c3a459 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:33:57 -0300
Subject: [PATCH 29/42] python3-jupyter_server: update to 2.15.0.
---
srcpkgs/python3-jupyter_server/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index a91e9f0ea23c76..d9132a12bd9a25 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,14 +1,14 @@
# Template file for 'python3-jupyter_server'
pkgname=python3-jupyter_server
-version=2.14.2
-revision=2
+version=2.15.0
+revision=1
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"
+depends="python3-anyio python3-argon2 python3-Jinja2 python3-jupyter_client
+ python3-jupyter_core python3-jupyter_events python3-jupyter_server_terminals
+ python3-jupyter_nbconvert python3-jupyter_nbformat python3-overrides
+ python3-packaging python3-prometheus_client python3-pyzmq python3-send2trash
+ python3-terminado python3-tornado python3-traitlets python3-websocket-client"
checkdepends="$depends pandoc python3-ipython_ipykernel
python3-pytest-console-scripts python3-pytest-jupyter
python3-pytest-xdist python3-requests python3-flaky"
@@ -18,7 +18,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=66095021aa9638ced276c248b1d81862e4c50f292d575920bbe960de1c56b12b
+checksum=9d446b8697b4f7337a1b7cdcac40778babdd93ba614b6d68ab1c0c918f1c4084
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (connect to a tcp address)
From ff6539905c9a253223cd1116b2169dc3317ea4a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:26:16 -0300
Subject: [PATCH 30/42] python3-coverage: update to 7.8.0.
---
srcpkgs/python3-coverage/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template
index 88a586aba90760..d39d0605041df4 100644
--- a/srcpkgs/python3-coverage/template
+++ b/srcpkgs/python3-coverage/template
@@ -1,8 +1,10 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
-version=7.6.12
+version=7.8.0
revision=1
build_style=python3-pep517
+# this counts files but our installed package has fewer files
+make_check_args="--deselect tests/test_testing.py::test_all_our_source_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis"
@@ -12,7 +14,7 @@ license="Apache-2.0"
homepage="https://github.com/nedbat/coveragepy"
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
-checksum=48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2
+checksum=7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501
pre_check() {
# required setup, see tox.ini
@@ -26,7 +28,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -m installer dist/*.whl
- PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
+ PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
+ ${make_check_args} ${make_check_target}
}
post_install() {
From 0f28a990ad637b0727a6d38cedb399f6ffc83b32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 17:53:51 -0300
Subject: [PATCH 31/42] python3-pytest-cov: update to 6.1.1.
---
srcpkgs/python3-pytest-cov/template | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index cbf51bbbf4ad8f..5b6f92d7e21edf 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,11 +1,8 @@
# Template file for 'python3-pytest-cov'
pkgname=python3-pytest-cov
-version=5.0.0
-revision=2
+version=6.1.1
+revision=1
build_style=python3-pep517
-# this test fails with python3-coverage >= 7.6
-make_check_args="
- --deselect tests/test_pytest_cov.py::test_term_report_does_not_interact_with_html_output"
hostmakedepends="python3-setuptools"
depends="python3-pytest python3-coverage"
checkdepends="$depends python3-fields python3-process-tests
@@ -15,8 +12,8 @@ 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=5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857
+distfiles="${PYPI_SITE}/p/pytest-cov/pytest_cov-${version}.tar.gz"
+checksum=46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a
do_check() {
# Running via PYTHONPATH breaks a few tests so we use a venv
@@ -25,9 +22,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -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}
+ PYTHONPATH="/${py3_sitelib}" PYTHONUSERBASE=/usr \
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
${make_check_args} ${make_check_target}
}
From 8642b3096d366fcd0aa85bfdf0f9e73b81337cfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:07:48 -0300
Subject: [PATCH 32/42] python3-json5: update to 0.12.0.
---
srcpkgs/python3-json5/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
index a0656d05038ff5..2d9bfebb90fb78 100644
--- a/srcpkgs/python3-json5/template
+++ b/srcpkgs/python3-json5/template
@@ -1,7 +1,7 @@
# Template file for 'python3-json5'
pkgname=python3-json5
-version=0.9.25
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -11,4 +11,4 @@ maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>
license="Apache-2.0"
homepage="https://github.com/dpranke/pyjson5"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
-checksum=a31db9a7d2cd102051e27efd519b9670a3b6be7b9d951145637c0a3e2350e141
+checksum=39b21785fc12c61716a3634b466e3faffc5c679148c2d9cbbef9cc0c15772b6f
From 2dc41f22649bf00b779ce0b94c9c4d2da06d382b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:10:11 -0300
Subject: [PATCH 33/42] python3-async-lru: update to 2.0.5.
---
srcpkgs/python3-async-lru/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
index 96456af4a55a51..68439569f5fac0 100644
--- a/srcpkgs/python3-async-lru/template
+++ b/srcpkgs/python3-async-lru/template
@@ -1,7 +1,7 @@
# Template file for 'python3-async-lru'
pkgname=python3-async-lru
-version=2.0.4
-revision=3
+version=2.0.5
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-typing_extensions"
@@ -12,8 +12,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/aio-libs/async-lru"
changelog="https://raw.githubusercontent.com/aio-libs/async-lru/master/CHANGES.rst"
-distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
-checksum=b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627
+distfiles="${PYPI_SITE}/a/async-lru/async_lru-${version}.tar.gz"
+checksum=481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb
post_install() {
vlicense LICENSE
From 111b4b0b78410b2cc00078f1b8d48578a60f94ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:32:49 -0300
Subject: [PATCH 34/42] New package: python3-jupyter-lsp-2.2.5
---
srcpkgs/python3-jupyter-lsp/template | 24 ++++++++++++++++++++++++
srcpkgs/python3-jupyter-lsp/update | 3 +++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/python3-jupyter-lsp/template
create mode 100644 srcpkgs/python3-jupyter-lsp/update
diff --git a/srcpkgs/python3-jupyter-lsp/template b/srcpkgs/python3-jupyter-lsp/template
new file mode 100644
index 00000000000000..9114c2dd667ae8
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-jupyter-lsp'
+pkgname=python3-jupyter-lsp
+version=2.2.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_server"
+checkdepends="$depends python3-pytest"
+short_desc="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyter-lsp/jupyter-lsp-${version}.tar.gz"
+checksum=793147a05ad446f809fd53ef1cd19a9f5256fd0a2d6b7ce943a982cb4f545001
+
+# This test needs R package languageserver which we don't have
+make_check_args="
+ --deselect jupyter_lsp/tests/test_detect.py::test_r_package_detection"
+
+post_install() {
+ mv ${DESTDIR}/usr/etc ${DESTDIR}
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyter-lsp/update b/srcpkgs/python3-jupyter-lsp/update
new file mode 100644
index 00000000000000..31ba62a576d642
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/update
@@ -0,0 +1,3 @@
+# override since the github also contains jupyterlab-server tags
+site=https://pypi.org/simple/jupyter-lsp
+pkgname=jupyter-lsp
From cb232d752c78948805750a7ef9bc98b8adc0816a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:44:54 -0300
Subject: [PATCH 35/42] New package: python3-jupyterlab-lsp-5.1.0
---
srcpkgs/python3-jupyterlab-lsp/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab-lsp/template
diff --git a/srcpkgs/python3-jupyterlab-lsp/template b/srcpkgs/python3-jupyterlab-lsp/template
new file mode 100644
index 00000000000000..7835a6bb8b6d93
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab-lsp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab-lsp'
+pkgname=python3-jupyterlab-lsp
+version=5.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter-lsp jupyterlab"
+short_desc="Coding assistance for JupyterLab with Language Server Protocol"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyterlab-lsp/jupyterlab-lsp-${version}.tar.gz"
+checksum=aeac84093ada6d20ef57ae0e97811cc5796a0cab7237b32f8eddf993c0bb0356
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
From 7471acecbb0a6357b642c2231a7f8909d9aa1fb5 Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Thu, 17 Apr 2025 14:54:30 -0400
Subject: [PATCH 36/42] jupyterlab: update to 4.4.2.
---
srcpkgs/jupyterlab/template | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 4782370a75598d..18091204e1d5c1 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,21 +1,23 @@
# Template file for 'jupyterlab'
pkgname=jupyterlab
-version=4.2.4
-revision=2
+version=4.4.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
depends="nodejs python3-async-lru python3-httpx python3-ipython_ipykernel
- python3-jupyterlab_server python3-notebook_shim"
-checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
+ python3-Jinja2 python3-jupyter_core python3-jupyter_server python3-tornado
+ python3-packaging python3-setuptools python3-jupyter-lsp
+ python3-traitlets python3-jupyterlab_server python3-notebook_shim"
+checkdepends="${depends} python3-pytest-jupyter python3-pytest-xdist"
short_desc="JupyterLab computational environment"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=343a979fb9582fd08c8511823e320703281cd072a0049bcdafdc7afeda7f2537
+checksum=afa9caf28c0cb966488be18e5e8daba9f018a1c4273a406b7d5006344cbc6d16
-if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
+if [ "${XBPS_BUILD_ENVIRONMENT}" = void-packages-ci ]; then
# this test fails on CI (network timeout)
make_check_args="
--deselect=jupyterlab/tests/test_build_api.py::TestBuildAPI
From 08358b08ee4de06fc6644f7feffe75474a093718 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 1 May 2025 21:34:48 -0300
Subject: [PATCH 37/42] python3-jupyter_notebook: update to 7.4.2.
---
srcpkgs/python3-jupyter_notebook/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index 3984d364cd7eb5..226e9e189a03fb 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,11 +1,11 @@
# Template file for 'python3-jupyter_notebook'
pkgname=python3-jupyter_notebook
-version=7.2.1
-revision=2
+version=7.4.2
+revision=1
build_style=python3-pep517
-make_build_args="--skip-dependency-check"
hostmakedepends="hatchling hatch-jupyter-builder jupyterlab"
-depends="jupyterlab"
+depends="python3-jupyter_server python3-jupyterlab_server jupyterlab
+ python3-notebook_shim python3-tornado"
checkdepends="$depends python3-pytest-jupyter"
short_desc="Jupyter interactive notebook"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
@@ -13,7 +13,7 @@ license="BSD-3-Clause"
homepage="https://github.com/jupyter/notebook"
changelog="https://raw.githubusercontent.com/jupyter/notebook/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=4287b6da59740b32173d01d641f763d292f49c30e7a51b89c46ba8473126341e
+checksum=e739defd28c3f615a6bfb0a2564bd75018a9cc6613aa00bbd9c15e68eed2de1b
post_install() {
mv ${DESTDIR}/usr/etc ${DESTDIR}
From a9794f833e75138cca39c99850f136a2987c90f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:07:51 -0300
Subject: [PATCH 38/42] yarn-bin: update to 1.22.22.
---
srcpkgs/yarn-bin/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/yarn-bin/template b/srcpkgs/yarn-bin/template
index 46ae0c0a162365..1927e8d10a92ef 100644
--- a/srcpkgs/yarn-bin/template
+++ b/srcpkgs/yarn-bin/template
@@ -1,6 +1,6 @@
# Template file for 'yarn-bin'
pkgname=yarn-bin
-version=1.22.19
+version=1.22.22
revision=1
depends="virtual?nodejs-runtime"
short_desc="Fast, reliable, and secure dependency management - precompiled binaries"
@@ -8,7 +8,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://yarnpkg.com/"
distfiles="https://github.com/yarnpkg/yarn/releases/download/v${version}/yarn-v${version}.tar.gz"
-checksum=732620bac8b1690d507274f025f3c6cfdc3627a84d9642e38a07452cc00e0f2e
+checksum=88268464199d1611fcf73ce9c0a6c4d44c7d5363682720d8506f6508addf36a0
conflicts="yarn>=0"
do_extract() {
From 606af420ba042e3085e05e8cf5658f7d57eec981 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:07:53 -0300
Subject: [PATCH 39/42] yarn: update to 1.22.22.
---
srcpkgs/yarn/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/yarn/template b/srcpkgs/yarn/template
index e63a97e9abca98..adac9172221b8d 100644
--- a/srcpkgs/yarn/template
+++ b/srcpkgs/yarn/template
@@ -1,6 +1,6 @@
# Template file for 'yarn'
pkgname=yarn
-version=1.22.19
+version=1.22.22
revision=1
hostmakedepends="yarn-bin nodejs tar"
depends="virtual?nodejs-runtime"
@@ -9,7 +9,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://yarnpkg.com/"
distfiles="https://github.com/yarnpkg/${pkgname}/archive/v${version}.tar.gz"
-checksum=50af0025d2ef942bf3e6cdd0587dc9c4dd8d6e6e69501b84935d09f2b2b5de8b
+checksum=47d10b957569dee7a200628b680657d8d3cc28465c9e413948642131558d3eb8
conflicts="yarn-bin>=0"
From 1aebafa6e053d5f95f9d82a16a241df3485eecc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 12:33:35 -0300
Subject: [PATCH 40/42] python3-nbclassic: update to 1.3.1.
---
.../patches/fix-warning.patch | 11 -----
.../patches/python3.13.patch | 41 -------------------
srcpkgs/python3-nbclassic/template | 13 +++---
3 files changed, 7 insertions(+), 58 deletions(-)
delete mode 100644 srcpkgs/python3-nbclassic/patches/fix-warning.patch
delete mode 100644 srcpkgs/python3-nbclassic/patches/python3.13.patch
diff --git a/srcpkgs/python3-nbclassic/patches/fix-warning.patch b/srcpkgs/python3-nbclassic/patches/fix-warning.patch
deleted file mode 100644
index 161e86deeb766e..00000000000000
--- a/srcpkgs/python3-nbclassic/patches/fix-warning.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/nbclassic/notebookapp.py
-+++ b/nbclassic/notebookapp.py
-@@ -324,7 +324,7 @@ class NotebookApp(
- router.add_rules(core_rules)
- router.add_rules(static_handlers)
- router.add_rules(final_rules)
-- print("""
-+ print(r"""
- _ _ _ _
- | | | |_ __ __| |__ _| |_ ___
- | |_| | '_ \/ _` / _` | _/ -_)
diff --git a/srcpkgs/python3-nbclassic/patches/python3.13.patch b/srcpkgs/python3-nbclassic/patches/python3.13.patch
deleted file mode 100644
index af7962b20c3efc..00000000000000
--- a/srcpkgs/python3-nbclassic/patches/python3.13.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 2545d900b40bbb9fa3ea266afa617e6e0be70c71 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Lum=C3=ADr=20=27Frenzy=27=20Balhar?= <lbalhar@redhat.com>
-Date: Sat, 7 Sep 2024 03:37:00 +0200
-Subject: [PATCH] Replace pipes with shlex (#286)
-
-pipes module has been deprecated in Python 3.11 and removed in 3.13. https://peps.python.org/pep-0594/
----
- setupbase.py | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/setupbase.py b/setupbase.py
-index 80f28b6eb..4e7a4feec 100644
---- a/setupbase.py
-+++ b/setupbase.py
-@@ -12,7 +12,7 @@
-
- import os
- import re
--import pipes
-+import shlex
- import shutil
- import sys
-
-@@ -27,7 +27,7 @@
- from subprocess import list2cmdline
- else:
- def list2cmdline(cmd_list):
-- return ' '.join(map(pipes.quote, cmd_list))
-+ return ' '.join(map(shlex.quote, cmd_list))
-
- #-------------------------------------------------------------------------------
- # Useful globals and utility functions
-@@ -486,7 +486,7 @@ def run(self):
- try:
- run(['lessc',
- '--source-map',
-- '--include-path=%s' % pipes.quote(static),
-+ '--include-path=%s' % shlex.quote(static),
- src,
- dst,
- ], cwd=repo_root, env=env)
diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
index 88df2c9352caa8..53c0599842fc02 100644
--- a/srcpkgs/python3-nbclassic/template
+++ b/srcpkgs/python3-nbclassic/template
@@ -1,11 +1,12 @@
# Template file for 'python3-nbclassic'
pkgname=python3-nbclassic
-version=1.1.0
-revision=2
+version=1.3.1
+revision=1
build_style=python3-pep517
-make_build_args="--skip-dependency-check"
-hostmakedepends="python3-jupyter_packaging python3-jupyter_server"
-depends="mathjax2 python3-notebook_shim"
+hostmakedepends="hatchling hatch-jupyter-builder python3-jupyter_server
+ python3-setuptools python3-Babel yarn"
+depends="mathjax2 python3-ipython_ipykernel python3-ipython_genutils
+ python3-nest_asyncio python3-notebook_shim"
checkdepends="$depends python3-pytest-jupyter"
short_desc="Jupyter Notebook as a Jupyter Server Extension"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
@@ -13,7 +14,7 @@ license="BSD-3-Clause"
homepage="https://github.com/jupyter/nbclassic"
changelog="https://raw.githubusercontent.com/jupyter/nbclassic/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
-checksum=77b77ba85f9e988f9bad85df345b514e9e64c7f0e822992ab1df4a78ac64fc1e
+checksum=4c52da8fc88f9f73ef512cc305091d5ce726bdca19f44ed697cb5ba12dcaad3c
post_install() {
vlicense LICENSE
From 212e64d56bd70361c2674e80fc7d476190e7b7a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:28:56 -0300
Subject: [PATCH 41/42] python3-QtPy: update to 2.4.3.
---
srcpkgs/python3-QtPy/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-QtPy/template b/srcpkgs/python3-QtPy/template
index d654aba6d112c3..9d092ef64dcbae 100644
--- a/srcpkgs/python3-QtPy/template
+++ b/srcpkgs/python3-QtPy/template
@@ -1,11 +1,11 @@
# Template file for 'python3-QtPy'
pkgname=python3-QtPy
-version=2.4.1
-revision=2
+version=2.4.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
# depends on either of PyQt5, PyQt6
-depends="python3"
+depends="python3-packaging"
# check dependencies common to both PyQt5 and PyQt6
_qtcommon=":connectivity :multimedia :sensors :serialport :sql :svg :tools
:webchannel :webengine :websockets"
@@ -23,8 +23,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/spyder-ide/qtpy"
changelog="https://raw.githubusercontent.com/spyder-ide/qtpy/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/Q/QtPy/QtPy-${version}.tar.gz"
-checksum=a5a15ffd519550a1361bdc56ffc07fda56a6af7292f17c7b395d4083af632987
+distfiles="${PYPI_SITE}/Q/QtPy/qtpy-${version}.tar.gz"
+checksum=db744f7832e6d3da90568ba6ccbca3ee2b3b4a890c3d6fbbc63142f6e4cdf5bb
do_check() {
local qtapi
From 08d27977be0917f274f91b2d630f4de247a87173 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:41:40 -0300
Subject: [PATCH 42/42] python3-jupyter_qtconsole: update to 5.6.1.
---
srcpkgs/python3-jupyter_qtconsole/template | 9 +++++----
srcpkgs/python3-jupyter_qtconsole/update | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-jupyter_qtconsole/update
diff --git a/srcpkgs/python3-jupyter_qtconsole/template b/srcpkgs/python3-jupyter_qtconsole/template
index 4a77feb6f7632a..2fd0bd23f17654 100644
--- a/srcpkgs/python3-jupyter_qtconsole/template
+++ b/srcpkgs/python3-jupyter_qtconsole/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_qtconsole'
pkgname=python3-jupyter_qtconsole
-version=5.5.2
-revision=2
+version=5.6.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-PyQt5-svg python3-QtPy"
+ python3-Pygments python3-ipython_ipykernel python3-PyQt5-svg python3-QtPy
+ python3-packaging"
checkdepends="$depends python3-pytest-qt python3-flaky"
short_desc="Jupyter Qt console"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
@@ -13,7 +14,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=6b5fb11274b297463706af84dcbbd5c92273b1f619e6d25d08874b0a88516989
+checksum=5cad1c7e6c75d3ef8143857fd2ed28062b4b92b933c2cc328252d18a9cfd0be5
conflicts="python-jupyter_qtconsole<=4.4.3_2"
post_install() {
diff --git a/srcpkgs/python3-jupyter_qtconsole/update b/srcpkgs/python3-jupyter_qtconsole/update
new file mode 100644
index 00000000000000..25ef51d109a4fd
--- /dev/null
+++ b/srcpkgs/python3-jupyter_qtconsole/update
@@ -0,0 +1 @@
+ignore="*a* *b* *rc*"
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: jupyterlab: update to 4.4.2 (and deps)
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (9 preceding siblings ...)
2025-05-07 23:19 ` tornaria
@ 2025-05-11 1:15 ` tornaria
2025-05-11 19:29 ` ahesford
` (4 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-05-11 1:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
New comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/pull/55117#issuecomment-2869302960
Comment:
@ahesford this is a bit of a package-bomb, what is the best strategy to have it merged?
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: jupyterlab: update to 4.4.2 (and deps)
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (10 preceding siblings ...)
2025-05-11 1:15 ` jupyterlab: update to 4.4.2 " tornaria
@ 2025-05-11 19:29 ` ahesford
2025-05-12 12:06 ` tornaria
` (3 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: ahesford @ 2025-05-11 19:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 282 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/55117#issuecomment-2870062350
Comment:
I don't have a problem with the package count. The change to xbps-src dependency tracking seems ok; are there any caveats with that change?
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: jupyterlab: update to 4.4.2 (and deps)
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (11 preceding siblings ...)
2025-05-11 19:29 ` ahesford
@ 2025-05-12 12:06 ` tornaria
2025-05-12 19:09 ` [PR PATCH] [Updated] " tornaria
` (2 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-05-12 12:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 832 bytes --]
New comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/pull/55117#issuecomment-2872298561
Comment:
Thanks for looking into this!
> The change to xbps-src dependency tracking seems ok; are there any caveats with that change?
This change is isolated in #54488, we discussed it on IRC with @classabbyamp. I don't think there's any caveat. As explained in https://github.com/void-linux/void-packages/pull/54488#issuecomment-2682341732:
> For packages with only one provider, the output should be identical as before.
>
> For packages with multiple providers, we use parenthesis to make the final suggestion easier to read, for instance (python3-mistune OR python3-mistune2).
Without this change, packages depending on mistune cannot satisfy `hooks/pre-pkg/06-verify-python-deps`.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PR PATCH] [Updated] jupyterlab: update to 4.4.2 (and deps)
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (12 preceding siblings ...)
2025-05-12 12:06 ` tornaria
@ 2025-05-12 19:09 ` tornaria
2025-05-12 19:09 ` tornaria
2025-05-12 19:41 ` [PR PATCH] [Merged]: " ahesford
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-05-12 19:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]
There is an updated 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/55117
jupyterlab: update to 4.4.2 (and deps)
- **python3-coverage: update to 7.8.0.**
- **python3-pytest-cov: update to 6.1.1.**
- **python3-json5: update to 0.12.0.**
- **python3-async-lru: update to 2.0.5.**
- **New package: python3-jupyter-lsp-2.2.5**
- **New package: python3-jupyterlab-lsp-5.1.0**
- **jupyterlab: update to 4.4.2**
- **python3-jupyter_notebook: update to 7.4.2**
- **python3-nbclassic: update to 1.3.1**
- **python3-jupyter_qtconsole: update to 5.6.1**
Includes #54482, #54488, #54489, #54631, #55247.
The jupyterlab update is slightly edited from #55101.
@dkwo
<!-- 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/55117.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jupyter-55117.patch --]
[-- Type: text/x-diff, Size: 72871 bytes --]
From 77ba163ddb5ab21880f2105f8eaba16ef1b8dbb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:31:05 -0300
Subject: [PATCH 01/41] python3-jupyter_widgetsnbextension: update to 4.0.14.
---
srcpkgs/python3-jupyter_widgetsnbextension/template | 8 ++++----
srcpkgs/python3-jupyter_widgetsnbextension/update | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/template b/srcpkgs/python3-jupyter_widgetsnbextension/template
index 82146ccfd62d32..068b3364560be1 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/template
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/template
@@ -1,15 +1,15 @@
# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
-version=4.0.11
-revision=2
+version=4.0.14
+revision=1
build_style=python3-pep517
hostmakedepends="python3-jupyter_packaging"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
-homepage="https://pypi.org/project/widgetsnbextension/"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/widgetsnbextension"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
-checksum=8b22a8f1910bfd188e596fe7fc05dcbd87e810c8a4ba010bdb3da86637398474
+checksum=a3629b04e3edb893212df862038c7232f62973373869db5084aed739b437b5af
make_check=no # Upstream defines no tests
post_install() {
diff --git a/srcpkgs/python3-jupyter_widgetsnbextension/update b/srcpkgs/python3-jupyter_widgetsnbextension/update
index d6944b34c12eb0..0e9e4528c1915f 100644
--- a/srcpkgs/python3-jupyter_widgetsnbextension/update
+++ b/srcpkgs/python3-jupyter_widgetsnbextension/update
@@ -1,2 +1,3 @@
pkgname=widgetsnbextension
+site=https://pypi.org/simple/widgetsnbextension
ignore="*a* *b* *rc*"
From 5576e23970f9a73c900dd6f7daf57e5a10b0b5ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:36:50 -0300
Subject: [PATCH 02/41] New package: python3-jupyterlab_widgets-3.0.15
---
srcpkgs/python3-jupyterlab_widgets/template | 18 ++++++++++++++++++
srcpkgs/python3-jupyterlab_widgets/update | 3 +++
2 files changed, 21 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab_widgets/template
create mode 100644 srcpkgs/python3-jupyterlab_widgets/update
diff --git a/srcpkgs/python3-jupyterlab_widgets/template b/srcpkgs/python3-jupyterlab_widgets/template
new file mode 100644
index 00000000000000..938fe6f7b0e591
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jupyterlab_widgets'
+pkgname=python3-jupyterlab_widgets
+version=3.0.15
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-jupyter-builder jupyterlab"
+depends="python3"
+short_desc="Jupyter interactive widgets for JupyterLab"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-widgets/ipywidgets/tree/main/python/jupyterlab_widgets"
+distfiles="${PYPI_SITE}/j/jupyterlab_widgets/jupyterlab_widgets-${version}.tar.gz"
+checksum=2920888a0c2922351a9202817957a68c07d99673504d6cd37345299e971bb08b
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyterlab_widgets/update b/srcpkgs/python3-jupyterlab_widgets/update
new file mode 100644
index 00000000000000..8226cf8d087698
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab_widgets/update
@@ -0,0 +1,3 @@
+pkgname=jupyterlab_widgets
+site=https://pypi.org/simple/jupyterlab_widgets
+ignore="*a* *b* *rc*"
From 953439ccc1882366b7f15bec035e648661574854 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Feb 2025 19:39:43 -0300
Subject: [PATCH 03/41] python3-jupyter_ipywidgets: update to 8.1.7.
---
.../patches/pytest8.patch | 93 -------------------
srcpkgs/python3-jupyter_ipywidgets/template | 12 ++-
srcpkgs/python3-jupyter_ipywidgets/update | 1 +
3 files changed, 8 insertions(+), 98 deletions(-)
delete mode 100644 srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
diff --git a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch b/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
deleted file mode 100644
index 2f8499a3ae76b9..00000000000000
--- a/srcpkgs/python3-jupyter_ipywidgets/patches/pytest8.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-See: https://github.com/jupyter-widgets/ipywidgets/pull/3903
-
-From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Thu, 11 Apr 2024 11:40:15 +0200
-Subject: [PATCH] Fix compatibility with pytest 8
-
-Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
----
- .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
- python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 -
- .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +-
- .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +-
- python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++---
- 5 files changed, 5 insertions(+), 8 deletions(-)
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-index 0dc7e5fcfc..feb1afe50c 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_interaction.py
-@@ -19,8 +19,6 @@
- # Utility stuff
- #-----------------------------------------------------------------------------
-
--from .utils import setup, teardown
--
- def f(**kwargs):
- pass
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-index 0c92dfdcb2..9301764d40 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_link.py
-@@ -4,7 +4,6 @@
- import pytest
-
- from .. import jslink, jsdlink, ToggleButton
--from .utils import setup, teardown
-
- def test_jslink_args():
- with pytest.raises(TypeError):
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-index ec18ae4af1..98465b9b7d 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_send_state.py
-@@ -3,7 +3,7 @@
-
- from traitlets import Bool, Tuple, List
-
--from .utils import setup, teardown, DummyComm
-+from .utils import setup
-
- from ..widget import Widget
-
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-index 82ecbd9311..22ec54d90f 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/test_set_state.py
-@@ -6,7 +6,7 @@
-
- from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
-
--from .utils import setup, teardown
-+from .utils import setup
-
- import ipywidgets
- from ipywidgets import Widget
-diff --git a/python/ipywidgets/ipywidgets/widgets/tests/utils.py b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-index 260485e3f8..8dbbcb355b 100644
---- a/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-+++ b/python/ipywidgets/ipywidgets/widgets/tests/utils.py
-@@ -12,7 +12,7 @@
- NEW_COMM_PACKAGE = False
-
- import ipykernel.comm
--
-+import pytest
-
- class DummyComm():
- comm_id = 'a-b-c-d'
-@@ -87,10 +87,10 @@ def teardown_test_comm():
- setattr(Widget, attr, value)
- _widget_attrs.clear()
-
-+@pytest.fixture(autouse=True)
- def setup():
- setup_test_comm()
--
--def teardown():
-+ yield
- teardown_test_comm()
-
- def call_method(method, *args, **kwargs):
diff --git a/srcpkgs/python3-jupyter_ipywidgets/template b/srcpkgs/python3-jupyter_ipywidgets/template
index da7840682a6178..ecaf9dead1ffa1 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/template
+++ b/srcpkgs/python3-jupyter_ipywidgets/template
@@ -1,18 +1,20 @@
# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
-version=8.1.3
-revision=2
+version=8.1.7
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
-depends="python3-ipython_ipykernel python3-jupyter_widgetsnbextension"
-checkdepends="$depends python3-pytest python3-jsonschema python3-pytz"
+depends="python3-comm python3-ipython python3-traitlets
+ python3-jupyter_widgetsnbextension python3-jupyterlab_widgets"
+checkdepends="$depends python3-pytest python3-jsonschema python3-pytz
+ python3-ipython_ipykernel"
short_desc="IPython widgets for the Jupyter notebook"
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=f5f9eeaae082b1823ce9eac2575272952f40d748893972956dc09700a6392d9c
+checksum=15f1ac050b9ccbefd45dccfbb2ef6bed0029d8278682d569d71b8dd96bee0376
# main repo `.../python/ipywidgets/ipywidgets/` is `.../ipywidgets/` here
patch_args=-Np3
diff --git a/srcpkgs/python3-jupyter_ipywidgets/update b/srcpkgs/python3-jupyter_ipywidgets/update
index 44da8f2e3c582e..eb8d6c97887770 100644
--- a/srcpkgs/python3-jupyter_ipywidgets/update
+++ b/srcpkgs/python3-jupyter_ipywidgets/update
@@ -1,2 +1,3 @@
pkgname=ipywidgets
+site=https://pypi.org/simple/ipywidgets
ignore="*a* *b* *rc*"
From c2ca628d2649305a47f667a4cbd9c63844126e07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:12:02 -0300
Subject: [PATCH 04/41] python3-pytest-asyncio: update to 0.26.0.
---
srcpkgs/python3-pytest-asyncio/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template
index f1ca23d6a818d5..4d067f0213566f 100644
--- a/srcpkgs/python3-pytest-asyncio/template
+++ b/srcpkgs/python3-pytest-asyncio/template
@@ -1,6 +1,6 @@
# Template file for 'python3-pytest-asyncio'
pkgname=python3-pytest-asyncio
-version=0.25.3
+version=0.26.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
@@ -12,7 +12,7 @@ license="Apache-2.0"
homepage="https://github.com/pytest-dev/pytest-asyncio"
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst"
distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest_asyncio-${version}.tar.gz"
-checksum=fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a
+checksum=c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (bind to a tcp address)
From 6380919365e373054cd140712adcd2e1d5ffde27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:39 -0300
Subject: [PATCH 05/41] python3-xmltodict: update to 0.14.2.
---
srcpkgs/python3-xmltodict/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-xmltodict/template b/srcpkgs/python3-xmltodict/template
index cf444ee312210f..abe56821b12a5e 100644
--- a/srcpkgs/python3-xmltodict/template
+++ b/srcpkgs/python3-xmltodict/template
@@ -1,8 +1,8 @@
# Template file for 'python3-xmltodict'
pkgname=python3-xmltodict
-version=0.13.0
-revision=3
-build_style=python3-module
+version=0.14.2
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/martinblech/xmltodict"
changelog="https://raw.githubusercontent.com/martinblech/xmltodict/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/x/xmltodict/xmltodict-${version}.tar.gz"
-checksum=341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56
+checksum=201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553
post_install() {
vlicense LICENSE
From 965bf75c7c9356910e0096605f2d1682f46add21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:21:44 -0300
Subject: [PATCH 06/41] python3-nbclient: update to 0.10.2.
---
srcpkgs/python3-nbclient/template | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template
index 3bf13e904a1d0c..b2666af9d1a1d9 100644
--- a/srcpkgs/python3-nbclient/template
+++ b/srcpkgs/python3-nbclient/template
@@ -1,25 +1,21 @@
# Template file for 'python3-nbclient'
pkgname=python3-nbclient
-version=0.10.0
-revision=2
+version=0.10.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-jupyter_client python3-jupyter_nbformat"
+depends="python3-jupyter_client python3-jupyter_core python3-jupyter_nbformat
+ python3-traitlets"
checkdepends="$depends python3-pytest-asyncio python3-testpath
- python3-flaky python3-jupyter_ipywidgets python3-xmltodict"
+ python3-flaky python3-jupyter_ipywidgets python3-xmltodict
+ python3-ipython_ipykernel python3-jupyter_nbconvert"
short_desc="Client library for executing Jupyter notebooks"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09
-make_check=extended # avoid a circular dependency
-
-if [ "$XBPS_CHECK_PKGS" = full ]; then
- # this would cause a build-time circular dependency
- checkdepends+=" python3-jupyter_nbconvert"
-fi
+checksum=90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193
post_install() {
vlicense LICENSE
From 727b6ab9782565b2877fac4b43b834821ec67fe5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:37:47 -0300
Subject: [PATCH 07/41] python3-lxml: update to 5.4.0.
---
.../patches/fix-encoding-tests-musl.patch | 19 -------------------
srcpkgs/python3-lxml/template | 12 ++++++------
2 files changed, 6 insertions(+), 25 deletions(-)
delete mode 100644 srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
diff --git a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch b/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
deleted file mode 100644
index e2d0e3b36bd572..00000000000000
--- a/srcpkgs/python3-lxml/patches/fix-encoding-tests-musl.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/3f64a63298ac78f5f2a50a52e3e3f01eef1b51ce/main/py3-lxml/tests-fix-encoding-name.patch
-
-diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
-index 3162155..43b79d7 100644
---- a/src/lxml/tests/test_incremental_xmlfile.py
-+++ b/src/lxml/tests/test_incremental_xmlfile.py
-@@ -177,10 +177,10 @@ class _XmlFileTestCaseBase(HelperTestCase):
- '<test>Comments: <!-- text -->\nEntities: &amp;</test>')
-
- def test_encoding(self):
-- with etree.xmlfile(self._file, encoding='utf16') as xf:
-+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
- with xf.element('test'):
- xf.write('toast')
-- self.assertXml('<test>toast</test>', encoding='utf16')
-+ self.assertXml('<test>toast</test>', encoding='utf-16')
-
- def test_buffering(self):
- with etree.xmlfile(self._file, buffered=False) as xf:
diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 32ac3828139320..8fdf77220f37a5 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,10 +1,10 @@
# Template file for 'python3-lxml'
pkgname=python3-lxml
-version=5.3.0
-revision=2
-build_style=python3-module
-make_build_args="--with-cython"
-hostmakedepends="python3-Cython python3-setuptools"
+version=5.4.0
+revision=1
+build_style=python3-pep517
+make_build_args="-C--build-option=--with-cython"
+hostmakedepends="python3-Cython python3-setuptools python3-wheel"
makedepends="libxslt-devel python3-devel"
depends="python3"
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
@@ -14,7 +14,7 @@ license="BSD-3-Clause, custom:ElementTree"
homepage="https://lxml.de/"
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=eb22f7ceb319c29247cfa398435d00e6286d19a32b4870b67a8e9a38d72f2ebd
+checksum=12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2
do_check() {
make test
From e95beed8582b124251d524f62ebaca7b3a783bc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:47:25 -0300
Subject: [PATCH 08/41] python3-soupsieve: update to 2.7.
---
srcpkgs/python3-soupsieve/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-soupsieve/template b/srcpkgs/python3-soupsieve/template
index 107604fec169b0..6e645de8048b71 100644
--- a/srcpkgs/python3-soupsieve/template
+++ b/srcpkgs/python3-soupsieve/template
@@ -1,7 +1,7 @@
# Template file for 'python3-soupsieve'
pkgname=python3-soupsieve
-version=2.4.1
-revision=3
+version=2.7
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
@@ -11,8 +11,9 @@ short_desc="CSS4 selector implementation for Python3 Beautiful Soup"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://facelessuser.github.io/soupsieve/"
+changelog="https://raw.githubusercontent.com/facelessuser/soupsieve/refs/heads/main/docs/src/markdown/about/changelog.md"
distfiles="${PYPI_SITE}/s/soupsieve/soupsieve-${version}.tar.gz"
-checksum=89d12b2d5dfcd2c9e8c22326da9d9aa9cb3dfab0a83a024f05704076ee8d35ea
+checksum=ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a
post_install() {
vlicense LICENSE.md
From 6642e401b1d7820d9187f6aa3b68947fb7d8efb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 03:51:48 -0300
Subject: [PATCH 09/41] python3-BeautifulSoup4: update to 4.13.4.
---
srcpkgs/python3-BeautifulSoup4/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-BeautifulSoup4/template b/srcpkgs/python3-BeautifulSoup4/template
index 364445f875e54c..3bb906b2405f17 100644
--- a/srcpkgs/python3-BeautifulSoup4/template
+++ b/srcpkgs/python3-BeautifulSoup4/template
@@ -1,10 +1,10 @@
# Template file for 'python3-BeautifulSoup4'
pkgname=python3-BeautifulSoup4
-version=4.12.2
-revision=3
+version=4.13.4
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
-depends="python3-soupsieve"
+depends="python3-soupsieve python3-typing_extensions"
checkdepends="$depends python3-pytest python3-html5lib python3-lxml"
short_desc="Python3 HTML/XML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://www.crummy.com/software/BeautifulSoup"
changelog="https://git.launchpad.net/beautifulsoup/plain/CHANGELOG"
distfiles="${PYPI_SITE}/b/beautifulsoup4/beautifulsoup4-${version}.tar.gz"
-checksum=492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
+checksum=dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195
post_install() {
vlicense LICENSE
From 554fb4d0e7cfa88441a95947af0aab88e9a1cb3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:07 -0300
Subject: [PATCH 10/41] python3-six: update to 1.17.0.
---
srcpkgs/python3-six/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-six/template b/srcpkgs/python3-six/template
index 2299770fb153c2..19b0812b9fd4e1 100644
--- a/srcpkgs/python3-six/template
+++ b/srcpkgs/python3-six/template
@@ -1,8 +1,8 @@
# Template file for 'python3-six'
pkgname=python3-six
-version=1.16.0
-revision=5
-build_style=python3-module
+version=1.17.0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
-checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
+checksum=ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
post_install() {
vlicense LICENSE
From d8875da98681a136b8a3e6202d6d10b5f00ea693 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:22 -0300
Subject: [PATCH 11/41] python3-bleach: update to 6.2.0.
---
srcpkgs/python3-bleach/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-bleach/template b/srcpkgs/python3-bleach/template
index 8cf2201528c939..82f2797e85784b 100644
--- a/srcpkgs/python3-bleach/template
+++ b/srcpkgs/python3-bleach/template
@@ -1,7 +1,7 @@
# Template file for 'python3-bleach'
pkgname=python3-bleach
-version=6.0.0
-revision=3
+version=6.2.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-six python3-webencodings"
@@ -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=1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414
+checksum=123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f
From 894e1177f12fac5611e18f15ee670190ab67cc3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:26 -0300
Subject: [PATCH 12/41] python3-mistune: update to 3.1.3.
---
srcpkgs/python3-mistune/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-mistune/template b/srcpkgs/python3-mistune/template
index 828db5643c7a2e..2aba5c34737737 100644
--- a/srcpkgs/python3-mistune/template
+++ b/srcpkgs/python3-mistune/template
@@ -1,7 +1,7 @@
# Template file for 'python3-mistune'
pkgname=python3-mistune
-version=3.0.2
-revision=2
+version=3.1.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
homepage="https://mistune.lepture.com/"
changelog="https://raw.githubusercontent.com/lepture/mistune/master/docs/changes.rst"
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
-checksum=fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8
+checksum=a7035c21782b2becb6be62f8f25d3df81ccb4d6fa477a6525b15af06539f02a0
post_install() {
vlicense LICENSE
From 1d396d5a21f3f6a80ea29016d49efc19977bdec3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:05:30 -0300
Subject: [PATCH 13/41] python3-pandocfilters: update to 1.5.1.
---
srcpkgs/python3-pandocfilters/template | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-pandocfilters/template b/srcpkgs/python3-pandocfilters/template
index 45e58c9c94ddeb..ab7efec72a7899 100644
--- a/srcpkgs/python3-pandocfilters/template
+++ b/srcpkgs/python3-pandocfilters/template
@@ -1,8 +1,8 @@
# Template file for 'python3-pandocfilters'
pkgname=python3-pandocfilters
-version=1.5.0
-revision=2
-build_style=python3-module
+version=1.5.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 module for writing pandoc filters"
@@ -10,7 +10,8 @@ maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="http://github.com/jgm/pandocfilters"
distfiles="${PYPI_SITE}/p/pandocfilters/pandocfilters-${version}.tar.gz"
-checksum=0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38
+checksum=002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e
+make_check=no # Upstream defines no tests
post_install() {
vlicense LICENSE
From e1d989f69ccc8135c3b60691e547383ebe7e6d38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Feb 2025 04:10:39 -0300
Subject: [PATCH 14/41] python3-jupyter_nbconvert: update to 7.16.6.
---
srcpkgs/python3-jupyter_nbconvert/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index 3bf3da5423c28b..1f6a1be11d816d 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,23 +1,23 @@
# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
-version=7.16.4
-revision=2
+version=7.16.6
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
python3-MarkupSafe python3-mistune python3-nbclient
python3-jupyter_nbformat python3-packaging python3-pandocfilters
- python3-tinycss2"
-checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
- asciidoc inkscape pandoc python3-flaky python3-PyQt5"
+ python3-Pygments python3-traitlets python3-tinycss2"
+checkdepends="$depends python3-pytest-xdist python3-jupyter_ipywidgets
+ asciidoc inkscape pandoc python3-flaky python3-PyQt5 python3-ipython_ipykernel"
short_desc="Converting Jupyter notebooks"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=86ca91ba266b0a448dc96fa6c5b9d98affabde2867b363258703536807f9f7f4
+checksum=576a7e37c6480da7b8465eefa66c17844243816ce1ccc372633c6b71c3c0f582
pre_check() {
# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
From b72a2a3bd52e6dd705058c7b144b0954c6fdb115 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:20:08 -0300
Subject: [PATCH 15/41] New package: python3-forbiddenfruit-0.1.4
---
srcpkgs/python3-forbiddenfruit/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-forbiddenfruit/template
diff --git a/srcpkgs/python3-forbiddenfruit/template b/srcpkgs/python3-forbiddenfruit/template
new file mode 100644
index 00000000000000..fcfe09af6dc6f4
--- /dev/null
+++ b/srcpkgs/python3-forbiddenfruit/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-forbiddenfruit'
+pkgname=python3-forbiddenfruit
+version=0.1.4
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Patch python built-in objects"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later OR MIT"
+homepage="https://github.com/clarete/forbiddenfruit"
+changelog="https://github.com/clarete/forbiddenfruit/releases"
+distfiles="${PYPI_SITE}/f/forbiddenfruit/forbiddenfruit-${version}.tar.gz"
+checksum=e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253
+make_check=no # Tests require removed python3-nose
+
+post_install() {
+ vlicense COPYING.mit
+}
From b721598cb318a2c622bdc8d26424fdbc51c99957 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 11:25:30 -0300
Subject: [PATCH 16/41] New package: python3-blockbuster-1.5.24
---
srcpkgs/python3-blockbuster/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-blockbuster/template
diff --git a/srcpkgs/python3-blockbuster/template b/srcpkgs/python3-blockbuster/template
new file mode 100644
index 00000000000000..22aed76d4562ee
--- /dev/null
+++ b/srcpkgs/python3-blockbuster/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-blockbuster'
+pkgname=python3-blockbuster
+version=1.5.24
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="python3-forbiddenfruit"
+checkdepends="$depends python3-pytest-asyncio python3-requests"
+short_desc="Utility to detect blocking calls in the async event loop"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://github.com/cbornet/blockbuster"
+changelog="https://github.com/cbornet/blockbuster/releases"
+distfiles="${PYPI_SITE}/b/blockbuster/blockbuster-${version}.tar.gz"
+checksum=97645775761a5d425666ec0bc99629b65c7eccdc2f770d2439850682567af4ec
From e041a0edac433c5d6948fc7b72345ee04e514356 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 16:32:14 -0300
Subject: [PATCH 17/41] python3-outcome: update to 1.3.0.post0, fix deps.
---
srcpkgs/python3-outcome/template | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-outcome/template b/srcpkgs/python3-outcome/template
index 5976562a5dcfd2..37f235a4871d10 100644
--- a/srcpkgs/python3-outcome/template
+++ b/srcpkgs/python3-outcome/template
@@ -1,17 +1,18 @@
# Template file for 'python3-outcome'
pkgname=python3-outcome
-version=1.2.0
-revision=3
-build_style=python3-module
+version=1.3.0.post0
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
-depends="python3"
-checkdepends="python3-pytest python3-pytest-cov python3-pytest-asyncio"
+depends="python3-attrs"
+checkdepends="$depends python3-pytest python3-pytest-cov python3-pytest-asyncio"
short_desc="Capture the outcome of Python function calls"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/outcome"
+changelog="https://raw.githubusercontent.com/python-trio/outcome/refs/heads/master/docs/source/history.rst"
distfiles="${PYPI_SITE}/o/outcome/outcome-${version}.tar.gz"
-checksum=6f82bd3de45da303cf1f771ecafa1633750a358436a8bb60e06a1ceb745d2672
+checksum=9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8
post_install() {
vlicense LICENSE
From 7f9f9a17343384116e12f4c1bb5392524d03faab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 5 Mar 2025 22:13:00 -0300
Subject: [PATCH 18/41] python3-trio: update to 0.30.0.
---
.../patches/fix-for-attrs-24.1.0.patch | 24 -------------------
srcpkgs/python3-trio/template | 14 +++--------
2 files changed, 3 insertions(+), 35 deletions(-)
delete mode 100644 srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
diff --git a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch b/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
deleted file mode 100644
index c4e36205c9c17e..00000000000000
--- a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Cherry picked from: https://github.com/python-trio/trio/pull/3058
-
-From 0152c3efcffe7d9b77b2a765e6992c6685b63499 Mon Sep 17 00:00:00 2001
-From: A5rocks <git@helvetica.moe>
-Date: Mon, 5 Aug 2024 21:29:33 +0900
-Subject: [PATCH 2/5] Fix deprecation warning from attrs
-
----
- src/trio/_threads.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/trio/_threads.py b/src/trio/_threads.py
-index a04b73729..0f0e58500 100644
---- a/src/trio/_threads.py
-+++ b/src/trio/_threads.py
-@@ -139,7 +139,7 @@ def current_default_thread_limiter() -> CapacityLimiter:
- # system; see https://github.com/python-trio/trio/issues/182
- # But for now we just need an object to stand in for the thread, so we can
- # keep track of who's holding the CapacityLimiter's token.
--@attrs.frozen(eq=False, hash=False, slots=False)
-+@attrs.frozen(eq=False, slots=False)
- class ThreadPlaceholder:
- name: str
-
diff --git a/srcpkgs/python3-trio/template b/srcpkgs/python3-trio/template
index 62788e39dc6e1c..d6510e411af9f0 100644
--- a/srcpkgs/python3-trio/template
+++ b/srcpkgs/python3-trio/template
@@ -1,7 +1,7 @@
# Template file for 'python3-trio'
pkgname=python3-trio
-version=0.26.1
-revision=2
+version=0.30.0
+revision=1
build_style=python3-pep517
# Needs astor (https://pypi.org/project/astor/)
make_check_args="--ignore src/trio/_tests/tools/test_gen_exports.py"
@@ -16,15 +16,7 @@ license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/trio"
changelog="https://raw.githubusercontent.com/python-trio/trio/master/docs/source/history.rst"
distfiles="${PYPI_SITE}/t/trio/trio-${version}.tar.gz"
-checksum=6d2fe7ee656146d598ec75128ff4a2386576801b42b691f4a91cc2c18508544a
-make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1"
-
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
- # pthread_getname_np(3) n/a in musl 1.1
- make_check_args+="
- --deselect src/trio/_tests/test_threads.py::test_named_thread_os
- "
-fi
+checksum=0781c857c0c81f8f51e0089929a26b5bb63d57f927728a5586f7e36171f064df
post_install() {
vlicense LICENSE
From d31d6a51677120b54340b00f87d06192b154b056 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Mar 2025 16:44:57 -0300
Subject: [PATCH 19/41] python3-anyio: update to 4.9.0.
---
srcpkgs/python3-anyio/template | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template
index 13776f697758c2..ac54658e218a22 100644
--- a/srcpkgs/python3-anyio/template
+++ b/srcpkgs/python3-anyio/template
@@ -1,21 +1,21 @@
# Template file for 'python3-anyio'
pkgname=python3-anyio
-version=4.4.0
-revision=2
+version=4.9.0
+revision=1
build_style=python3-pep517
# This file needs python module `exceptiongroup`
make_check_args="--ignore tests/test_taskgroups.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-sniffio python3-idna"
-checkdepends="$depends python3-pytest-mock python3-hypothesis
- python3-psutil python3-trio python3-trustme python3-uvloop"
+checkdepends="$depends python3-pytest-mock python3-hypothesis python3-psutil
+ python3-trio python3-trustme python3-uvloop python3-blockbuster"
short_desc="High level asynchronous concurrency and networking framework"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/agronholm/anyio"
changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst"
distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz"
-checksum=5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94
+checksum=673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI
@@ -25,7 +25,8 @@ if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
_test3="(test_iterate)or(test_receive)or(test_reuse)or(test_send)"
_test3="(TestConnectedUDPSocket)and($_test3)and(-ipv6)"
_test4="test_bind_link_local"
- make_check_args+=" -k not(($_test1)or($_test2)or($_test3)or($_test4))"
+ _test5="test_getaddrinfo"
+ make_check_args+=" -k not(($_test1)or($_test2)or($_test3)or($_test4)or($_test5))"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
From 84a12c09a498e72ae9d856ba79e6762cb57e3081 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:01 -0300
Subject: [PATCH 20/41] python3-attrs: update to 25.3.0.
---
srcpkgs/python3-attrs/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template
index c896dd4a9ae070..220008c24762c9 100644
--- a/srcpkgs/python3-attrs/template
+++ b/srcpkgs/python3-attrs/template
@@ -1,6 +1,6 @@
# Template file for 'python3-attrs'
pkgname=python3-attrs
-version=25.1.0
+version=25.3.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools hatch-vcs hatch-fancy-pypi-readme"
@@ -12,7 +12,7 @@ license="MIT"
homepage="https://attrs.readthedocs.io/"
changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
-checksum=1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e
+checksum=75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b
post_install() {
vlicense LICENSE
From 699181d4fc25c0aa0233468281b9594c62e21bab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:26:04 -0300
Subject: [PATCH 21/41] python3-rpds-py: update to 0.24.0.
---
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 74677c89ee56d5..072f1a7f4d9c2b 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.23.1
+version=0.24.0
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=7f3240dcfa14d198dba24b8b9cb3b108c06b68d45b7babd9eefc1038fdf7e707
+checksum=772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e
post_install() {
vlicense LICENSE
From bb4b5ca244e2618b9d662abc48721a0d092e455a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 20:41:25 -0300
Subject: [PATCH 22/41] python3-socks: update to 2.7.1.
---
srcpkgs/python3-socks/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template
index 6f2cbc5c915844..3ff85627752bf9 100644
--- a/srcpkgs/python3-socks/template
+++ b/srcpkgs/python3-socks/template
@@ -1,6 +1,6 @@
# Template file for 'python3-socks'
pkgname=python3-socks
-version=2.6.1
+version=2.7.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
@@ -15,5 +15,5 @@ maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/romis2012/python-socks"
distfiles="${PYPI_SITE}/p/python-socks/python_socks-${version}.tar.gz"
-checksum=9743929aab6ffe0bab640ecfbbee7130af92408ad86e4aa2984789f742f3ec9e
+checksum=f1a0bb603830fe81e332442eada96757b8f8dec02bd22d1d6f5c99a79704c550
make_check_pre="env SKIP_IPV6_TESTS=True"
From 85257cd2ce51cd8c38be3c1342b804fef6ba8383 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 20:53:00 -0300
Subject: [PATCH 23/41] python3-websocket-client: update to 1.8.0.
---
srcpkgs/python3-websocket-client/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index b858a4f86452a7..f428fd63df158b 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,7 +1,7 @@
# Template file for 'python3-websocket-client'
pkgname=python3-websocket-client
-version=1.7.0
-revision=2
+version=1.8.0
+revision=1
build_style=python3-pep517
make_check_target="websocket/tests"
hostmakedepends="python3-setuptools python3-wheel"
@@ -13,5 +13,5 @@ license="Apache-2.0"
homepage="https://github.com/websocket-client/websocket-client"
changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v${version}.tar.gz"
-checksum=923c3b7d0cecfdc449eec5e95c90ae6b0ea24e8782d42f23c05d2bb43bfabd39
+checksum=03306a5a5afb4e5bffd7fce4e2fb6438be91c14543cf1d6f506893f831047bfc
conflicts="python-websocket-client"
From 88a5e458fe0feeac78971410b8bee10ac4960ed2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 21:03:34 -0300
Subject: [PATCH 24/41] python3-prometheus_client: update to 0.21.1.
---
srcpkgs/python3-prometheus_client/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-prometheus_client/template b/srcpkgs/python3-prometheus_client/template
index 590d0bf11cdc1d..5ff8a4134cebe1 100644
--- a/srcpkgs/python3-prometheus_client/template
+++ b/srcpkgs/python3-prometheus_client/template
@@ -1,8 +1,8 @@
# Template file for 'python3-prometheus_client'
pkgname=python3-prometheus_client
-version=0.20.0
-revision=2
-build_style=python3-module
+version=0.21.1
+revision=1
+build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
@@ -12,4 +12,4 @@ license="Apache-2.0"
homepage="https://github.com/prometheus/client_python"
changelog="https://github.com/prometheus/client_python/releases"
distfiles="${PYPI_SITE}/p/prometheus_client/prometheus_client-${version}.tar.gz"
-checksum=287629d00b147a32dcb2be0b9df905da599b2d82f80377083ec8463309a4bb89
+checksum=252505a722ac04b0456be05c05f75f45d760c2911ffc45f2a06bcaed9f3ae3fb
From 00064222ae10e2bc3fdd226f7213d6708224b040 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 May 2025 21:04:31 -0300
Subject: [PATCH 25/41] python3-terminado: update to 0.18.1.
---
srcpkgs/python3-terminado/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-terminado/template b/srcpkgs/python3-terminado/template
index 0efb9772886beb..178d9078b0dee9 100644
--- a/srcpkgs/python3-terminado/template
+++ b/srcpkgs/python3-terminado/template
@@ -1,17 +1,17 @@
# Template file for 'python3-terminado'
pkgname=python3-terminado
-version=0.17.1
-revision=3
+version=0.18.1
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-ptyprocess python3-tornado"
-checkdepends="python3-pytest $depends"
+checkdepends="python3-pytest-timeout $depends"
short_desc="Terminals served to term.js using Tornado websockets"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/takluyver/terminado"
distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
-checksum=6ccbbcd3a4f8a25a5ec04991f39a0b8db52dfcd487ea0e578d977e6752380333
+checksum=de09f2c4b85de4765f7714688fff57d3e75bad1f909b589fde880460c753fd2e
post_install() {
vlicense LICENSE
From b3bfd8933f75d821c609de0dd349bc3f97a1c768 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 12:18:52 -0300
Subject: [PATCH 26/41] python3-click: update to 8.2.0.
---
srcpkgs/python3-click/template | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 507938e9182839..8e2df4c0c54656 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,19 +1,19 @@
# Template file for 'python3-click'
pkgname=python3-click
-version=8.1.7
-revision=3
-build_style="python3-module"
-hostmakedepends="python3-setuptools"
+version=8.2.0
+revision=1
+build_style="python3-pep517"
+hostmakedepends="python3-flit_core"
depends="python3"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest less"
short_desc="Python3 package for creating beautiful command line interfaces"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://palletsprojects.com/p/click/"
changelog="https://raw.githubusercontent.com/pallets/click/main/CHANGES.rst"
distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de
+checksum=f5452aeddd9988eefa20f90f05ab66f17fce1ee2a36907fd30b05bbb5953814d
post_install() {
- vlicense LICENSE.rst
+ vlicense LICENSE.txt
}
From 419e74b48224e6d5ddde9318b73b8acffe8092af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:26:34 -0300
Subject: [PATCH 27/41] python3-jupyter_events: update to 0.12.0.
---
.../python3-jupyter_events/patches/fix-dep.patch | 15 +++++++++++++++
srcpkgs/python3-jupyter_events/template | 9 +++++----
2 files changed, 20 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-jupyter_events/patches/fix-dep.patch
diff --git a/srcpkgs/python3-jupyter_events/patches/fix-dep.patch b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
new file mode 100644
index 00000000000000..c96f3c211597dd
--- /dev/null
+++ b/srcpkgs/python3-jupyter_events/patches/fix-dep.patch
@@ -0,0 +1,15 @@
+We don't have all dependencies required for `jsonschema[format-nongpl]`.
+However, `rfc3339-validator` and `rfc3986-validator` seem enough, and
+we do have them listed in `depends=`.
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -24,7 +24,7 @@
+ ]
+ dependencies = [
+ "referencing",
+- "jsonschema[format-nongpl]>=4.18.0",
++ "jsonschema>=4.18.0",
+ "python-json-logger>=2.0.4",
+ "pyyaml>=5.3",
+ "traitlets>=5.3",
diff --git a/srcpkgs/python3-jupyter_events/template b/srcpkgs/python3-jupyter_events/template
index f1191124ca7f32..63a6aaa7a988be 100644
--- a/srcpkgs/python3-jupyter_events/template
+++ b/srcpkgs/python3-jupyter_events/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_events'
pkgname=python3-jupyter_events
-version=0.10.0
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-jsonschema python3-json-logger python3-yaml python3-traitlets
- python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator"
+ python3-click python3-rich python3-rfc3339-validator python3-rfc3986-validator
+ python3-packaging python3-referencing"
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>"
@@ -13,7 +14,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=670b8229d3cc882ec782144ed22e0d29e1c2d639263f92ca8383e66682845e22
+checksum=fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b
post_install() {
vlicense LICENSE
From c7b3b757fbc972785bdd2a3268914d53a090d595 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 8 Mar 2025 18:33:57 -0300
Subject: [PATCH 28/41] python3-jupyter_server: update to 2.16.0.
---
srcpkgs/python3-jupyter_server/template | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template
index a91e9f0ea23c76..07de9e2b5ab8f9 100644
--- a/srcpkgs/python3-jupyter_server/template
+++ b/srcpkgs/python3-jupyter_server/template
@@ -1,14 +1,14 @@
# Template file for 'python3-jupyter_server'
pkgname=python3-jupyter_server
-version=2.14.2
-revision=2
+version=2.16.0
+revision=1
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"
+depends="python3-anyio python3-argon2 python3-Jinja2 python3-jupyter_client
+ python3-jupyter_core python3-jupyter_events python3-jupyter_server_terminals
+ python3-jupyter_nbconvert python3-jupyter_nbformat python3-overrides
+ python3-packaging python3-prometheus_client python3-pyzmq python3-send2trash
+ python3-terminado python3-tornado python3-traitlets python3-websocket-client"
checkdepends="$depends pandoc python3-ipython_ipykernel
python3-pytest-console-scripts python3-pytest-jupyter
python3-pytest-xdist python3-requests python3-flaky"
@@ -18,7 +18,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=66095021aa9638ced276c248b1d81862e4c50f292d575920bbe960de1c56b12b
+checksum=65d4b44fdf2dcbbdfe0aa1ace4a842d4aaf746a2b7b168134d5aaed35621b7f6
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (connect to a tcp address)
From d4a85865b977e4f50998537fd290173b575dcd87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 16:26:16 -0300
Subject: [PATCH 29/41] python3-coverage: update to 7.8.0.
---
srcpkgs/python3-coverage/template | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template
index 88a586aba90760..d39d0605041df4 100644
--- a/srcpkgs/python3-coverage/template
+++ b/srcpkgs/python3-coverage/template
@@ -1,8 +1,10 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
-version=7.6.12
+version=7.8.0
revision=1
build_style=python3-pep517
+# this counts files but our installed package has fewer files
+make_check_args="--deselect tests/test_testing.py::test_all_our_source_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis"
@@ -12,7 +14,7 @@ license="Apache-2.0"
homepage="https://github.com/nedbat/coveragepy"
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
-checksum=48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2
+checksum=7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501
pre_check() {
# required setup, see tox.ini
@@ -26,7 +28,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -m installer dist/*.whl
- PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
+ PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
+ ${make_check_args} ${make_check_target}
}
post_install() {
From a038afc89aeec04e65c14be169151ba1effa0da6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 17:53:51 -0300
Subject: [PATCH 30/41] python3-pytest-cov: update to 6.1.1.
---
srcpkgs/python3-pytest-cov/template | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index cbf51bbbf4ad8f..5b6f92d7e21edf 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,11 +1,8 @@
# Template file for 'python3-pytest-cov'
pkgname=python3-pytest-cov
-version=5.0.0
-revision=2
+version=6.1.1
+revision=1
build_style=python3-pep517
-# this test fails with python3-coverage >= 7.6
-make_check_args="
- --deselect tests/test_pytest_cov.py::test_term_report_does_not_interact_with_html_output"
hostmakedepends="python3-setuptools"
depends="python3-pytest python3-coverage"
checkdepends="$depends python3-fields python3-process-tests
@@ -15,8 +12,8 @@ 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=5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857
+distfiles="${PYPI_SITE}/p/pytest-cov/pytest_cov-${version}.tar.gz"
+checksum=46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a
do_check() {
# Running via PYTHONPATH breaks a few tests so we use a venv
@@ -25,9 +22,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -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}
+ PYTHONPATH="/${py3_sitelib}" PYTHONUSERBASE=/usr \
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
${make_check_args} ${make_check_target}
}
From 2cc826d1c908a29091bba39d1a10796a15603470 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:07:48 -0300
Subject: [PATCH 31/41] python3-json5: update to 0.12.0.
---
srcpkgs/python3-json5/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template
index a0656d05038ff5..2d9bfebb90fb78 100644
--- a/srcpkgs/python3-json5/template
+++ b/srcpkgs/python3-json5/template
@@ -1,7 +1,7 @@
# Template file for 'python3-json5'
pkgname=python3-json5
-version=0.9.25
-revision=2
+version=0.12.0
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
@@ -11,4 +11,4 @@ maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>
license="Apache-2.0"
homepage="https://github.com/dpranke/pyjson5"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
-checksum=a31db9a7d2cd102051e27efd519b9670a3b6be7b9d951145637c0a3e2350e141
+checksum=39b21785fc12c61716a3634b466e3faffc5c679148c2d9cbbef9cc0c15772b6f
From a3be855f370d5494d8603d2f4d0cf11fd5a9cf8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 15:10:11 -0300
Subject: [PATCH 32/41] python3-async-lru: update to 2.0.5.
---
srcpkgs/python3-async-lru/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-async-lru/template b/srcpkgs/python3-async-lru/template
index 96456af4a55a51..68439569f5fac0 100644
--- a/srcpkgs/python3-async-lru/template
+++ b/srcpkgs/python3-async-lru/template
@@ -1,7 +1,7 @@
# Template file for 'python3-async-lru'
pkgname=python3-async-lru
-version=2.0.4
-revision=3
+version=2.0.5
+revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-typing_extensions"
@@ -12,8 +12,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/aio-libs/async-lru"
changelog="https://raw.githubusercontent.com/aio-libs/async-lru/master/CHANGES.rst"
-distfiles="${PYPI_SITE}/a/async-lru/async-lru-${version}.tar.gz"
-checksum=b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627
+distfiles="${PYPI_SITE}/a/async-lru/async_lru-${version}.tar.gz"
+checksum=481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb
post_install() {
vlicense LICENSE
From d1bdbc6ffa289322cd4188494f12efa60e0a2d66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:32:49 -0300
Subject: [PATCH 33/41] New package: python3-jupyter-lsp-2.2.5
---
srcpkgs/python3-jupyter-lsp/template | 24 ++++++++++++++++++++++++
srcpkgs/python3-jupyter-lsp/update | 3 +++
2 files changed, 27 insertions(+)
create mode 100644 srcpkgs/python3-jupyter-lsp/template
create mode 100644 srcpkgs/python3-jupyter-lsp/update
diff --git a/srcpkgs/python3-jupyter-lsp/template b/srcpkgs/python3-jupyter-lsp/template
new file mode 100644
index 00000000000000..9114c2dd667ae8
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-jupyter-lsp'
+pkgname=python3-jupyter-lsp
+version=2.2.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter_server"
+checkdepends="$depends python3-pytest"
+short_desc="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyter-lsp/jupyter-lsp-${version}.tar.gz"
+checksum=793147a05ad446f809fd53ef1cd19a9f5256fd0a2d6b7ce943a982cb4f545001
+
+# This test needs R package languageserver which we don't have
+make_check_args="
+ --deselect jupyter_lsp/tests/test_detect.py::test_r_package_detection"
+
+post_install() {
+ mv ${DESTDIR}/usr/etc ${DESTDIR}
+ vlicense LICENSE
+}
diff --git a/srcpkgs/python3-jupyter-lsp/update b/srcpkgs/python3-jupyter-lsp/update
new file mode 100644
index 00000000000000..31ba62a576d642
--- /dev/null
+++ b/srcpkgs/python3-jupyter-lsp/update
@@ -0,0 +1,3 @@
+# override since the github also contains jupyterlab-server tags
+site=https://pypi.org/simple/jupyter-lsp
+pkgname=jupyter-lsp
From 734494abcd27647a0ffe5584429bbc5ccc635bf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 18 Apr 2025 09:44:54 -0300
Subject: [PATCH 34/41] New package: python3-jupyterlab-lsp-5.1.0
---
srcpkgs/python3-jupyterlab-lsp/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-jupyterlab-lsp/template
diff --git a/srcpkgs/python3-jupyterlab-lsp/template b/srcpkgs/python3-jupyterlab-lsp/template
new file mode 100644
index 00000000000000..7835a6bb8b6d93
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab-lsp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-jupyterlab-lsp'
+pkgname=python3-jupyterlab-lsp
+version=5.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools"
+depends="python3-jupyter-lsp jupyterlab"
+short_desc="Coding assistance for JupyterLab with Language Server Protocol"
+maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="BSD-3-Clause"
+homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
+changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
+distfiles="${PYPI_SITE}/j/jupyterlab-lsp/jupyterlab-lsp-${version}.tar.gz"
+checksum=aeac84093ada6d20ef57ae0e97811cc5796a0cab7237b32f8eddf993c0bb0356
+make_check=no # Upstream defines no tests
+
+post_install() {
+ vlicense LICENSE
+}
From eda846e19dd8e0bef986b8c4839fcc59f397c82e Mon Sep 17 00:00:00 2001
From: dkwo <npiazza@disroot.org>
Date: Thu, 17 Apr 2025 14:54:30 -0400
Subject: [PATCH 35/41] jupyterlab: update to 4.4.2.
---
srcpkgs/jupyterlab/template | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template
index 4782370a75598d..18091204e1d5c1 100644
--- a/srcpkgs/jupyterlab/template
+++ b/srcpkgs/jupyterlab/template
@@ -1,21 +1,23 @@
# Template file for 'jupyterlab'
pkgname=jupyterlab
-version=4.2.4
-revision=2
+version=4.4.2
+revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
depends="nodejs python3-async-lru python3-httpx python3-ipython_ipykernel
- python3-jupyterlab_server python3-notebook_shim"
-checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
+ python3-Jinja2 python3-jupyter_core python3-jupyter_server python3-tornado
+ python3-packaging python3-setuptools python3-jupyter-lsp
+ python3-traitlets python3-jupyterlab_server python3-notebook_shim"
+checkdepends="${depends} python3-pytest-jupyter python3-pytest-xdist"
short_desc="JupyterLab computational environment"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=343a979fb9582fd08c8511823e320703281cd072a0049bcdafdc7afeda7f2537
+checksum=afa9caf28c0cb966488be18e5e8daba9f018a1c4273a406b7d5006344cbc6d16
-if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
+if [ "${XBPS_BUILD_ENVIRONMENT}" = void-packages-ci ]; then
# this test fails on CI (network timeout)
make_check_args="
--deselect=jupyterlab/tests/test_build_api.py::TestBuildAPI
From 2090b47325cdce6a74ea97791c4bc8cae94e8b55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 1 May 2025 21:34:48 -0300
Subject: [PATCH 36/41] python3-jupyter_notebook: update to 7.4.2.
---
srcpkgs/python3-jupyter_notebook/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-jupyter_notebook/template b/srcpkgs/python3-jupyter_notebook/template
index 3984d364cd7eb5..226e9e189a03fb 100644
--- a/srcpkgs/python3-jupyter_notebook/template
+++ b/srcpkgs/python3-jupyter_notebook/template
@@ -1,11 +1,11 @@
# Template file for 'python3-jupyter_notebook'
pkgname=python3-jupyter_notebook
-version=7.2.1
-revision=2
+version=7.4.2
+revision=1
build_style=python3-pep517
-make_build_args="--skip-dependency-check"
hostmakedepends="hatchling hatch-jupyter-builder jupyterlab"
-depends="jupyterlab"
+depends="python3-jupyter_server python3-jupyterlab_server jupyterlab
+ python3-notebook_shim python3-tornado"
checkdepends="$depends python3-pytest-jupyter"
short_desc="Jupyter interactive notebook"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
@@ -13,7 +13,7 @@ license="BSD-3-Clause"
homepage="https://github.com/jupyter/notebook"
changelog="https://raw.githubusercontent.com/jupyter/notebook/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
-checksum=4287b6da59740b32173d01d641f763d292f49c30e7a51b89c46ba8473126341e
+checksum=e739defd28c3f615a6bfb0a2564bd75018a9cc6613aa00bbd9c15e68eed2de1b
post_install() {
mv ${DESTDIR}/usr/etc ${DESTDIR}
From 177862cf993c4269c323bec791d93e24d81798b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:07:51 -0300
Subject: [PATCH 37/41] yarn-bin: update to 1.22.22.
---
srcpkgs/yarn-bin/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/yarn-bin/template b/srcpkgs/yarn-bin/template
index 46ae0c0a162365..1927e8d10a92ef 100644
--- a/srcpkgs/yarn-bin/template
+++ b/srcpkgs/yarn-bin/template
@@ -1,6 +1,6 @@
# Template file for 'yarn-bin'
pkgname=yarn-bin
-version=1.22.19
+version=1.22.22
revision=1
depends="virtual?nodejs-runtime"
short_desc="Fast, reliable, and secure dependency management - precompiled binaries"
@@ -8,7 +8,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://yarnpkg.com/"
distfiles="https://github.com/yarnpkg/yarn/releases/download/v${version}/yarn-v${version}.tar.gz"
-checksum=732620bac8b1690d507274f025f3c6cfdc3627a84d9642e38a07452cc00e0f2e
+checksum=88268464199d1611fcf73ce9c0a6c4d44c7d5363682720d8506f6508addf36a0
conflicts="yarn>=0"
do_extract() {
From d94fbda0533f037bdc10be75b8565df53d8c9b87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:07:53 -0300
Subject: [PATCH 38/41] yarn: update to 1.22.22.
---
srcpkgs/yarn/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/yarn/template b/srcpkgs/yarn/template
index e63a97e9abca98..adac9172221b8d 100644
--- a/srcpkgs/yarn/template
+++ b/srcpkgs/yarn/template
@@ -1,6 +1,6 @@
# Template file for 'yarn'
pkgname=yarn
-version=1.22.19
+version=1.22.22
revision=1
hostmakedepends="yarn-bin nodejs tar"
depends="virtual?nodejs-runtime"
@@ -9,7 +9,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://yarnpkg.com/"
distfiles="https://github.com/yarnpkg/${pkgname}/archive/v${version}.tar.gz"
-checksum=50af0025d2ef942bf3e6cdd0587dc9c4dd8d6e6e69501b84935d09f2b2b5de8b
+checksum=47d10b957569dee7a200628b680657d8d3cc28465c9e413948642131558d3eb8
conflicts="yarn-bin>=0"
From ea422963e9528e9ac60c9044209603c613521d3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 12:33:35 -0300
Subject: [PATCH 39/41] python3-nbclassic: update to 1.3.1.
---
.../patches/fix-warning.patch | 11 -----
.../patches/python3.13.patch | 41 -------------------
srcpkgs/python3-nbclassic/template | 13 +++---
3 files changed, 7 insertions(+), 58 deletions(-)
delete mode 100644 srcpkgs/python3-nbclassic/patches/fix-warning.patch
delete mode 100644 srcpkgs/python3-nbclassic/patches/python3.13.patch
diff --git a/srcpkgs/python3-nbclassic/patches/fix-warning.patch b/srcpkgs/python3-nbclassic/patches/fix-warning.patch
deleted file mode 100644
index 161e86deeb766e..00000000000000
--- a/srcpkgs/python3-nbclassic/patches/fix-warning.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/nbclassic/notebookapp.py
-+++ b/nbclassic/notebookapp.py
-@@ -324,7 +324,7 @@ class NotebookApp(
- router.add_rules(core_rules)
- router.add_rules(static_handlers)
- router.add_rules(final_rules)
-- print("""
-+ print(r"""
- _ _ _ _
- | | | |_ __ __| |__ _| |_ ___
- | |_| | '_ \/ _` / _` | _/ -_)
diff --git a/srcpkgs/python3-nbclassic/patches/python3.13.patch b/srcpkgs/python3-nbclassic/patches/python3.13.patch
deleted file mode 100644
index af7962b20c3efc..00000000000000
--- a/srcpkgs/python3-nbclassic/patches/python3.13.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 2545d900b40bbb9fa3ea266afa617e6e0be70c71 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Lum=C3=ADr=20=27Frenzy=27=20Balhar?= <lbalhar@redhat.com>
-Date: Sat, 7 Sep 2024 03:37:00 +0200
-Subject: [PATCH] Replace pipes with shlex (#286)
-
-pipes module has been deprecated in Python 3.11 and removed in 3.13. https://peps.python.org/pep-0594/
----
- setupbase.py | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/setupbase.py b/setupbase.py
-index 80f28b6eb..4e7a4feec 100644
---- a/setupbase.py
-+++ b/setupbase.py
-@@ -12,7 +12,7 @@
-
- import os
- import re
--import pipes
-+import shlex
- import shutil
- import sys
-
-@@ -27,7 +27,7 @@
- from subprocess import list2cmdline
- else:
- def list2cmdline(cmd_list):
-- return ' '.join(map(pipes.quote, cmd_list))
-+ return ' '.join(map(shlex.quote, cmd_list))
-
- #-------------------------------------------------------------------------------
- # Useful globals and utility functions
-@@ -486,7 +486,7 @@ def run(self):
- try:
- run(['lessc',
- '--source-map',
-- '--include-path=%s' % pipes.quote(static),
-+ '--include-path=%s' % shlex.quote(static),
- src,
- dst,
- ], cwd=repo_root, env=env)
diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template
index 88df2c9352caa8..53c0599842fc02 100644
--- a/srcpkgs/python3-nbclassic/template
+++ b/srcpkgs/python3-nbclassic/template
@@ -1,11 +1,12 @@
# Template file for 'python3-nbclassic'
pkgname=python3-nbclassic
-version=1.1.0
-revision=2
+version=1.3.1
+revision=1
build_style=python3-pep517
-make_build_args="--skip-dependency-check"
-hostmakedepends="python3-jupyter_packaging python3-jupyter_server"
-depends="mathjax2 python3-notebook_shim"
+hostmakedepends="hatchling hatch-jupyter-builder python3-jupyter_server
+ python3-setuptools python3-Babel yarn"
+depends="mathjax2 python3-ipython_ipykernel python3-ipython_genutils
+ python3-nest_asyncio python3-notebook_shim"
checkdepends="$depends python3-pytest-jupyter"
short_desc="Jupyter Notebook as a Jupyter Server Extension"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
@@ -13,7 +14,7 @@ license="BSD-3-Clause"
homepage="https://github.com/jupyter/nbclassic"
changelog="https://raw.githubusercontent.com/jupyter/nbclassic/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
-checksum=77b77ba85f9e988f9bad85df345b514e9e64c7f0e822992ab1df4a78ac64fc1e
+checksum=4c52da8fc88f9f73ef512cc305091d5ce726bdca19f44ed697cb5ba12dcaad3c
post_install() {
vlicense LICENSE
From e4708c431c70cc41c0f5038caa7b54e45f7131cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:28:56 -0300
Subject: [PATCH 40/41] python3-QtPy: update to 2.4.3.
---
srcpkgs/python3-QtPy/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python3-QtPy/template b/srcpkgs/python3-QtPy/template
index d654aba6d112c3..9d092ef64dcbae 100644
--- a/srcpkgs/python3-QtPy/template
+++ b/srcpkgs/python3-QtPy/template
@@ -1,11 +1,11 @@
# Template file for 'python3-QtPy'
pkgname=python3-QtPy
-version=2.4.1
-revision=2
+version=2.4.3
+revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
# depends on either of PyQt5, PyQt6
-depends="python3"
+depends="python3-packaging"
# check dependencies common to both PyQt5 and PyQt6
_qtcommon=":connectivity :multimedia :sensors :serialport :sql :svg :tools
:webchannel :webengine :websockets"
@@ -23,8 +23,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/spyder-ide/qtpy"
changelog="https://raw.githubusercontent.com/spyder-ide/qtpy/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/Q/QtPy/QtPy-${version}.tar.gz"
-checksum=a5a15ffd519550a1361bdc56ffc07fda56a6af7292f17c7b395d4083af632987
+distfiles="${PYPI_SITE}/Q/QtPy/qtpy-${version}.tar.gz"
+checksum=db744f7832e6d3da90568ba6ccbca3ee2b3b4a890c3d6fbbc63142f6e4cdf5bb
do_check() {
local qtapi
From 8f916033932fde1bbfc7976cc59ab4dd72d78a90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 5 May 2025 15:41:40 -0300
Subject: [PATCH 41/41] python3-jupyter_qtconsole: update to 5.6.1.
---
srcpkgs/python3-jupyter_qtconsole/template | 9 +++++----
srcpkgs/python3-jupyter_qtconsole/update | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-jupyter_qtconsole/update
diff --git a/srcpkgs/python3-jupyter_qtconsole/template b/srcpkgs/python3-jupyter_qtconsole/template
index 4a77feb6f7632a..2fd0bd23f17654 100644
--- a/srcpkgs/python3-jupyter_qtconsole/template
+++ b/srcpkgs/python3-jupyter_qtconsole/template
@@ -1,11 +1,12 @@
# Template file for 'python3-jupyter_qtconsole'
pkgname=python3-jupyter_qtconsole
-version=5.5.2
-revision=2
+version=5.6.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-PyQt5-svg python3-QtPy"
+ python3-Pygments python3-ipython_ipykernel python3-PyQt5-svg python3-QtPy
+ python3-packaging"
checkdepends="$depends python3-pytest-qt python3-flaky"
short_desc="Jupyter Qt console"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
@@ -13,7 +14,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=6b5fb11274b297463706af84dcbbd5c92273b1f619e6d25d08874b0a88516989
+checksum=5cad1c7e6c75d3ef8143857fd2ed28062b4b92b933c2cc328252d18a9cfd0be5
conflicts="python-jupyter_qtconsole<=4.4.3_2"
post_install() {
diff --git a/srcpkgs/python3-jupyter_qtconsole/update b/srcpkgs/python3-jupyter_qtconsole/update
new file mode 100644
index 00000000000000..25ef51d109a4fd
--- /dev/null
+++ b/srcpkgs/python3-jupyter_qtconsole/update
@@ -0,0 +1 @@
+ignore="*a* *b* *rc*"
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: jupyterlab: update to 4.4.2 (and deps)
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (13 preceding siblings ...)
2025-05-12 19:09 ` [PR PATCH] [Updated] " tornaria
@ 2025-05-12 19:09 ` tornaria
2025-05-12 19:41 ` [PR PATCH] [Merged]: " ahesford
15 siblings, 0 replies; 17+ messages in thread
From: tornaria @ 2025-05-12 19:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
New comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/pull/55117#issuecomment-2873707733
Comment:
#54488 is now merged (thanks!) I've pushed a rebase.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PR PATCH] [Merged]: jupyterlab: update to 4.4.2 (and deps)
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
` (14 preceding siblings ...)
2025-05-12 19:09 ` tornaria
@ 2025-05-12 19:41 ` ahesford
15 siblings, 0 replies; 17+ messages in thread
From: ahesford @ 2025-05-12 19:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1665 bytes --]
There's a merged pull request on the void-packages repository
jupyterlab: update to 4.4.2 (and deps)
https://github.com/void-linux/void-packages/pull/55117
Description:
- **python3-coverage: update to 7.8.0.**
- **python3-pytest-cov: update to 6.1.1.**
- **python3-json5: update to 0.12.0.**
- **python3-async-lru: update to 2.0.5.**
- **New package: python3-jupyter-lsp-2.2.5**
- **New package: python3-jupyterlab-lsp-5.1.0**
- **jupyterlab: update to 4.4.2**
- **python3-jupyter_notebook: update to 7.4.2**
- **python3-nbclassic: update to 1.3.1**
- **python3-jupyter_qtconsole: update to 5.6.1**
Includes #54482, #54488, #54489, #54631, #55247.
The jupyterlab update is slightly edited from #55101.
@dkwo
<!-- 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
-->
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2025-05-12 19:41 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-18 20:59 [PR PATCH] jupyterlab and deps tornaria
2025-04-19 3:37 ` [PR PATCH] [Updated] " tornaria
2025-04-19 13:58 ` tornaria
2025-04-19 22:22 ` tornaria
2025-04-23 21:02 ` dkwo
2025-05-01 23:25 ` [PR PATCH] [Updated] " tornaria
2025-05-02 0:33 ` [PR PATCH] [Updated] jupyterlab: update to 4.4.1 (and deps) tornaria
2025-05-05 0:18 ` tornaria
2025-05-05 15:30 ` tornaria
2025-05-05 19:27 ` tornaria
2025-05-07 23:19 ` tornaria
2025-05-11 1:15 ` jupyterlab: update to 4.4.2 " tornaria
2025-05-11 19:29 ` ahesford
2025-05-12 12:06 ` tornaria
2025-05-12 19:09 ` [PR PATCH] [Updated] " tornaria
2025-05-12 19:09 ` tornaria
2025-05-12 19:41 ` [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).