Hello community,

here is the log from the commit of package python-jupyter_ipywidgets for 
openSUSE:Factory checked in at 2018-09-19 14:32:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipywidgets (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_ipywidgets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_ipywidgets"

Wed Sep 19 14:32:03 2018 rev:16 rq:636491 version:7.4.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_ipywidgets/python-jupyter_ipywidgets.changes
      2018-09-15 15:35:37.169009860 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_ipywidgets.new/python-jupyter_ipywidgets.changes
 2018-09-19 14:33:30.211297867 +0200
@@ -1,0 +2,15 @@
+Sun Sep 16 16:20:05 UTC 2018 - Arun Persaud <[email protected]>
+
+- specfile:
+  * remove devel from noarch
+  * be more specific in %files section
+
+- update to version 7.4.2:
+  * Add `click` method to the Button Widget
+  * Fix JS remove_buffers view check
+  * Add tests for JS remove_buffers
+  * Use data-jupyter-widgets-cdn attribute to make the CDN
+    configurable
+  * update lerna
+
+-------------------------------------------------------------------

Old:
----
  ipywidgets-7.4.1.tar.gz

New:
----
  ipywidgets-7.4.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jupyter_ipywidgets.spec ++++++
--- /var/tmp/diff_new_pack.SeabBf/_old  2018-09-19 14:33:31.587296938 +0200
+++ /var/tmp/diff_new_pack.SeabBf/_new  2018-09-19 14:33:31.627296911 +0200
@@ -12,27 +12,32 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jupyter_ipywidgets
-Version:        7.4.1
+Version:        7.4.2
 Release:        0
 Summary:        IPython HTML widgets for Jupyter
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            https://github.com/jupyter-widgets/ipywidgets
+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 devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
+Requires:       python-jupyter_ipykernel >= 4.5.1
+Requires:       python-jupyter_ipython >= 4
+Requires:       python-jupyter_nbformat >= 4.2.0
+Requires:       python-jupyter_widgetsnbextension >= 3.0.0
+Requires:       python-traitlets >= 4.3.1
+BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module jupyter_ipykernel >= 4.5.1}
 BuildRequires:  %{python_module jupyter_ipython >= 4}
@@ -44,12 +49,6 @@
 BuildRequires:  %{python_module traitlets >= 4.3.1}
 BuildRequires:  python-mock
 # /SECTION
-Requires:       python-jupyter_ipykernel >= 4.5.1
-Requires:       python-jupyter_ipython >= 4
-Requires:       python-jupyter_nbformat >= 4.2.0
-Requires:       python-jupyter_widgetsnbextension >= 3.0.0
-Requires:       python-traitlets >= 4.3.1
-BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -85,10 +84,11 @@
 popd
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README.md
 %license LICENSE
-%{python_sitelib}/*
+%dir %{python_sitelib}/ipywidgets
+%{python_sitelib}/ipywidgets/*
+%{python_sitelib}/ipywidgets-%{version}-py*.egg-info
 
 %files -n python-jupyter_ipywidgets-doc
 %license LICENSE

++++++ ipywidgets-7.4.1.tar.gz -> ipywidgets-7.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipywidgets-7.4.1/PKG-INFO 
new/ipywidgets-7.4.2/PKG-INFO
--- old/ipywidgets-7.4.1/PKG-INFO       2018-08-31 22:11:04.000000000 +0200
+++ new/ipywidgets-7.4.2/PKG-INFO       2018-09-14 22:46:14.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: ipywidgets
-Version: 7.4.1
+Version: 7.4.2
 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.4.1/docs/source/embedding.md 
new/ipywidgets-7.4.2/docs/source/embedding.md
--- old/ipywidgets-7.4.1/docs/source/embedding.md       2018-08-31 
21:57:55.000000000 +0200
+++ new/ipywidgets-7.4.2/docs/source/embedding.md       2018-09-14 
22:38:33.000000000 +0200
@@ -122,7 +122,8 @@
     </script>
 
     <!-- Load IPywidgets bundle for embedding. -->
-    <script 
+    <script
+      data-jupyter-widgets-cdn="https://cdn.jsdelivr.net/npm/";
       
src="https://unpkg.com/@jupyter-widgets/html-manager@*/dist/embed-amd.js"; 
       crossorigin="anonymous">
     </script>
