commit 8ca201b008ec75f68c1ce4d6fdd00d51ea29a830f7015602636bcbb453b3a767 Author: Dirk Mueller Date: Sat Aug 31 12:24:03 2024 +0000 - update to 3.0.3: * Reformat `package.json` to 2-space indent #128 (@krassowski) * Fix panel preview rendering on JupyterHub 4.1+ #125 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pyviz-comms?expand=0&rev=22 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-pyviz-comms-rpmlintrc b/python-pyviz-comms-rpmlintrc new file mode 100644 index 0000000..03edfa5 --- /dev/null +++ b/python-pyviz-comms-rpmlintrc @@ -0,0 +1,4 @@ +addFilter("backup-file-in-package .*/pyviz_comms.*package.json.orig") +addFilter("backup-file-in-package .*/package.json.orig") +addFilter("filelist-forbidden .*/pyviz_comms.*package.json.orig") +addFilter("filelist-forbidden .*/package.json.orig") \ No newline at end of file diff --git a/python-pyviz-comms.changes b/python-pyviz-comms.changes new file mode 100644 index 0000000..e0718f3 --- /dev/null +++ b/python-pyviz-comms.changes @@ -0,0 +1,106 @@ +------------------------------------------------------------------- +Sat Aug 31 12:23:29 UTC 2024 - Dirk Müller + +- update to 3.0.3: + * Reformat `package.json` to 2-space indent #128 (@krassowski) + * Fix panel preview rendering on JupyterHub 4.1+ #125 + +------------------------------------------------------------------- +Tue May 7 07:49:07 UTC 2024 - Daniel Garcia + +- Bring back package %build from source, removing binary .whl + distribution from package. + +------------------------------------------------------------------- +Sun Apr 21 22:22:11 UTC 2024 - Todd R + +- Update to 3.0.2 + * Ensure save handler gracefully handles undefined layout data +- Update to 3.0.1 + * Add save handler for Panel Layout Builder + * Publish again to the `pyviz` channel +- Update to 3.0.0 + * Update to JupyterLab 4 + * pip downstream dependency to fix build error +- Switch to wheel to make sure jupyterlab plugin is properly installed +- Package jupyterlab plugin + +------------------------------------------------------------------- +Sat Jan 14 13:11:24 UTC 2023 - Ben Greiner + +- Update to 2.2.1 + * no release notes: adds tests, bumps js versions +- Version 2.2.0 + * Bump url-parse from 1.5.1 to 1.5.10 by @dependabot in #86 + * Track execution counts of extensions by @philippjfr in #87 + * Bump node-fetch from 2.6.1 to 2.6.7 by @dependabot in #92 + * Bump jquery-ui from 1.12.1 to 1.13.1 by @dependabot in #91 + * Bump nanoid from 3.1.23 to 3.3.1 by @dependabot in #90 + * Bump ansi-regex from 4.1.0 to 4.1.1 by @dependabot in #89 + * Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #88 + * Install the tests options in the build workflow by @maximlt in + #95 +- Version 2.1.0 + * Bump glob-parent from 5.1.1 to 5.1.2 by @dependabot in #82 + * Implement JupyterLab Panel Preview by @philippjfr in #79 +- Version 2.0.2 + * Bump ssri from 8.0.0 to 8.0.1 by @dependabot in #74 + * Bump underscore from 1.12.0 to 1.13.1 by @dependabot in #75 + * Bump lodash from 4.17.20 to 4.17.21 by @dependabot in #76 + * Bump hosted-git-info from 2.8.8 to 2.8.9 by @dependabot in #77 + * Bump normalize-url from 4.5.0 to 4.5.1 by @dependabot in #81 + * Bump browserslist from 4.16.0 to 4.16.6 by @dependabot in #78 + * Bump ws from 7.4.1 to 7.4.6 by @dependabot in #80 +- Version 2.0.0 + * Bump lodash from 4.17.15 to 4.17.19 by @dependabot in #65 + * Fix build by @philippjfr in #69 + * Bump ini from 1.3.5 to 1.3.8 by @dependabot in #70 + * Bundle labextension for JupyterLab>=3.0 support by @philippjfr + in #72 + +------------------------------------------------------------------- +Tue Jul 14 15:02:40 UTC 2020 - Marketa Calabkova + +- Update to 0.7.6 + * Fix compatibility with older browsers + * Add support for comms in Google Colab + * Add on_open callbacks to comms + +------------------------------------------------------------------- +Sat Jun 6 16:48:55 UTC 2020 - Atri Bhattacharya + +- Update to version 0.7.4: + * Changes not documented upstream. + +------------------------------------------------------------------- +Thu Jan 30 15:25:12 UTC 2020 - Todd R + +- Update to 0.7.3 + * Add ability to register on_error and on_stdout handlers on Comms. + +------------------------------------------------------------------- +Mon Apr 22 19:21:30 UTC 2019 - Todd R + +- Update to version 0.7.2 + * Custom MIME type rendering now executes script tags in HTML + +------------------------------------------------------------------- +Fri Jan 4 16:07:58 UTC 2019 - Todd R + +- Update to version 0.7.0 + * Send ACK and error messages as metadata + * Small fix to handling notebook output + * Add warning about installing extension in JupyterLab + * Add a pyviz_extension baseclass for other projects + * Guard against PyViz not being defined + * Updated JLab and classic notebook extensions + +------------------------------------------------------------------- +Thu Oct 11 14:53:57 UTC 2018 - Todd R + +- noun phrase (summary) and full sentences (description) + +------------------------------------------------------------------- +Tue Oct 9 06:11:17 UTC 2018 - Todd R + +- Initial version diff --git a/python-pyviz-comms.spec b/python-pyviz-comms.spec new file mode 100644 index 0000000..260d47f --- /dev/null +++ b/python-pyviz-comms.spec @@ -0,0 +1,95 @@ +# +# spec file for package python-pyviz-comms +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-pyviz-comms +Version: 3.0.3 +Release: 0 +Summary: Tool to launch jobs, organize the output, and dissect the results +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://github.com/pyviz/pyviz_comms +# For the bundled JS files +Source0: https://files.pythonhosted.org/packages/source/p/pyviz_comms/pyviz_comms-%{version}.tar.gz +# For the tests +Source1: https://github.com/holoviz/pyviz_comms/archive/refs/tags/v%{version}.tar.gz#/pyviz_comms-%{version}-gh.tar.gz +Source99: python-pyviz-comms-rpmlintrc +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module hatch-jupyter-builder} +BuildRequires: %{python_module hatch-nodejs-version} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module jupyterlab} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: jupyter-rpm-macros +BuildRequires: python-rpm-macros +Requires: python-param +Recommends: jupyter-jupyterlab-pyviz = %{version} +Provides: python-pyviz_comms = %{version}-%{release} +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module param} +# /SECTION +%python_subpackages + +%description +PyViz-Comms offers a simple bidirectional communication architecture +for PyViz tools including support for Jupyter comms in both the +classic notebook and Jupyterlab. + +%package -n jupyter-jupyterlab-pyviz +Release: 0 +Summary: PyViz JupyterLab Extension +Group: Development/Languages/Python +Requires: jupyter-jupyterlab +# Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354 +Requires: python3dist(pyviz-comms) = %{version} +Suggests: python3-pyviz-comms + +%description -n jupyter-jupyterlab-pyviz +Jupyter extension to display matplotlib plots in a widget. + +This package provides the JupyterLab extension. + +%prep +%autosetup -p1 -n pyviz_comms-%{version} +tar -x -f %{SOURCE1} --strip-components=1 pyviz_comms-%{version}/pyviz_comms/tests/ + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.md +%license LICENSE LICENSE.txt +%{python_sitelib}/pyviz_comms +%{python_sitelib}/pyviz_comms-%{version}.dist-info + +%files -n jupyter-jupyterlab-pyviz +%license LICENSE LICENSE.txt +%dir %{_jupyter_labextensions_dir3}/@pyviz/ +%{_jupyter_labextensions_dir3}/@pyviz/jupyterlab_pyviz + +%changelog diff --git a/pyviz_comms-3.0.2-gh.tar.gz b/pyviz_comms-3.0.2-gh.tar.gz new file mode 100644 index 0000000..b7cc0eb --- /dev/null +++ b/pyviz_comms-3.0.2-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41b4d46a393e1a11c85ca77e95d04c2c8058195b310d6a8e6ca37a5f08242464 +size 169059 diff --git a/pyviz_comms-3.0.2.tar.gz b/pyviz_comms-3.0.2.tar.gz new file mode 100644 index 0000000..497f4ba --- /dev/null +++ b/pyviz_comms-3.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3167df932656416c4bd711205dad47e986a3ebae1f316258ddc26f9e01513ef7 +size 195738 diff --git a/pyviz_comms-3.0.3-gh.tar.gz b/pyviz_comms-3.0.3-gh.tar.gz new file mode 100644 index 0000000..77f0f19 --- /dev/null +++ b/pyviz_comms-3.0.3-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4bc9a0ee490c680cbda1d97f4c4b829a6354ac4dde145ddb16b1568fdabe4a6e +size 169634 diff --git a/pyviz_comms-3.0.3.tar.gz b/pyviz_comms-3.0.3.tar.gz new file mode 100644 index 0000000..79936a3 --- /dev/null +++ b/pyviz_comms-3.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fde4a017c2213ecee63a9a6741431c845e42a5c7b1588e4a7ba2e4370c583728 +size 196501