From a82bb3aac6798ef9039ce1b7bed7bdc674f548d2a0cb484283756acc6e51b522 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 25 Dec 2022 19:40:27 +0000 Subject: [PATCH] - 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 --- ipywidgets-8.0.2.tar.gz | 3 --- ipywidgets-8.0.4.tar.gz | 3 +++ python-ipywidgets.changes | 14 ++++++++++++++ python-ipywidgets.spec | 19 +++++++++++-------- 4 files changed, 28 insertions(+), 11 deletions(-) delete mode 100644 ipywidgets-8.0.2.tar.gz create mode 100644 ipywidgets-8.0.4.tar.gz diff --git a/ipywidgets-8.0.2.tar.gz b/ipywidgets-8.0.2.tar.gz deleted file mode 100644 index 34ca9dc..0000000 --- a/ipywidgets-8.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:08cb75c6e0a96836147cbfdc55580ae04d13e05d26ffbc377b4e1c68baa28b1f -size 112516 diff --git a/ipywidgets-8.0.4.tar.gz b/ipywidgets-8.0.4.tar.gz new file mode 100644 index 0000000..082c342 --- /dev/null +++ b/ipywidgets-8.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0005a77a47d77889cafed892b58e33b4a2a96712154404c6548ec22272811ea +size 114780 diff --git a/python-ipywidgets.changes b/python-ipywidgets.changes index 8484ef0..43e1ddc 100644 --- a/python-ipywidgets.changes +++ b/python-ipywidgets.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sun Dec 25 19:30:47 UTC 2022 - Ben Greiner + +- 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 diff --git a/python-ipywidgets.spec b/python-ipywidgets.spec index 533c16f..6b37f51 100644 --- a/python-ipywidgets.spec +++ b/python-ipywidgets.spec @@ -16,9 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ipywidgets -Version: 8.0.2 +Version: 8.0.4 Release: 0 Summary: IPython HTML widgets for Jupyter License: BSD-3-Clause @@ -26,16 +25,18 @@ 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 base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip Requires: python-ipykernel >= 4.5.1 Requires: python-ipython >= 6.1.0 Requires: python-ipython_genutils >= 0.2 -Requires: python-jupyterlab_widgets >= 3.0 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} Obsoletes: python-jupyter_ipywidgets < %{version} BuildArch: noarch @@ -44,11 +45,11 @@ BuildRequires: %{python_module ipykernel >= 4.5.1} BuildRequires: %{python_module ipython >= 6.1.0} BuildRequires: %{python_module ipython_genutils >= 0.2} 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 pytz} BuildRequires: %{python_module traitlets >= 4.3.1} -BuildRequires: %{python_module widgetsnbextension >= 4.0} +BuildRequires: %{python_module widgetsnbextension >= 4.0 with %python-widgetsnbextension < 5} # /SECTION %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Provides: jupyter-ipywidgets = %{version} @@ -60,12 +61,14 @@ Interactive HTML widgets for Jupyter notebooks and the IPython kernel. %prep %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 -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check