diff --git a/ipywidgets-8.1.3.tar.gz b/ipywidgets-8.1.3.tar.gz deleted file mode 100644 index 79b14e8..0000000 --- a/ipywidgets-8.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5f9eeaae082b1823ce9eac2575272952f40d748893972956dc09700a6392d9c -size 116515 diff --git a/ipywidgets-8.1.5.tar.gz b/ipywidgets-8.1.5.tar.gz new file mode 100644 index 0000000..b202de7 --- /dev/null +++ b/ipywidgets-8.1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:870e43b1a35656a80c18c9503bbf2d16802db1cb487eec6fab27d683381dde17 +size 116723 diff --git a/ipywidgets-pr3903-pytest.patch b/ipywidgets-pr3903-pytest.patch deleted file mode 100644 index 9dbb850..0000000 --- a/ipywidgets-pr3903-pytest.patch +++ /dev/null @@ -1,91 +0,0 @@ -From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001 -From: Lumir Balhar -Date: Thu, 11 Apr 2024 11:40:15 +0200 -Subject: [PATCH] Fix compatibility with pytest 8 - -Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883 ---- - .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 -- - python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 - - .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +- - .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +- - python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++--- - 5 files changed, 5 insertions(+), 8 deletions(-) - -diff --git a/ipywidgets/widgets/tests/test_interaction.py b/ipywidgets/widgets/tests/test_interaction.py -index 0dc7e5fcfc..feb1afe50c 100644 ---- a/ipywidgets/widgets/tests/test_interaction.py -+++ b/ipywidgets/widgets/tests/test_interaction.py -@@ -19,8 +19,6 @@ - # Utility stuff - #----------------------------------------------------------------------------- - --from .utils import setup, teardown -- - def f(**kwargs): - pass - -diff --git a/ipywidgets/widgets/tests/test_link.py b/ipywidgets/widgets/tests/test_link.py -index 0c92dfdcb2..9301764d40 100644 ---- a/ipywidgets/widgets/tests/test_link.py -+++ b/ipywidgets/widgets/tests/test_link.py -@@ -4,7 +4,6 @@ - import pytest - - from .. import jslink, jsdlink, ToggleButton --from .utils import setup, teardown - - def test_jslink_args(): - with pytest.raises(TypeError): -diff --git a/ipywidgets/widgets/tests/test_send_state.py b/ipywidgets/widgets/tests/test_send_state.py -index ec18ae4af1..98465b9b7d 100644 ---- a/ipywidgets/widgets/tests/test_send_state.py -+++ b/ipywidgets/widgets/tests/test_send_state.py -@@ -3,7 +3,7 @@ - - from traitlets import Bool, Tuple, List - --from .utils import setup, teardown, DummyComm -+from .utils import setup - - from ..widget import Widget - -diff --git a/ipywidgets/widgets/tests/test_set_state.py b/ipywidgets/widgets/tests/test_set_state.py -index 82ecbd9311..22ec54d90f 100644 ---- a/ipywidgets/widgets/tests/test_set_state.py -+++ b/ipywidgets/widgets/tests/test_set_state.py -@@ -6,7 +6,7 @@ - - from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe - --from .utils import setup, teardown -+from .utils import setup - - import ipywidgets - from ipywidgets import Widget -diff --git a/ipywidgets/widgets/tests/utils.py b/ipywidgets/widgets/tests/utils.py -index 260485e3f8..8dbbcb355b 100644 ---- a/ipywidgets/widgets/tests/utils.py -+++ b/ipywidgets/widgets/tests/utils.py -@@ -12,7 +12,7 @@ - NEW_COMM_PACKAGE = False - - import ipykernel.comm -- -+import pytest - - class DummyComm(): - comm_id = 'a-b-c-d' -@@ -87,10 +87,10 @@ def teardown_test_comm(): - setattr(Widget, attr, value) - _widget_attrs.clear() - -+@pytest.fixture(autouse=True) - def setup(): - setup_test_comm() -- --def teardown(): -+ yield - teardown_test_comm() - - def call_method(method, *args, **kwargs): diff --git a/python-ipywidgets.changes b/python-ipywidgets.changes index dcbe39b..8fd4387 100644 --- a/python-ipywidgets.changes +++ b/python-ipywidgets.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sun Sep 15 15:49:33 UTC 2024 - Ben Greiner + +- Update to 4.0.13 + * More Phosphor backward compatibility by @martinRenou in #3942 + ## New features + * Allow interact to use basic type hint annotations by + @corranwebster in #3908 + * Support horizontal orientation of radio buttons by + @DonJayamanne in #3620 + ## Maintenance and bug fixes + * Fix compatibility with pytest 8 by @frenzymadness in #3903 + * HTMLManager: Support both ipywidgets 7 and 8 models by + @martinRenou in #3932 + * Make tests compatible with Python 3.13 by @frenzymadness in + #3924 + * fix: get_metadata deprecated since traitlets 4.1 by + @ManonMarchand in #3894 + * Phosphor widget backward compatibility fixes by @martinRenou in + #3933 + * Remove confusing error message by @martinRenou in #3936 + * Fix wrong tag index in TagsInput when updated via python by + @s-weigand in #3862 +- Drop ipywidgets-pr3903-pytest.patch + ------------------------------------------------------------------- Fri Jul 12 15:35:21 UTC 2024 - Ben Greiner diff --git a/python-ipywidgets.spec b/python-ipywidgets.spec index 5b6ed63..dcd283f 100644 --- a/python-ipywidgets.spec +++ b/python-ipywidgets.spec @@ -17,15 +17,13 @@ Name: python-ipywidgets -Version: 8.1.3 +Version: 8.1.5 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 -# PATCH-FIX-UPSTREAM ipywidgets-pr3903-pytest.patch gh#jupyter-widgets/ipywidgets#3903 -Patch0: ipywidgets-pr3903-pytest.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} @@ -36,8 +34,8 @@ BuildRequires: unzip Requires: python-comm >= 0.1.3 Requires: python-ipython >= 6.1.0 Requires: python-traitlets >= 4.3.1 -Requires: (python-jupyterlab_widgets >= 3.0.11 with python-jupyterlab_widgets < 4) -Requires: (python-widgetsnbextension >= 4.0.11 with python-widgetsnbextension < 5) +Requires: (python-jupyterlab_widgets >= 3.0.12 with python-jupyterlab_widgets < 4) +Requires: (python-widgetsnbextension >= 4.0.12 with python-widgetsnbextension < 5) Provides: python-jupyter_ipywidgets = %{version} Obsoletes: python-jupyter_ipywidgets < %{version} BuildArch: noarch @@ -46,11 +44,11 @@ BuildRequires: %{python_module comm >= 0.1.3} BuildRequires: %{python_module ipykernel} BuildRequires: %{python_module ipython >= 6.1.0} BuildRequires: %{python_module jsonschema} -BuildRequires: %{python_module jupyterlab_widgets >= 3.0.11 with %python-jupyterlab_widgets < 4} +BuildRequires: %{python_module jupyterlab_widgets >= 3.0.12 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.11 with %python-widgetsnbextension < 5} +BuildRequires: %{python_module widgetsnbextension >= 4.0.12 with %python-widgetsnbextension < 5} # /SECTION %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Provides: jupyter-ipywidgets = %{version}