Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-jupyter_ipywidgets: update to 8.1.5.
@ 2025-02-24 23:40 tornaria
  2025-02-25  6:14 ` [PR PATCH] [Updated] " tornaria
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tornaria @ 2025-02-24 23:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tornaria/void-packages ipywidgets
https://github.com/void-linux/void-packages/pull/54482

python3-jupyter_ipywidgets: update to 8.1.5.
- **python3-jupyter_widgetsnbextension: update to 4.0.13.**
- **New package: python3-jupyterlab-widgets-3.0.13**
- **python3-jupyter_ipywidgets: update to 8.1.5.**

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

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

From f7fafe8bccbc5138efba0d6c70ba9808f3bca0dc 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 1/3] python3-jupyter_widgetsnbextension: update to 4.0.13.

---
 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..299a2b76f42385 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.13
+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=ffcb67bc9febd10234a362795f643927f4e0c05d9342c727b65d2384f8feacb6
 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 03943d8b86836a243c84def3b5313724738641c9 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 2/3] New package: python3-jupyterlab-widgets-3.0.13

---
 .../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..01a697a25af0b3
--- /dev/null
+++ b/srcpkgs/python3-jupyterlab-widgets/patches/no-jupyterlab.patch
@@ -0,0 +1,9 @@
+--- a/builddir/python3-jupyterlab-widgets-3.0.13/pyproject.toml
++++ b/builddir/python3-jupyterlab-widgets-3.0.13/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..d1d90c29771f30
--- /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.13
+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=a2966d385328c1942b683a8cd96b89b8dd82c8b8f81dda902bb2bc06d46f5bed
+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 8938e8d6a5c696a772759612b4886f9f770131e5 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 3/3] python3-jupyter_ipywidgets: update to 8.1.5.

---
 .../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..037c7126558b88 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.5
+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=870e43b1a35656a80c18c9503bbf2d16802db1cb487eec6fab27d683381dde17
 
 # 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*"

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

* Re: [PR PATCH] [Updated] python3-jupyter_ipywidgets: update to 8.1.5.
  2025-02-24 23:40 [PR PATCH] python3-jupyter_ipywidgets: update to 8.1.5 tornaria
@ 2025-02-25  6:14 ` tornaria
  2025-04-18 13:27 ` tornaria
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2025-02-25  6:14 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages ipywidgets
https://github.com/void-linux/void-packages/pull/54482

python3-jupyter_ipywidgets: update to 8.1.5.
- **python3-jupyter_widgetsnbextension: update to 4.0.13.**
- **New package: python3-jupyterlab-widgets-3.0.13**
- **python3-jupyter_ipywidgets: update to 8.1.5.**

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

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

From 106fae55548c892ab0d30dd06255ea38bb191d71 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 1/3] python3-jupyter_widgetsnbextension: update to 4.0.13.

---
 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..299a2b76f42385 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.13
+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=ffcb67bc9febd10234a362795f643927f4e0c05d9342c727b65d2384f8feacb6
 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 a4d524d5f212a40cabd0e83f7ee331f1133242db 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 2/3] New package: python3-jupyterlab-widgets-3.0.13

---
 .../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..d1d90c29771f30
--- /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.13
+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=a2966d385328c1942b683a8cd96b89b8dd82c8b8f81dda902bb2bc06d46f5bed
+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 5cbc44cb8759b4d0ed42d74c77325292af110c2f 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 3/3] python3-jupyter_ipywidgets: update to 8.1.5.

---
 .../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..037c7126558b88 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.5
+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=870e43b1a35656a80c18c9503bbf2d16802db1cb487eec6fab27d683381dde17
 
 # 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*"

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

* Re: [PR PATCH] [Updated] python3-jupyter_ipywidgets: update to 8.1.5.
  2025-02-24 23:40 [PR PATCH] python3-jupyter_ipywidgets: update to 8.1.5 tornaria
  2025-02-25  6:14 ` [PR PATCH] [Updated] " tornaria
@ 2025-04-18 13:27 ` tornaria
  2025-04-19  3:37 ` [PR PATCH] [Updated] python3-jupyter_ipywidgets: update to 8.1.6 tornaria
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2025-04-18 13:27 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages ipywidgets
https://github.com/void-linux/void-packages/pull/54482

