Accepting request 1187194 from home:bnavigator:branches:devel:languages:python:jupyter

- Update to 3.0.11 with jupyterlab-manager 5.0.11
  * Add support for widgets in JupyterLab code consoles by @jtpio
    in #3004
  * Add return to pack_models by @gjmooney in #3923

OBS-URL: https://build.opensuse.org/request/show/1187194
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyterlab-widgets?expand=0&rev=21
This commit is contained in:
Benjamin Greiner 2024-07-12 15:56:53 +00:00 committed by Git OBS Bridge
commit 85cd6e4f36
7 changed files with 204 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:04f2ac04976727e4f9d0fa91cdc2f1ab860f965e504c29dbd6a65c882c9d04c0
size 205549

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd5ac679593c969af29c9bed054c24f26842baa51352114736756bc035deee27
size 203538

View File

@ -0,0 +1,3 @@
# Note: These are not really backup files, they are needed
addFilter("backup-file-in-package .*/package.json.orig")
addFilter("filelist-forbidden .*/package.json.orig")

View File

@ -0,0 +1,90 @@
-------------------------------------------------------------------
Fri Jul 12 15:42:02 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 3.0.11 with jupyterlab-manager 5.0.11
* Add support for widgets in JupyterLab code consoles by @jtpio
in #3004
* Add return to pack_models by @gjmooney in #3923
-------------------------------------------------------------------
Fri Mar 29 17:49:23 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 3.0.10 with jupyrerlab-manager 5.0.10
* Bump systeminformation from 5.18.3 to 5.21.8 in /ui-tests by
@dependabot in #3837
* Try to use manager's latexTypesetter if window.MathJax is not
defined by @bollwyvl in #3847
* fix: restoring widgets from saved state is broken since v8 in
Lab by @mariobuikhuizen in #3866
-------------------------------------------------------------------
Sat Dec 23 20:38:01 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 3.0.9
* From ipywidgets 8.1.1: Raise error when copy method is used on
base widget class by @mmc1718 in #3780
-------------------------------------------------------------------
Fri Aug 18 18:21:19 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 3.0.8
* no own release notes, see ipywidgets 8.1:
- Allow CSS variables to be used as values in the Color trait
by @nurbo in #3796
- Require python for js files to work
-------------------------------------------------------------------
Tue Apr 4 15:42:21 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 3.0.7 with jupyterlab-manager 5.0.7
## release notes from ipywidgets 8.0.6
* Fix: revert removing ipykernel dependency #3749
* Fix: structuredClone broke default serializer that depended on
JSON/toJSON #3738
* Fix: comm/ipykernel/manager runtime issues: #3740, #3737
* Fix: propertly typed Comm interface #3722
* Fix: support the comm package #3533
* Fix: use of structuredClone allows for binary traits out of the
box #3689
* Fix: combobox update issue #3681
* Fix: add grey as valid color #3671
* Fix: deprecation warning when using interact #3669
-------------------------------------------------------------------
Wed Oct 5 15:48:54 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Bump up also jupver macro.
-------------------------------------------------------------------
Sat Oct 1 18:37:45 UTC 2022 - Arun Persaud <arun@gmx.de>
- update to version 3.0.3:
* no changelog available
-------------------------------------------------------------------
Sat Aug 20 15:19:10 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile:
* drop patch ipywidgets-pr3138-pr3194-packaging.patch
- update to version 3.0.2:
* ships jupyter-widgets/jupyterlab-manager@5.0.2
* no changelog available
-------------------------------------------------------------------
Thu Jan 6 12:49:05 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Use the js version for the jupyter package
-------------------------------------------------------------------
Thu Jan 6 12:20:03 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Add ipywidgets-pr3138-pr3194-packaging.patch for python310
packaging
- Actually adds the JS files now
-------------------------------------------------------------------
Sun Oct 17 20:43:24 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Initial specfile for 1.0.2
- Required by ipywidgets

View File

@ -0,0 +1,81 @@
#
# spec file for package python-jupyterlab-widgets
#
# 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/
#
%define pyver 3.0.11
%define jupver 5.0.11
Name: python-jupyterlab-widgets
Version: %{pyver}
Release: 0
Summary: A JupyterLab extension for Jupyter/IPython widgets
License: BSD-3-Clause
URL: https://github.com/jupyter-widgets/ipywidgets
Source: https://files.pythonhosted.org/packages/source/j/jupyterlab_widgets/jupyterlab_widgets-%{pyver}.tar.gz
Source99: python-jupyterlab-widgets-rpmlintrc
BuildRequires: %{python_module jupyter_packaging}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: jupyter-jupyterlab-filesystem
BuildRequires: python-rpm-macros
Requires: jupyter-jupyterlab-widgets
Provides: python-jupyterlab_widgets = %{pyver}-%{release}
BuildArch: noarch
%python_subpackages
%description
A JupyterLab 3.0 extension for Jupyter/IPython widgets
%package -n jupyter-jupyterlab-widgets
Version: %{pyver}
Summary: A JupyterLab extension for Jupyter/IPython widgets - Jupyter JS files
Requires: jupyter-jupyterlab-filesystem
Provides: jupyter-jupyter-widgets-jupyterlab-manager = %{jupver}-%{release}
Provides: jupyter-jupyterlab_widgets = %{jupver}-%{release}
Requires: python3dist(jupyterlab-widgets) = %{pyver}
Suggests: python3-jupyterlab-widgets
%description -n jupyter-jupyterlab-widgets
A JupyterLab 3.0 extension for Jupyter/IPython widgets - Jupyterlab-manager JS files
%prep
%autosetup -p1 -n jupyterlab_widgets-%{pyver}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python -c 'import jupyterlab_widgets'
}
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/jupyterlab_widgets
%{python_sitelib}/jupyterlab_widgets-%{pyver}*-info
%files -n jupyter-jupyterlab-widgets
%license LICENSE
%dir %{_jupyter_labextensions_dir3}/@jupyter-widgets
%{_jupyter_labextensions_dir3}/@jupyter-widgets/jupyterlab-manager
%changelog