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.6.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/ea00020cc45d
branches: trunk
changeset: 454410:ea00020cc45d
user: adam <adam%pkgsrc.org@localhost>
date: Thu Jun 10 19:02:25 2021 +0000
description:
py-ipywidgets: updated to 7.6.3
7.6
---
To see the full list of pull requests and issues, see the [7.6.0 milestone](https://github.com/jupyter-widgets/ipywidgets/milestone/31?closed=1) on GitHub.
The main change in this release is that installing `ipywidgets` 7.6.0 will now automatically enable ipywidgets support in JupyterLab 3.0—a user has no extra JupyterLab installation step and no
rebuild of JupyterLab, nor do they need Node.js installed. Simply install the python ipywidgets package with pip (`pip install ipywidgets==7.6.0`) or conda/mamba (`conda install -c conda-forge
ipywidgets=7.6.0`) and ipywidgets will automatically work in classic Jupyter Notebook and in JupyterLab 3.0.
This is accomplished with the new python package `jupyterlab_widgets` version 1.0, on which `ipywidgets` 7.6.0 now depends (similar to how `ipywidgets` already depends on the `widgetsnbextension`
package to configure ipywidgets for the classic Jupyter Notebook). The `jupyterlab_widgets` Python package is a JupyterLab 3.0 prebuilt extension, meaning that it can be installed into JupyterLab 3.0
without rebuilding JupyterLab and without needing Node.js installed.
Updates for Widget Maintainers
Custom widget maintainers will need to make two changes to update for JupyterLab 3:
1. Update the `@jupyter-widgets/base` dependency version to include `^4` to work in JupyterLab 3.0. For example, if you had a dependency on `@jupyter-widgets/base` version `^2 || ^3`, update to `^2
|| ^3 || ^4` for your widget to work in classic Jupyter Notebook, JupyterLab 1, JupyterLab 2, and JupyterLab 3.
2. In the `package.json`, add the following `sharedPackages` configuration inside the `jupyterlab` key. See the [JupyterLab extension
documentation](https://jupyterlab.readthedocs.io/en/stable/extension/extension_dev.html#requiring-a-service) for more information.
```json
"jupyterlab": {
"sharedPackages": {
"@jupyter-widgets/base": {
"bundled": false,
"singleton": true
}
}
}
```
Separate from these two steps to update for JupyterLab 3, we also recommend that you make your widget's JupyterLab extension a prebuilt extension for JupyterLab 3.0. Users will be able to install
your JupyterLab 3.0 prebuilt extension without rebuilding JupyterLab or needing Node.js. See the [JupyterLab 3 extension developer
documentation](https://jupyterlab.readthedocs.io/en/stable/extension/extension_dev.html) or the new [widget extension
cookiecutter](https://github.com/jupyter-widgets/widget-ts-cookiecutter/tree/jlab3) for more details.
diffstat:
www/py-ipywidgets/Makefile | 6 +++---
www/py-ipywidgets/distinfo | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (36 lines):
diff -r a2e4ba7f8eeb -r ea00020cc45d www/py-ipywidgets/Makefile
--- a/www/py-ipywidgets/Makefile Thu Jun 10 18:57:58 2021 +0000
+++ b/www/py-ipywidgets/Makefile Thu Jun 10 19:02:25 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2020/08/09 23:37:32 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2021/06/10 19:02:25 adam Exp $
-DISTNAME= ipywidgets-7.5.1
+DISTNAME= ipywidgets-7.6.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/ipywidgets/}
@@ -21,7 +21,7 @@
PYTHON_VERSIONS_INCOMPATIBLE= 27 36 # py-ipykernel
do-test:
- cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a2e4ba7f8eeb -r ea00020cc45d www/py-ipywidgets/distinfo
--- a/www/py-ipywidgets/distinfo Thu Jun 10 18:57:58 2021 +0000
+++ b/www/py-ipywidgets/distinfo Thu Jun 10 19:02:25 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2019/08/21 12:41:24 adam Exp $
+$NetBSD: distinfo,v 1.2 2021/06/10 19:02:25 adam Exp $
-SHA1 (ipywidgets-7.5.1.tar.gz) = d46a0d2e16cb2a878043576f8b2afd732e8b5491
-RMD160 (ipywidgets-7.5.1.tar.gz) = fa712bdd7efa65673a6bb424afb8bd0aef8b768d
-SHA512 (ipywidgets-7.5.1.tar.gz) = 856b3e4dad331766eff6e5f1fd31984a4b6ede5c678ffd51a4896f6448dac53ba181ccec2821f10e07e0f1095318427affe19f1420d0337bc3d37ef1e0a9ea0d
-Size (ipywidgets-7.5.1.tar.gz) = 5656334 bytes
+SHA1 (ipywidgets-7.6.3.tar.gz) = 29efcd1ba915a02078d3a73da487c3ee4db0730f
+RMD160 (ipywidgets-7.6.3.tar.gz) = 56524fc7c87ccf74e81ed1d412562e14357bf229
+SHA512 (ipywidgets-7.6.3.tar.gz) = 7b3506b43214948d73f4f2c55af81ceacff3d7cccc167dd32c72df6bffb8b1b1f8bdbfac7162d343858f723e7b3f3a1cd78f20c2f93b14a8eb39125ae2aee7b4
+Size (ipywidgets-7.6.3.tar.gz) = 4072376 bytes
Home |
Main Index |
Thread Index |
Old Index