* Fix broken link icon for FontAwesome 4 and 5 #3495 * Fix message throttling bug #3494 * Fix state message parsing to be more permissive #3486 * Fix tests on Python 3.11 #3480 * Add better front-page docs #3496 - Release 7.7 * Fix installation on Python 3.10. #3368 * Throw an error if we cannot render a widget, enabling the rendering system to fall back to rendering a different data type if available. #3290 * Create a new widget control comm channel, enabling more efficient fetching of kernel widget state. #3201 * Refactor logic for fetching kernel widget state to the manager base class. This logic first tries to use the new widget control comm channel, falling back to the existing method of requesting each widget's state individually. #3337 * Enable HTMLManager output widgets to render state updates. #3372 * Do not reset JupyterLab CSS variables if they are already defined. #3344 * Fix variable inspector example. #3302 * Introduce new widget manager has_model method for synchronously checking if a widget model is registered. #3377 * Work around bug in Chrome rendering Combobox arrows. #3375 * Optionally echo update messages from frontends to other frontends. This enables widget views in different frontends to maintain consistent state simultaneously, and also makes sure that simultaneous updates from the kernel and frontend resolve to a consistent state. This is off by default in ipywidgets OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipywidgets?expand=0&rev=29
79 lines
2.6 KiB
RPMSpec
79 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package python-ipywidgets
|
|
#
|
|
# Copyright (c) 2022 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/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
%define skip_python2 1
|
|
Name: python-ipywidgets
|
|
Version: 7.7.1
|
|
Release: 0
|
|
Summary: IPython HTML widgets for Jupyter
|
|
License: BSD-3-Clause
|
|
Group: Development/Languages/Python
|
|
URL: https://github.com/jupyter-widgets/ipywidgets
|
|
Source0: https://files.pythonhosted.org/packages/source/i/ipywidgets/ipywidgets-%{version}.tar.gz
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
BuildRequires: unzip
|
|
Requires: python-ipykernel >= 4.5.1
|
|
Requires: python-ipython >= 4
|
|
Requires: python-ipython_genutils >= 0.2
|
|
Requires: python-jupyterlab_widgets >= 1
|
|
Requires: python-traitlets >= 4.3.1
|
|
Requires: python-widgetsnbextension >= 3.6.0
|
|
Provides: python-jupyter_ipywidgets = %{version}
|
|
Obsoletes: python-jupyter_ipywidgets < %{version}
|
|
BuildArch: noarch
|
|
# SECTION test requirements
|
|
BuildRequires: %{python_module ipykernel >= 4.5.1}
|
|
BuildRequires: %{python_module ipython >= 4}
|
|
BuildRequires: %{python_module ipython_genutils >= 0.2}
|
|
BuildRequires: %{python_module jupyterlab_widgets >= 1}
|
|
BuildRequires: %{python_module pytest >= 3.6.0}
|
|
BuildRequires: %{python_module traitlets >= 4.3.1}
|
|
BuildRequires: %{python_module widgetsnbextension >= 3.6.0}
|
|
# /SECTION
|
|
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
|
|
Provides: jupyter-ipywidgets = %{version}
|
|
%endif
|
|
%python_subpackages
|
|
|
|
%description
|
|
Interactive HTML widgets for Jupyter notebooks and the IPython kernel.
|
|
|
|
%prep
|
|
%autosetup -p1 -n ipywidgets-%{version}
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%check
|
|
%pytest
|
|
|
|
%files %{python_files}
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{python_sitelib}/ipywidgets/
|
|
%{python_sitelib}/ipywidgets-%{version}*-info
|
|
|
|
%changelog
|