pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-ipywidgets py-ipywidgets: updated to 7.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae6189f02ad0
branches:  trunk
changeset: 376419:ae6189f02ad0
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Apr 07 10:20:48 2022 +0000

description:
py-ipywidgets: updated to 7.7.0

7.7
---
Highlights include:

- Fix installation on Python 3.10.
- Throw an error if we cannot render a widget, enabling the rendering system to fall back to rendering a different data type if available.
- Create a new widget control comm channel, enabling more efficient fetching of kernel widget state.
- Refactor logic for fetching kernel widget state to the manager base class. This logic first tries to use the new widget control comm channel, falling back to the existing method of requesting each 
widget's state individually.
- Enable HTMLManager output widgets to render state updates.
- Do not reset JupyterLab CSS variables if they are already defined.
- Fix variable inspector example.
- Introduce new widget manager `has_model` method for synchronously checking if a widget model is registered.
- Work around bug in Chrome rendering Combobox arrows.
- Optionally echo update messages from frontends to other frontends. This enables widget views in different frontends to maintain consistent state simultaneously, and also makes sure that 
simultaneous updates from the kernel and frontend resolve to a consistent state. This is off by default in ipywidgets 7.7, and it is anticipated this will be on by default in ipywidgets 8.0. To 
enable echo update messages across ipwyidgets, set the environment variable `JUPYTER_WIDGETS_ECHO` to 1. To opt a specific attribute out of echo updates, tag the attribute with `echo_update=False` 
metadata (we do this in core for the FileUpload widget's `data` attribute).

diffstat:

 www/py-ipywidgets/Makefile |  5 +++--
 www/py-ipywidgets/distinfo |  8 ++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 0d6e73827be2 -r ae6189f02ad0 www/py-ipywidgets/Makefile
--- a/www/py-ipywidgets/Makefile        Thu Apr 07 10:19:56 2022 +0000
+++ b/www/py-ipywidgets/Makefile        Thu Apr 07 10:20:48 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2022/02/04 13:49:26 adam Exp $
+# $NetBSD: Makefile,v 1.10 2022/04/07 10:20:48 adam Exp $
 
-DISTNAME=      ipywidgets-7.6.5
+DISTNAME=      ipywidgets-7.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/ipywidgets/}
@@ -14,6 +14,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-ipython_genutils>=0.2.0:../../devel/py-ipython_genutils
 DEPENDS+=      ${PYPKGPREFIX}-nbformat>=4.2.0:../../www/py-nbformat
 DEPENDS+=      ${PYPKGPREFIX}-traitlets>=4.3.1:../../devel/py-traitlets
+DEPENDS+=      ${PYPKGPREFIX}-widgetsnbextension>=3.6.0:../../www/py-widgetsnbextension
 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.6.0:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
diff -r 0d6e73827be2 -r ae6189f02ad0 www/py-ipywidgets/distinfo
--- a/www/py-ipywidgets/distinfo        Thu Apr 07 10:19:56 2022 +0000
+++ b/www/py-ipywidgets/distinfo        Thu Apr 07 10:20:48 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2022/01/31 18:19:36 adam Exp $
+$NetBSD: distinfo,v 1.6 2022/04/07 10:20:48 adam Exp $
 
-BLAKE2s (ipywidgets-7.6.5.tar.gz) = 2fd5e395e0ccb812c84505c79becfa70c8079fc065ec61e59eef4ae8e3bd6e5f
-SHA512 (ipywidgets-7.6.5.tar.gz) = 4952f1cd293f1a4bf1721222579273c95f59adfa9385963617924f5f28232e1940ec045e18aeae83ad138176e4d887e952fe875b960279f3e0b7d982a790a4dc
-Size (ipywidgets-7.6.5.tar.gz) = 4072535 bytes
+BLAKE2s (ipywidgets-7.7.0.tar.gz) = 515ff750d4e3f1eaa0799f2b9b1f972e3f6b102ae17614c3d0abc89428353abf
+SHA512 (ipywidgets-7.7.0.tar.gz) = 038da040912e6701762fb66fb3b6996ce0a59706afb05405b5932c02d34733842b227426f0b29eea115196bab384617425b0553c5db13a9dc832bddef63dfb92
+Size (ipywidgets-7.7.0.tar.gz) = 4074763 bytes



Home | Main Index | Thread Index | Old Index