python3-jupyter_ipywidgets: update to 8.1.5.
- **python3-jupyter_widgetsnbextension: update to 4.0.13.**
- **New package: python3-jupyterlab-widgets-3.0.13**
- **python3-jupyter_ipywidgets: update to 8.1.5.**

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ipywidgets-54482.patch --]
[-- Type: text/x-diff, Size: 10563 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 1/3] 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 2/3] 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 3/3] 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*"

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

* Re: [PR PATCH] [Updated] python3-jupyter_ipywidgets: update to 8.1.6.
  2025-02-24 23:40 [PR PATCH] python3-jupyter_ipywidgets: update to 8.1.5 tornaria
  2025-02-25  6:14 ` [PR PATCH] [Updated] " tornaria
  2025-04-18 13:27 ` tornaria
@ 2025-04-19  3:37 ` tornaria
  2025-05-01 23:25 ` tornaria
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2025-04-19  3:37 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages ipywidgets
https://github.com/void-linux/void-packages/pull/54482

python3-jupyter_ipywidgets: update to 8.1.6.
- **python3-jupyter_widgetsnbextension: update to 4.0.14.**
- **New package: python3-jupyterlab_widgets-3.0.14**
- **python3-jupyter_ipywidgets: update to 8.1.6.**

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ipywidgets-54482.patch --]
[-- Type: text/x-diff, Size: 10563 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 1/3] 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 2/3] 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 3/3] 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*"

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

* Re: [PR PATCH] [Updated] python3-jupyter_ipywidgets: update to 8.1.6.
  2025-02-24 23:40 [PR PATCH] python3-jupyter_ipywidgets: update to 8.1.5 tornaria
                   ` (2 preceding siblings ...)
  2025-04-19  3:37 ` [PR PATCH] [Updated] python3-jupyter_ipywidgets: update to 8.1.6 tornaria
@ 2025-05-01 23:25 ` tornaria
  2025-05-07 23:23 ` tornaria
  2025-05-07 23:23 ` [PR PATCH] [Closed]: " tornaria
  5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2025-05-01 23:25 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages ipywidgets
https://github.com/void-linux/void-packages/pull/54482

python3-jupyter_ipywidgets: update to 8.1.6.
- **python3-jupyter_widgetsnbextension: update to 4.0.14.**
- **New package: python3-jupyterlab_widgets-3.0.14**
- **python3-jupyter_ipywidgets: update to 8.1.6.**

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ipywidgets-54482.patch --]
[-- Type: text/x-diff, Size: 10563 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 1/3] 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 2/3] 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 3/3] 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*"

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

* Re: [PR PATCH] [Closed]: python3-jupyter_ipywidgets: update to 8.1.6.
  2025-02-24 23:40 [PR PATCH] python3-jupyter_ipywidgets: update to 8.1.5 tornaria
                   ` (4 preceding siblings ...)
  2025-05-07 23:23 ` tornaria
@ 2025-05-07 23:23 ` tornaria
  5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2025-05-07 23:23 UTC (permalink / raw)
  To: ml

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

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

python3-jupyter_ipywidgets: update to 8.1.6.
https://github.com/void-linux/void-packages/pull/54482

Description:
- **python3-jupyter_widgetsnbextension: update to 4.0.14.**
- **New package: python3-jupyterlab_widgets-3.0.14**
- **python3-jupyter_ipywidgets: update to 8.1.6.**

<!-- 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] 7+ messages in thread

* Re: python3-jupyter_ipywidgets: update to 8.1.6.
  2025-02-24 23:40 [PR PATCH] python3-jupyter_ipywidgets: update to 8.1.5 tornaria
                   ` (3 preceding siblings ...)
  2025-05-01 23:25 ` tornaria
@ 2025-05-07 23:23 ` tornaria
  2025-05-07 23:23 ` [PR PATCH] [Closed]: " tornaria
  5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2025-05-07 23:23 UTC (permalink / raw)
  To: ml

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

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/54482#issuecomment-2860681835

Comment:
Included in #55117

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

end of thread, other threads:[~2025-05-07 23:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-24 23:40 [PR PATCH] python3-jupyter_ipywidgets: update to 8.1.5 tornaria
2025-02-25  6:14 ` [PR PATCH] [Updated] " tornaria
2025-04-18 13:27 ` tornaria
2025-04-19  3:37 ` [PR PATCH] [Updated] python3-jupyter_ipywidgets: update to 8.1.6 tornaria
2025-05-01 23:25 ` tornaria
2025-05-07 23:23 ` tornaria
2025-05-07 23:23 ` [PR PATCH] [Closed]: " tornaria

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