- Update to 8.0.4

* Fix: slider change event issue with tapping: #3597, #3617
  * Fix: unintentional deprecation warnings: #3648, #3650
  * Fix: registry state lookup failed, making is impossible to
    create widgets from the frontend: #3653
- Release 8.0.3  
  * Fix: be backwards compatibel with 7.x, where we re-instroduced
    .widget and .widget_types #3567
  * Fix: be backwards compatibel with 7.x, revert hold_sync during
    set_state #3642

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipywidgets?expand=0&rev=35
This commit is contained in:
Benjamin Greiner 2022-12-25 19:40:27 +00:00 committed by Git OBS Bridge
parent 28c63cd6bf
commit a82bb3aac6
4 changed files with 28 additions and 11 deletions

View File

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

3
ipywidgets-8.0.4.tar.gz Normal file
View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sun Dec 25 19:30:47 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 8.0.4
* Fix: slider change event issue with tapping: #3597, #3617
* Fix: unintentional deprecation warnings: #3648, #3650
* Fix: registry state lookup failed, making is impossible to
create widgets from the frontend: #3653
- Release 8.0.3
* Fix: be backwards compatibel with 7.x, where we re-instroduced
.widget and .widget_types #3567
* Fix: be backwards compatibel with 7.x, revert hold_sync during
set_state #3642
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 8 14:49:13 UTC 2022 - Arun Persaud <arun@gmx.de> Thu Sep 8 14:49:13 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -16,9 +16,8 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ipywidgets Name: python-ipywidgets
Version: 8.0.2 Version: 8.0.4
Release: 0 Release: 0
Summary: IPython HTML widgets for Jupyter Summary: IPython HTML widgets for Jupyter
License: BSD-3-Clause License: BSD-3-Clause
@ -26,16 +25,18 @@ Group: Development/Languages/Python
URL: https://github.com/jupyter-widgets/ipywidgets URL: https://github.com/jupyter-widgets/ipywidgets
Source0: https://files.pythonhosted.org/packages/source/i/ipywidgets/ipywidgets-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/i/ipywidgets/ipywidgets-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: unzip BuildRequires: unzip
Requires: python-ipykernel >= 4.5.1 Requires: python-ipykernel >= 4.5.1
Requires: python-ipython >= 6.1.0 Requires: python-ipython >= 6.1.0
Requires: python-ipython_genutils >= 0.2 Requires: python-ipython_genutils >= 0.2
Requires: python-jupyterlab_widgets >= 3.0
Requires: python-traitlets >= 4.3.1 Requires: python-traitlets >= 4.3.1
Requires: python-widgetsnbextension >= 4.0 Requires: (python-jupyterlab_widgets >= 3.0 with python-jupyterlab_widgets < 4)
Requires: (python-widgetsnbextension >= 4.0 with python-widgetsnbextension < 5)
Provides: python-jupyter_ipywidgets = %{version} Provides: python-jupyter_ipywidgets = %{version}
Obsoletes: python-jupyter_ipywidgets < %{version} Obsoletes: python-jupyter_ipywidgets < %{version}
BuildArch: noarch BuildArch: noarch
@ -44,11 +45,11 @@ BuildRequires: %{python_module ipykernel >= 4.5.1}
BuildRequires: %{python_module ipython >= 6.1.0} BuildRequires: %{python_module ipython >= 6.1.0}
BuildRequires: %{python_module ipython_genutils >= 0.2} BuildRequires: %{python_module ipython_genutils >= 0.2}
BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module jsonschema}
BuildRequires: %{python_module jupyterlab_widgets >= 3} BuildRequires: %{python_module jupyterlab_widgets >= 3 with %python-jupyterlab_widgets < 4}
BuildRequires: %{python_module pytest >= 3.6.0} BuildRequires: %{python_module pytest >= 3.6.0}
BuildRequires: %{python_module pytz} BuildRequires: %{python_module pytz}
BuildRequires: %{python_module traitlets >= 4.3.1} BuildRequires: %{python_module traitlets >= 4.3.1}
BuildRequires: %{python_module widgetsnbextension >= 4.0} BuildRequires: %{python_module widgetsnbextension >= 4.0 with %python-widgetsnbextension < 5}
# /SECTION # /SECTION
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
Provides: jupyter-ipywidgets = %{version} Provides: jupyter-ipywidgets = %{version}
@ -60,12 +61,14 @@ Interactive HTML widgets for Jupyter notebooks and the IPython kernel.
%prep %prep
%autosetup -p1 -n ipywidgets-%{version} %autosetup -p1 -n ipywidgets-%{version}
# remove shebangs from test modules. Those are not standalone scripts.
sed -i '1{/env python/d}' ipywidgets/widgets/tests/*.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check