@@ -177,6 +178,9 @@
 documents, you may want to use a templating engine like
 [Jinja2](http://jinja.pocoo.org/).
 
+We also change the CDN from its default of unpkg to use jsdelivr by setting the
+`data-jupyter-widgets-cdn` attribute.
+
 In all embedding functions in `ipywidgets.embed`, the state of all widgets
 known to the widget manager is included by default. You can alternatively
 pass a reduced state to use instead. This can be particularly relevant if you
@@ -262,13 +266,17 @@
 gallery.
 
 The widget embedder attempts to fetch the model and view implementation of the
-custom widget from the npm CDN https://unpkg.com. The URL that is requested
+custom widget from the npm CDN https://unpkg.com by default. The URL that is 
requested
 for, e.g. the `bqplot` module name, with the semver range `^2.0.0` is
 
 `https://unpkg.com/bqplot@^2.0.0/dist/index.js`
 
 which holds the webpack bundle for the bqplot library.
 
+While the default CDN is using https://unpkg.com it can be configured by
+setting the optional `data-jupyter-widgets-cdn` attribute for script tag which 
loads `embed-amd.js`,
+as shown in the example above.
+
 The [widget-cookiecutter](https://github.com/jupyter/widget-cookiecutter)
 template project contains a template project for a custom widget library
 following the best practices for authoring widgets, which ensure that your
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipywidgets-7.4.1/ipywidgets/_version.py 
new/ipywidgets-7.4.2/ipywidgets/_version.py
--- old/ipywidgets-7.4.1/ipywidgets/_version.py 2018-08-31 22:10:52.000000000 
+0200
+++ new/ipywidgets-7.4.2/ipywidgets/_version.py 2018-09-14 22:45:59.000000000 
+0200
@@ -1,7 +1,7 @@
 # Copyright (c) Jupyter Development Team.
 # Distributed under the terms of the Modified BSD License.
 
-version_info = (7, 4, 1, 'final', 0)
+version_info = (7, 4, 2, 'final', 0)
 
 _specifier_ = {'alpha': 'a', 'beta': 'b', 'candidate': 'rc', 'final': ''}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipywidgets-7.4.1/ipywidgets/widgets/widget_button.py 
new/ipywidgets-7.4.2/ipywidgets/widgets/widget_button.py
--- old/ipywidgets-7.4.1/ipywidgets/widgets/widget_button.py    2018-08-31 
21:57:55.000000000 +0200
+++ new/ipywidgets-7.4.2/ipywidgets/widgets/widget_button.py    2018-09-14 
22:38:33.000000000 +0200
@@ -85,6 +85,14 @@
         """
         self._click_handlers.register_callback(callback, remove=remove)
 
+    def click(self):
+        """Programmatically trigger a click event.
+
+        This will call the callbacks registered to the clicked button
+        widget instance.
+        """
+        self._click_handlers(self)
+
     def _handle_button_msg(self, _, content, buffers):
         """Handle a msg from the front-end.
 
@@ -94,4 +102,4 @@
             Content of the msg.
         """
         if content.get('event', '') == 'click':
-            self._click_handlers(self)
+            self.click()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ipywidgets-7.4.1/package.json 
new/ipywidgets-7.4.2/package.json
--- old/ipywidgets-7.4.1/package.json   2018-08-31 21:57:55.000000000 +0200
+++ new/ipywidgets-7.4.2/package.json   2018-09-14 22:38:33.000000000 +0200
@@ -11,7 +11,7 @@
     "publish": "yarn run clean && yarn run build && lerna publish -m \"Publish 
npm packages\""
   },
   "devDependencies": {
-    "lerna": "^2.5.0"
+    "lerna": "^3.2.1"
   },
   "workspaces": [
     "packages/*",



Reply via email to