Hello community, here is the log from the commit of package python-pyviz-comms for openSUSE:Factory checked in at 2020-06-09 00:04:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyviz-comms (Old) and /work/SRC/openSUSE:Factory/.python-pyviz-comms.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyviz-comms" Tue Jun 9 00:04:12 2020 rev:5 rq:812415 version:0.7.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyviz-comms/python-pyviz-comms.changes 2020-02-03 11:13:15.237842981 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyviz-comms.new.3606/python-pyviz-comms.changes 2020-06-09 00:05:41.629509833 +0200 @@ -1,0 +2,6 @@ +Sat Jun 6 16:48:55 UTC 2020 - Atri Bhattacharya <[email protected]> + +- Update to version 0.7.4: + * Changes not documented upstream. + +------------------------------------------------------------------- Old: ---- pyviz_comms-0.7.3.tar.gz New: ---- pyviz_comms-0.7.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyviz-comms.spec ++++++ --- /var/tmp/diff_new_pack.Ak6hZO/_old 2020-06-09 00:05:43.337515893 +0200 +++ /var/tmp/diff_new_pack.Ak6hZO/_new 2020-06-09 00:05:43.341515907 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyviz-comms -Version: 0.7.3 +Version: 0.7.4 Release: 0 Summary: Tool to launch jobs, organize the output, and dissect the results License: BSD-3-Clause ++++++ pyviz_comms-0.7.3.tar.gz -> pyviz_comms-0.7.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyviz_comms-0.7.3/PKG-INFO new/pyviz_comms-0.7.4/PKG-INFO --- old/pyviz_comms-0.7.3/PKG-INFO 2020-01-22 02:42:51.000000000 +0100 +++ new/pyviz_comms-0.7.4/PKG-INFO 2020-03-10 14:38:06.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pyviz_comms -Version: 0.7.3 +Version: 0.7.4 Summary: Bidirectional communication for the PyViz ecosystem. Home-page: http://pyviz.org Author: PyViz developers @@ -46,6 +46,7 @@ | 0.34.x | 0.6.1-0.6.2 | | 0.35.x | 0.6.3-0.7.2 | | 1.0.x | 0.8.0 | + | 2.0.x | 0.9.0 | ## Developing the Jupyterlab extension diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyviz_comms-0.7.3/README.md new/pyviz_comms-0.7.4/README.md --- old/pyviz_comms-0.7.3/README.md 2020-01-22 02:41:51.000000000 +0100 +++ new/pyviz_comms-0.7.4/README.md 2020-03-10 14:37:04.000000000 +0100 @@ -36,6 +36,7 @@ | 0.34.x | 0.6.1-0.6.2 | | 0.35.x | 0.6.3-0.7.2 | | 1.0.x | 0.8.0 | +| 2.0.x | 0.9.0 | ## Developing the Jupyterlab extension diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyviz_comms-0.7.3/pyviz_comms/.version new/pyviz_comms-0.7.4/pyviz_comms/.version --- old/pyviz_comms-0.7.3/pyviz_comms/.version 2020-01-22 02:42:51.000000000 +0100 +++ new/pyviz_comms-0.7.4/pyviz_comms/.version 2020-03-10 14:38:06.000000000 +0100 @@ -1 +1 @@ -{"git_describe": "v0.7.3-0-g4aaed63", "version_string": "0.7.3"} \ No newline at end of file +{"git_describe": "v0.7.4-0-gdeae0d5", "version_string": "0.7.4"} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyviz_comms-0.7.3/pyviz_comms/__init__.py new/pyviz_comms-0.7.4/pyviz_comms/__init__.py --- old/pyviz_comms-0.7.3/pyviz_comms/__init__.py 2020-01-22 02:41:51.000000000 +0100 +++ new/pyviz_comms-0.7.4/pyviz_comms/__init__.py 2020-03-10 14:37:04.000000000 +0100 @@ -58,13 +58,7 @@ PYVIZ_PROXY = """ if ((window.PyViz === undefined) || (window.PyViz instanceof HTMLElement)) { - if ((window.HoloViews === undefined) || (window.HoloViews instanceof HTMLElement)) { - var PyViz = {comms: {}, comm_status:{}, kernels:{}, receivers: {}, plot_index: []} - } else { - var PyViz = window.HoloViews; - } - window.PyViz = PyViz; - window.HoloViews = PyViz; // TEMPORARY HACK TILL NEXT NPM RELEASE + window.PyViz = {comms: {}, comm_status:{}, kernels:{}, receivers: {}, plot_index: []} } """ @@ -89,7 +83,6 @@ if ((event.kind === 'ModelChanged') && (event.attr === '{change}') && (cb_obj.id === event.model.id) && (JSON.stringify(value) === JSON.stringify(event.new))) {{ - events.pop(events.indexOf(event)) return; }} }} @@ -128,22 +121,6 @@ }} """ -embed_js = """ -// Ugly hack - see HoloViews #2574 for more information -if (!(document.getElementById('{plot_id}')) && !(document.getElementById('_anim_img{widget_id}'))) {{ - console.log("Creating DOM nodes dynamically for assumed nbconvert export. To generate clean HTML output set HV_DOC_HTML as an environment variable.") - var htmlObject = document.createElement('div'); - htmlObject.innerHTML = `{html}`; - var scriptTags = document.getElementsByTagName('script'); - var parentTag = scriptTags[scriptTags.length-1].parentNode; - if (parentTag.attributes.length && (parentTag.attributes[0].name == 'data-shell-mode')) {{ - alert('Displaying PyViz objects in JupyterLab requires the jupyterlab_pyviz extension to be installed, install it with:\\n\\n\\tjupyter labextension install @pyviz/jupyterlab_pyviz'); - }} else {{ - parentTag.append(htmlObject) - }} -}} -""" - JS_CALLBACK = """ function unique_events(events) {{ // Processes the event queue ignoring duplicate events @@ -196,7 +173,7 @@ // Initialize Comm if ((window.PyViz == undefined) || (window.PyViz.comm_manager == undefined)) {{ return }} -comm = window.PyViz.comm_manager.get_client_comm("{plot_id}", "{comm_id}", on_msg); +var comm = window.PyViz.comm_manager.get_client_comm("{plot_id}", "{comm_id}", on_msg); if (!comm) {{ return }} @@ -215,7 +192,7 @@ event_name = Object.keys(data).join(','); }} data['comm_id'] = "{comm_id}"; -timeout = comm_status.time + {timeout}; +var timeout = comm_status.time + {timeout}; if ((comm_status.blocked && (Date.now() < timeout))) {{ comm_status.event_buffer.unshift([event_name, data]); }} else {{ @@ -445,7 +422,7 @@ var buffers = msg.buffers {msg_handler} }} - comm = window.PyViz.comm_manager.get_client_comm("{comm_id}"); + var comm = window.PyViz.comm_manager.get_client_comm("{comm_id}"); comm.on_msg(msg_handler); </script> """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyviz_comms-0.7.3/pyviz_comms.egg-info/PKG-INFO new/pyviz_comms-0.7.4/pyviz_comms.egg-info/PKG-INFO --- old/pyviz_comms-0.7.3/pyviz_comms.egg-info/PKG-INFO 2020-01-22 02:42:51.000000000 +0100 +++ new/pyviz_comms-0.7.4/pyviz_comms.egg-info/PKG-INFO 2020-03-10 14:38:06.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pyviz-comms -Version: 0.7.3 +Version: 0.7.4 Summary: Bidirectional communication for the PyViz ecosystem. Home-page: http://pyviz.org Author: PyViz developers @@ -46,6 +46,7 @@ | 0.34.x | 0.6.1-0.6.2 | | 0.35.x | 0.6.3-0.7.2 | | 1.0.x | 0.8.0 | + | 2.0.x | 0.9.0 | ## Developing the Jupyterlab extension
