From 3de424d856446879fcb810cb78aa9199f02dfa40 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Mar 03 2023 07:38:25 +0000 Subject: Fix tests with ipyton 8.11.0 --- diff --git a/python-ipywidgets.spec b/python-ipywidgets.spec index 0755fec..5213273 100644 --- a/python-ipywidgets.spec +++ b/python-ipywidgets.spec @@ -29,6 +29,11 @@ Interactive HTML widgets for Jupyter notebooks and the IPython kernel. # in Fedora yet so we do not need this package at all. sed -i "/jupyterlab_widgets/d" setup.cfg +# Fix for ipython 8.11.0 +# reported and proposed upstream +# https://github.com/jupyter-widgets/ipywidgets/issues/3711 +sed -i "/Zm9vYmFy/s/\\\n//" ipywidgets/widgets/tests/test_widget_output.py + %generate_buildrequires %pyproject_buildrequires -x test