Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ipywidgets for openSUSE:Factory checked in at 2021-10-18 21:59:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ipywidgets (Old) and /work/SRC/openSUSE:Factory/.python-ipywidgets.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipywidgets" Mon Oct 18 21:59:28 2021 rev:7 rq:925899 version:7.6.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ipywidgets/python-ipywidgets.changes 2021-02-15 23:10:11.974849094 +0100 +++ /work/SRC/openSUSE:Factory/.python-ipywidgets.new.1890/python-ipywidgets.changes 2021-10-18 22:02:37.646112463 +0200 @@ -1,0 +2,9 @@ +Sun Oct 17 20:53:43 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to 7.6.5 + * No release notes +- Update requirements: jupyterlab-widgets and widgetsnbextensions +- Remove doc package + * Version 7.6.5 ipywidgets.pdf and ipywidgets.zip not available + +------------------------------------------------------------------- Old: ---- ipywidgets-7.6.3.tar.gz ipywidgets.pdf ipywidgets.zip New: ---- ipywidgets-7.6.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ipywidgets.spec ++++++ --- /var/tmp/diff_new_pack.tccvzP/_old 2021-10-18 22:02:38.278112921 +0200 +++ /var/tmp/diff_new_pack.tccvzP/_new 2021-10-18 22:02:38.282112924 +0200 @@ -19,40 +19,37 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-ipywidgets -Version: 7.6.3 +Version: 7.6.5 Release: 0 Summary: IPython HTML widgets for Jupyter License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/jupyter-widgets/ipywidgets Source0: https://files.pythonhosted.org/packages/source/i/ipywidgets/ipywidgets-%{version}.tar.gz -# Please make sure you update the documentation files at every release -Source1: https://media.readthedocs.org/pdf/ipywidgets/stable/ipywidgets.pdf -Source2: https://media.readthedocs.org/htmlzip/ipywidgets/stable/ipywidgets.zip BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip Requires: python-ipykernel >= 4.5.1 Requires: python-ipython >= 4 -Requires: python-jsonschema +Requires: python-ipython_genutils >= 0.2 +Requires: python-jupyterlab_widgets >= 1 +Requires: python-nbformat >= 4.2 Requires: python-traitlets >= 4.3.1 +Requires: python-widgetsnbextension >= 3.5.0 Provides: python-jupyter_ipywidgets = %{version} -Obsoletes: python-jupyter_ipywidgets <= %{version} +Obsoletes: python-jupyter_ipywidgets < %{version} BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module ipykernel >= 4.5.1} BuildRequires: %{python_module ipython >= 4} -BuildRequires: %{python_module jsonschema} +BuildRequires: %{python_module ipython_genutils >= 0.2} +BuildRequires: %{python_module jupyterlab_widgets >= 1} BuildRequires: %{python_module nbformat >= 4.2.0} -BuildRequires: %{python_module pexpect} -BuildRequires: %{python_module pickleshare} BuildRequires: %{python_module pytest >= 3.6.0} -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module recommonmark} BuildRequires: %{python_module traitlets >= 4.3.1} +BuildRequires: %{python_module widgetsnbextension >= 3.5.0} # /SECTION -Recommends: jupyter-widgetsnbextension >= 3.5.0 %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Provides: jupyter-ipywidgets = %{version} %endif @@ -61,20 +58,8 @@ %description Interactive HTML widgets for Jupyter notebooks and the IPython kernel. -%package -n python-ipywidgets-doc -Summary: Documentation for python-jupyter_ipywidgets -Group: Documentation/Other -Provides: %{python_module ipywidgets-doc = %{version}} - -%description -n python-ipywidgets-doc -Documentation and help files for python-jupyter_ipywidgets. - %prep %setup -q -n ipywidgets-%{version} -cp %{SOURCE1} . -unzip %{SOURCE2} -d docs -mv docs/ipywidgets-* docs/html -rm docs/html/.buildinfo %build %python_build @@ -90,12 +75,6 @@ %doc README.md %license LICENSE %{python_sitelib}/ipywidgets/ -%{python_sitelib}/ipywidgets-%{version}-py*.egg-info - -%files -n python-ipywidgets-doc -%license LICENSE -%doc ipywidgets.pdf -%doc docs/html -%doc docs/source/changelog.md +%{python_sitelib}/ipywidgets-%{version}*-info %changelog ++++++ ipywidgets-7.6.3.tar.gz -> ipywidgets-7.6.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipywidgets-7.6.3/PKG-INFO new/ipywidgets-7.6.5/PKG-INFO --- old/ipywidgets-7.6.3/PKG-INFO 2021-01-07 01:24:55.756724600 +0100 +++ new/ipywidgets-7.6.5/PKG-INFO 2021-09-14 01:41:09.782837900 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: ipywidgets -Version: 7.6.3 +Version: 7.6.5 Summary: IPython HTML widgets for Jupyter Home-page: http://ipython.org Author: IPython Development Team diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipywidgets-7.6.3/README.md new/ipywidgets-7.6.5/README.md --- old/ipywidgets-7.6.3/README.md 2021-01-07 01:17:30.030988000 +0100 +++ new/ipywidgets-7.6.5/README.md 2021-09-14 01:30:14.884597300 +0200 @@ -1,12 +1,14 @@ # ipywidgets: Interactive HTML Widgets -[![Version](https://img.shields.io/pypi/v/ipywidgets.svg)](https://pypi.python.org/pypi/ipywidgets) -[![Build Status](https://travis-ci.org/jupyter-widgets/ipywidgets.svg?branch=master)](https://travis-ci.org/jupyter-widgets/ipywidgets) -[![Documentation Status](http://readthedocs.org/projects/ipywidgets/badge/?version=latest)](https://ipywidgets.readthedocs.io/en/latest/?badge=latest) -[![Join the chat at https://gitter.im/ipython/ipywidgets](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/jupyter-widgets/Lobby) -[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/jupyter-widgets/ipywidgets/master?filepath=docs%2Fsource%2Fexamples) +| Purpose | Badges | +|----------------------------|----------------------------| +| **Latest (master: future 8.0)** | [![Build Status](https://travis-ci.org/jupyter-widgets/ipywidgets.svg?branch=master)](https://travis-ci.org/jupyter-widgets/ipywidgets) [![Documentation Status: latest](https://img.shields.io/readthedocs/ipywidgets?logo=read-the-docs)](https://ipywidgets.readthedocs.io/en/latest/?badge=latest) [![Binder:master](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/jupyter-widgets/ipywidgets/master?filepath=docs%2Fsource%2Fexamples) | +| **Stable (7.6.3)** | [![Version](https://img.shields.io/pypi/v/ipywidgets.svg?logo=pypi)](https://pypi.python.org/pypi/ipywidgets) [![Conda Version](https://img.shields.io/conda/vn/conda-forge/ipywidgets.svg?logo=conda-forge)](https://anaconda.org/conda-forge/ipywidgets) [![Documentation Status: 7.6.3](https://img.shields.io/readthedocs/ipywidgets?logo=read-the-docs)](https://ipywidgets.readthedocs.io/en/7.6.3/?badge=7.6.3) [![Binder:7.x](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/jupyter-widgets/ipywidgets/7.x?filepath=docs%2Fsource%2Fexamples) | +| **Communication** | [![Join the chat at https://gitter.im/ipython/ipywidgets](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/jupyter-widgets/Lobby) [![Discourse](https://img.shields.io/badge/help_forum-discourse-blue?logo=discourse)](https://discourse.jupyter.org/) | +| | | -ipywidgets are [interactive HTML widgets](https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/examples/Index.ipynb) +**ipywidgets**, also known as jupyter-widgets or simply widgets, are +[interactive HTML widgets](https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/examples/Index.ipynb) for Jupyter notebooks and the IPython kernel. Notebooks come alive when interactive widgets are used. Users gain control of @@ -18,7 +20,9 @@ ## Core Interactive Widgets -A [demonstration notebook](https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/examples/Index.ipynb) provides an overview of the core interactive widgets, including: +The fundamental widgets provided by this library are called core interactive +widgets. A [demonstration notebook](https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/examples/Index.ipynb) +provides an overview of the core interactive widgets, including: - sliders - progress bars @@ -30,85 +34,104 @@ ## Jupyter Interactive Widgets as a Framework Besides the widgets already provided with the library, the framework can be -extended with custom widget libraries. +extended with the development of **custom widget libraries**. For detailed +information, please refer to the [ipywidgets documentation](https://ipywidgets.readthedocs.io/en/latest/). -A template project is available in the form of a cookie cutter [here](https://github.com/jupyter-widgets/widget-ts-cookiecutter). +### Cookiecutter template for custom widget development -This project is meant to help custom widget authors get started with the -packaging and the distribution of Jupyter interactive widgets. - -It produces a project for a Jupyter interactive widget library following the -current best practices for using interactive widgets. An implementation for a -placeholder "Hello World" widget is provided. +A template project for building custom widgets is available as a +[**cookiecutter**](https://github.com/jupyter-widgets/widget-ts-cookiecutter). +This cookiecutter project helps custom widget authors get started with the +packaging and the distribution of their custom Jupyter interactive widgets. +The cookiecutter produces a project for a Jupyter interactive widget library +following the current best practices for using interactive widgets. An +implementation for a placeholder "Hello World" widget is provided as an example. Popular widget libraries such as -[bqplot](https://github.com/bloomberg/bqplot), -[pythreejs](https://github.com/jovyan/pythreejs) and -[ipyleaflet](https://github.com/ellisonbg/ipyleaflet) - -follow exactly the same template and directory structure. They can serve as +[bqplot](https://github.com/bqplot/bqplot), +[pythreejs](https://github.com/jupyter-widgets/pythreejs) and +[ipyleaflet](https://github.com/jupyter-widgets/ipyleaflet) +follow exactly the same template and directory structure. They serve as more advanced examples of usage of the Jupyter widget infrastructure. -For detailed information, please refer to the [ipywidgets documentation](https://ipywidgets.readthedocs.io/en/latest/). - -## More advanced examples +### Popular custom widget examples Examples of custom widget libraries built upon ipywidgets are -- [bqplot](https://github.com/bloomberg/bqplot) a 2d data visualization library +- [bqplot](https://github.com/bqplot/bqplot) a 2d data visualization library enabling custom user interactions. -- [pythreejs](https://github.com/jovyan/pythreejs) a Jupyter - Three.js wrapper, +- [pythreejs](https://github.com/jupyter-widgets/pythreejs) a Jupyter - Three.js wrapper, bringing Three.js to the notebook. -- [ipyleaflet](https://github.com/ellisonbg/ipyleaflet) a leaflet widget for Jupyter. +- [ipyleaflet](https://github.com/jupyter-widgets/ipyleaflet) a leaflet widget for Jupyter. ## Install -Install the current version of ipywidgets using pip or conda. +The stable version of ipywidgets can be installed with [pip](#with-pip) or [conda](#with-conda). +If using JupyterLab, review the [Front-end extension for JupyterLab](#front-end-extension-for-jupyterlab) section. -- With pip: +### With pip -``` +```sh pip install ipywidgets -jupyter nbextension enable --py --sys-prefix widgetsnbextension # can be skipped for notebook version 5.3 and above +# Skip the next step if using JupyterLab or Classic notebook version 5.3 and above +jupyter nbextension enable --py --sys-prefix widgetsnbextension ``` -- With conda: +### With conda -``` +```sh conda install -c conda-forge ipywidgets ``` -See the [Installation](docs/source/user_install.md) section of the documentation for additional details. +### Front-end extension for JupyterLab -### Installing from git +Install the front-end extension to JupyterLab (note that this requires nodejs +to be installed): -If you want to install ipywidgets from git, **you will need the -[yarn](https://yarnpkg.com/) package manager version 1.2.1 or later**. -Installing from git is more complicated and requires a developer install, see the [developer install](docs/source/dev_install.md) instructions. +- For JupyterLab 1.0.x and 1.1.x, use `jupyter labextension install @jupyter-widgets/jupyterlab-manager@1.0` +- For JupyterLab 1.2.x, use `jupyter labextension install @jupyter-widgets/jupyterlab-manager@1.1` +- For JupyterLab 2.x, use `jupyter labextension install @jupyter-widgets/jupyterlab-manager@2.0` -To install the latest master version from the root directory of the source -code, run ``dev-install.sh``. To only build the Python package enter ``pip install -e .``. +See the [Installation](docs/source/user_install.md) section of the documentation +for additional details. -#### Compatibility +### Developer install from source -| ipywidgets version | Required notebook version | -| ------------------- | ------------------------- | -| master | 4.4 | -| 5.x | 4.2 | -| 4.1.x | 4.1 | -| 4.0.x | 4.0 | +Installing from source is more complicated and requires a developer install, +see the detailed [developer install](docs/source/dev_install.md) instructions. -[Change log](docs/source/changelog.md) +If you want to install ipywidgets from source, **you will need the +[yarn](https://yarnpkg.com/) package manager version 1.2.1 or later**. +To install the latest master version from the root directory of the source +code, run ``dev-install.sh``. To only build the Python package enter +``pip install -e .``. ## Usage See the [examples](docs/source/examples.md) section of the documentation. The widgets are being used in a variety of ways; some uses can be seen in these notebooks: +[Demo notebook of interactive widgets](https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/examples/Index.ipynb) + +## Change log + +[Change log](docs/source/changelog.md) + +### Version Compatibility with Front-End Clients + +Refer to change log for more detail. -- [Demo notebook of interactive widgets](https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/examples/Index.ipynb) +| ipywidgets | JupyterLab | [Classic Notebook](https://github.com/jupyter/notebook) | [nbclassic](https://github.com/jupyterlab/nbclassic) | +| ---------- | :--------------: | :--------------: | :---------: | +| master | | - | TBD | +| 7.6.3 | | | 0.2.6 | +| **Legacy** | | | | +| 6.x | | | - | +| 5.x | | 4.2 | - | +| 4.1.x | | 4.1 | - | +| 4.0.x | | 4.0 | - | ## Contributing to ipywidgets -- [Developer information](CONTRIBUTING.md) +[Developer information](CONTRIBUTING.md) ## License @@ -120,6 +143,7 @@ ## Project Jupyter resources - [Project Jupyter website](https://jupyter.org) -- [Online Demo of Jupyter Notebook at try.jupyter.org](https://try.jupyter.org) +- [Online Demo at try.jupyter.org](https://try.jupyter.org) - [Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html) [[PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)] -- [![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter) +- [![Discourse](https://img.shields.io/badge/help_forum-discourse-blue?logo=discourse)](https://discourse.jupyter.org/) + [![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipywidgets-7.6.3/docs/environment.yml new/ipywidgets-7.6.5/docs/environment.yml --- old/ipywidgets-7.6.3/docs/environment.yml 2021-01-07 01:17:30.031310800 +0100 +++ new/ipywidgets-7.6.5/docs/environment.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,23 +0,0 @@ -name: ipywidget_docs -channels: -- conda-forge -- defaults -dependencies: -- ipykernel -- jinja2 -- jupyter_sphinx -- ipywidgets -- bqplot -- numpy -- nbformat -- nbsphinx -- notebook>=4.2 -- python=3.6 -- sphinx>=1.4.6 -- sphinx_rtd_theme -- tornado -- python-dateutil -- recommonmark -- matplotlib -- bqplot -- numpy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipywidgets-7.6.3/docs/requirements.txt new/ipywidgets-7.6.5/docs/requirements.txt --- old/ipywidgets-7.6.3/docs/requirements.txt 2021-01-07 01:17:30.031507500 +0100 +++ new/ipywidgets-7.6.5/docs/requirements.txt 2021-09-14 01:30:14.885464400 +0200 @@ -1,13 +1,10 @@ -ipykernel -ipywidgets>=7.5.0 bqplot -numpy +ipykernel +ipyleaflet jupyter_client -jupyter_sphinx -nbsphinx>=0.2.13 +matplotlib +nbsphinx>=0.5 +numpy recommonmark sphinx>=1.4.6 sphinx_rtd_theme -matplotlib -numpy -bqplot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipywidgets-7.6.3/docs/source/conf.py new/ipywidgets-7.6.5/docs/source/conf.py --- old/ipywidgets-7.6.3/docs/source/conf.py 2021-01-07 01:17:30.032090000 +0100 +++ new/ipywidgets-7.6.5/docs/source/conf.py 2021-09-14 01:30:14.886560700 +0200 @@ -1,26 +1,5 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# - -import os -import subprocess -import sys - - -# -- path ------------------------------------------------------- - -from os.path import dirname -docs = dirname(dirname(__file__)) -root = dirname(docs) -sys.path.insert(0, root) - - -# -- bash utility function -------------------------------------- -def bash(filename): - """Runs a bash script in the local directory""" - sys.stdout.flush() - subprocess.call("bash {}".format(filename), shell=True) - # -- source files and parsers ----------------------------------- @@ -38,7 +17,6 @@ 'sphinx.ext.intersphinx', 'sphinx.ext.mathjax', 'nbsphinx', - 'jupyter_sphinx', 'IPython.sphinxext.ipython_console_highlighting', 'recommonmark', ] @@ -50,10 +28,7 @@ 'jupyter': ('https://jupyter.readthedocs.io/en/latest/', None), } -nbsphinx_allow_errors = True # exception ipstruct.py ipython_genutils nbsphinx_execute = 'always' -# Disable including require.js because it is also included by jupyter_sphinx: -nbsphinx_requirejs_path = '' # -- General information ------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipywidgets-7.6.3/ipywidgets/_version.py new/ipywidgets-7.6.5/ipywidgets/_version.py --- old/ipywidgets-7.6.3/ipywidgets/_version.py 2021-01-07 01:24:37.085821400 +0100 +++ new/ipywidgets-7.6.5/ipywidgets/_version.py 2021-09-14 01:40:57.517728600 +0200 @@ -1,7 +1,7 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. -version_info = (7, 6, 3, 'final', 0) +version_info = (7, 6, 5, 'final', 0) _specifier_ = {'alpha': 'a', 'beta': 'b', 'candidate': 'rc', 'final': ''} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipywidgets-7.6.3/ipywidgets/widgets/interaction.py new/ipywidgets-7.6.5/ipywidgets/widgets/interaction.py --- old/ipywidgets-7.6.3/ipywidgets/widgets/interaction.py 2021-01-07 01:17:30.046272800 +0100 +++ new/ipywidgets-7.6.5/ipywidgets/widgets/interaction.py 2021-09-14 01:30:14.912556000 +0200 @@ -58,7 +58,8 @@ except ImportError: return - if mpl.get_backend() == 'module://ipykernel.pylab.backend_inline': + if (mpl.get_backend() == 'module://ipykernel.pylab.backend_inline' or + mpl.get_backend() == 'module://matplotlib_inline.backend_inline'): flush_figures() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipywidgets-7.6.3/setup.py new/ipywidgets-7.6.5/setup.py --- old/ipywidgets-7.6.3/setup.py 2021-01-07 01:17:30.090923300 +0100 +++ new/ipywidgets-7.6.5/setup.py 2021-09-14 01:30:14.964580800 +0200 @@ -111,6 +111,7 @@ setuptools_args = {} install_requires = setuptools_args['install_requires'] = [ 'ipykernel>=4.5.1', + 'ipython_genutils~=0.2.0', 'traitlets>=4.3.1', # Requiring nbformat to specify bugfix version which is not required by # notebook.