- Update to version 7.7.1
* 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
This commit is contained in:
parent
da8e8a289d
commit
0f2f589441
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:00974f7cb4d5f8d494c19810fedb9fa9b64bffd3cda7c2be23c133a1ad3c99c5
|
||||
size 4072535
|
3
ipywidgets-7.7.1.tar.gz
Normal file
3
ipywidgets-7.7.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5f2fa1b7afae1af32c88088c9828ad978de93ddda393d7ed414e553fee93dcab
|
||||
size 4075672
|
@ -1,37 +0,0 @@
|
||||
From f9a13dbb3b8f1ffefef483bdb4c14f04f7743ff1 Mon Sep 17 00:00:00 2001
|
||||
From: Jason Grout <jgrout6@bloomberg.net>
|
||||
Date: Tue, 31 Dec 2019 12:57:52 -0800
|
||||
Subject: [PATCH] Fix more python 3 deprecations
|
||||
|
||||
---
|
||||
ipywidgets/widgets/interaction.py | 2 +-
|
||||
ipywidgets/widgets/tests/test_interaction.py | 3 ++-
|
||||
2 files changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/ipywidgets/widgets/interaction.py b/ipywidgets/widgets/interaction.py
|
||||
index 3dd7272047..6e3b9fc955 100644
|
||||
--- a/ipywidgets/widgets/interaction.py
|
||||
+++ b/ipywidgets/widgets/interaction.py
|
||||
@@ -246,7 +246,7 @@ def update(self, *args):
|
||||
except Exception as e:
|
||||
ip = get_ipython()
|
||||
if ip is None:
|
||||
- self.log.warn("Exception in interact callback: %s", e, exc_info=True)
|
||||
+ self.log.warning("Exception in interact callback: %s", e, exc_info=True)
|
||||
else:
|
||||
ip.showtraceback()
|
||||
finally:
|
||||
diff --git a/ipywidgets/widgets/tests/test_interaction.py b/ipywidgets/widgets/tests/test_interaction.py
|
||||
index 1ee946744e..c792c5377a 100644
|
||||
--- a/ipywidgets/widgets/tests/test_interaction.py
|
||||
+++ b/ipywidgets/widgets/tests/test_interaction.py
|
||||
@@ -249,7 +249,8 @@ def test_iterable_tuple():
|
||||
check_widgets(c, lis=d)
|
||||
|
||||
def test_mapping():
|
||||
- from collections import Mapping, OrderedDict
|
||||
+ from collections.abc import Mapping
|
||||
+ from collections import OrderedDict
|
||||
class TestMapping(Mapping):
|
||||
def __init__(self, values):
|
||||
self.values = values
|
@ -1,3 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 1 17:41:47 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 7.7.1
|
||||
* 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
|
||||
7.7, and it is anticipated this will be on by default in
|
||||
ipywidgets 8.0. To enable echo update messages across
|
||||
ipywidgets, set the environment variable JUPYTER_WIDGETS_ECHO
|
||||
to 1. To opt a specific attribute out of echo updates, tag the
|
||||
attribute with echo_update=False metadata (we do this in core
|
||||
for the FileUpload widget's data attribute). #3400, #3394
|
||||
- Drop ipywidgets-pr2655-collectionsabc.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 6 13:13:37 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -19,15 +19,13 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-ipywidgets
|
||||
Version: 7.6.5
|
||||
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
|
||||
# PATCH-FIX-UPSTREAM ipywidgets-pr2655-collectionsabc.patch -- gh#jupyter-widgets/ipywidgets#2655
|
||||
Patch0: https://github.com/jupyter-widgets/ipywidgets/commit/f9a13dbb3b8f1ffefef483bdb4c14f04f7743ff1.patch#/ipywidgets-pr2655-collectionsabc.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -36,9 +34,8 @@ Requires: python-ipykernel >= 4.5.1
|
||||
Requires: python-ipython >= 4
|
||||
Requires: python-ipython_genutils >= 0.2
|
||||
Requires: python-jupyterlab_widgets >= 1
|
||||
Requires: python-nbformat >= 4.2
|
||||
Requires: python-traitlets >= 4.3.1
|
||||
Requires: python-widgetsnbextension >= 3.5.0
|
||||
Requires: python-widgetsnbextension >= 3.6.0
|
||||
Provides: python-jupyter_ipywidgets = %{version}
|
||||
Obsoletes: python-jupyter_ipywidgets < %{version}
|
||||
BuildArch: noarch
|
||||
@ -47,10 +44,9 @@ 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 nbformat >= 4.2.0}
|
||||
BuildRequires: %{python_module pytest >= 3.6.0}
|
||||
BuildRequires: %{python_module traitlets >= 4.3.1}
|
||||
BuildRequires: %{python_module widgetsnbextension >= 3.5.0}
|
||||
BuildRequires: %{python_module widgetsnbextension >= 3.6.0}
|
||||
# /SECTION
|
||||
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
|
||||
Provides: jupyter-ipywidgets = %{version}
|
||||
|
Loading…
x
Reference in New Issue
Block a user