forked from pool/python-pyviz-comms
Accepting request 1169583 from home:TheBlackCat:branches:devel:languages:python:numeric
- 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 OBS-URL: https://build.opensuse.org/request/show/1169583 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pyviz-comms?expand=0&rev=18
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
addFilter("backup-file-in-package .*/pyviz_comms.*package.json.orig")
|
||||
addFilter("filelist-forbidden .*/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")
|
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 21 22:22:11 UTC 2024 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyviz-comms
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# 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
|
||||
@@ -16,24 +16,26 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: python-pyviz-comms
|
||||
Version: 2.2.1
|
||||
Version: 3.0.2
|
||||
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
|
||||
Source100: python-pyviz-comms-rpmlintrc
|
||||
Source0: https://files.pythonhosted.org/packages/py3/p/pyviz-comms/pyviz_comms-%{version}-py3-none-any.whl
|
||||
Source99: python-pyviz-comms-rpmlintrc
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module setuptools >= 40.8.0}
|
||||
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
|
||||
@@ -47,24 +49,43 @@ 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
|
||||
%setup -q -n pyviz_comms-%{version}
|
||||
tar -x -f %{SOURCE1} --strip-components=1 pyviz_comms-%{version}/pyviz_comms/tests/
|
||||
%setup -q -c -T
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
# not needed
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_install %{SOURCE0}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
cp %{buildroot}%{python_sitelib}/pyviz_comms-%{version}.dist-info/licenses/LICENSE .
|
||||
cp %{buildroot}%{python_sitelib}/pyviz_comms-%{version}.dist-info/licenses/LICENSE.txt .
|
||||
|
||||
%check
|
||||
%pytest
|
||||
%pytest %{buildroot}%{python_sitelib}/pyviz_comms
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:130ac87d1d93590ef69ab92f05afc8a0e1f6c0fc48af601e5c6bb530a6014fa3
|
||||
size 24789
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a26145b8ce43d2d934b3c6826d77b913ce105c528eb2e494c890b3e3525ddf33
|
||||
size 32032
|
3
pyviz_comms-3.0.2-py3-none-any.whl
Normal file
3
pyviz_comms-3.0.2-py3-none-any.whl
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:31541b976a21b7738557c3ea23bd8e44e94e736b9ed269570dcc28db4449d7e3
|
||||
size 83188
|
Reference in New Issue
Block a user