Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ipympl for openSUSE:Factory checked in at 2023-04-14 13:12:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ipympl (Old) and /work/SRC/openSUSE:Factory/.python-ipympl.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipympl" Fri Apr 14 13:12:40 2023 rev:10 rq:1079316 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/python-ipympl/python-ipympl.changes 2022-10-12 18:24:59.837710309 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipympl.new.19717/python-ipympl.changes 2023-04-14 13:12:44.111446186 +0200 @@ -1,0 +2,17 @@ +Fri Apr 14 00:24:54 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Fix requirements +- Fix jsversion: 11.3 + +------------------------------------------------------------------- +Tue Apr 4 16:21:12 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.9.3 + * MNT: PEP 632 removed distutils by @tacaswell in #494 + * Make handle_binary compliant with the KernelMessage.IMessage + spec by @mctoohey in #505 + * Ensure throttling does not break capture_scroll by @ianhi in + #478 + * fix: add event modifiers for mpl 3.7 by @ianhi in #517 + +------------------------------------------------------------------- Old: ---- ipympl-0.9.2-py2.py3-none-any.whl New: ---- ipympl-0.9.3-py2.py3-none-any.whl ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ipympl.spec ++++++ --- /var/tmp/diff_new_pack.hRfUrt/_old 2023-04-14 13:12:44.667449366 +0200 +++ /var/tmp/diff_new_pack.hRfUrt/_new 2023-04-14 13:12:44.675449412 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-ipympl # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,9 @@ # -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 -%define pyver 0.9.2 -%define jsver 0.10.4 +%define pyver 0.9.3 +%define jsver 0.11.3 +%define pydist python3dist %bcond_with test Name: python-ipympl Version: %{pyver} @@ -32,20 +30,28 @@ Source0: https://files.pythonhosted.org/packages/py2.py3/i/ipympl/ipympl-%{pyver}-py2.py3-none-any.whl Source1: https://github.com/matplotlib/ipympl/raw/%{pyver}/docs/examples/full-example.ipynb BuildRequires: %{python_module Pillow} -BuildRequires: %{python_module ipykernel >= 4.7} -BuildRequires: %{python_module ipywidgets >= 7.6.0} -BuildRequires: %{python_module matplotlib >= 3.4.0} +BuildRequires: %{python_module ipython < 9} +BuildRequires: %{python_module ipython_genutils} +BuildRequires: %{python_module ipywidgets >= 7.6.0 with %python-ipywidgets < 9} +BuildRequires: %{python_module matplotlib >= 3.4.0 with %python-matplotlib < 4} BuildRequires: %{python_module matplotlib-web} BuildRequires: %{python_module nbval} +BuildRequires: %{python_module numpy} BuildRequires: %{python_module pip} +BuildRequires: %{python_module traitlets < 6} BuildRequires: fdupes -BuildRequires: jupyter-jupyterlab-filesystem +BuildRequires: jupyter-rpm-macros BuildRequires: python-rpm-macros BuildRequires: unzip -Requires: python-ipykernel >= 4.7 -Requires: python-ipywidgets >= 7.6.0 -Requires: python-matplotlib >= 3.4.0 +Requires: jupyter-matplotlib = %{jsver} +Requires: python-Pillow +Requires: python-ipython < 9 +Requires: python-ipython_genutils Requires: python-matplotlib-web +Requires: python-numpy +Requires: python-traitlets < 6 +Requires: (python-ipywidgets >= 7.6.0 with python-ipywidgets < 9) +Requires: (python-matplotlib >= 3.4.0 with python-matplotlib < 4) Suggests: python-jupyterlab Suggests: python-notebook Provides: python-jupyter_ipympl = %{pyver} @@ -63,7 +69,7 @@ Summary: Matplotlib Jupyter Extension Group: Development/Languages/Python Requires: jupyter-notebook -Requires: python3-ipympl = %{pyver} +Requires: %pydist(ipympl) = %{pyver} Provides: jupyter-ipympl = %{jsver} Obsoletes: jupyter-ipympl < %{jsver} @@ -78,9 +84,7 @@ Summary: Matplotlib JupyterLab Extension Group: Development/Languages/Python Requires: jupyter-jupyterlab -Requires: python3-ipympl = %{pyver} -Provides: python3-jupyter_ipympl_jupyterlab = %{jsver} -Obsoletes: python3-jupyter_ipympl_jupyterlab < %{jsver} +Requires: %pydist(ipympl) = %{pyver} Provides: jupyter-ipympl-jupyterlab = %{jsver} Obsoletes: jupyter-ipympl-jupyterlab < %{jsver} ++++++ full-example.ipynb ++++++ --- /var/tmp/diff_new_pack.hRfUrt/_old 2023-04-14 13:12:44.731449732 +0200 +++ /var/tmp/diff_new_pack.hRfUrt/_new 2023-04-14 13:12:44.735449755 +0200 @@ -272,7 +272,7 @@ "\n", "If we make sure interactive mode is off when we create the figure then the figure will only display where we want it to.\n", "\n", - "There is ongoing work to allow usage of `ioff` as a context manager, see the [ipympl issue](https://github.com/matplotlib/ipympl/issues/220) and the [matplotlib issue](https://github.com/matplotlib/matplotlib/issues/17013)" + "To do this you can use `plt.ioff()` as a context manager." ] }, { @@ -281,9 +281,8 @@ "metadata": {}, "outputs": [], "source": [ - "plt.ioff()\n", - "fig = plt.figure()\n", - "plt.ion()\n", + "with plt.ioff():\n", + " fig = plt.figure()\n", "\n", "ax = fig.gca()\n", "ax.imshow(Z)\n", @@ -301,7 +300,7 @@ "source": [ "# Interacting with other widgets\n", "\n", - "## Changing a line plot with a slide" + "## Changing a line plot with a slider" ] }, { @@ -385,9 +384,8 @@ "metadata": {}, "outputs": [], "source": [ - "plt.ioff()\n", - "fig = plt.figure()\n", - "plt.ion()\n", + "with plt.ioff():\n", + " fig = plt.figure()\n", "im = plt.imshow(example_image_stack[0])\n", "\n", "def update(change):\n", @@ -425,9 +423,8 @@ "metadata": {}, "outputs": [], "source": [ - "plt.ioff()\n", - "fig = plt.figure()\n", - "plt.ion()\n", + "with plt.ioff():\n", + " fig = plt.figure()\n", "im = plt.imshow(example_image_stack[0])\n", "\n", "out = widgets.Output()\n", @@ -448,7 +445,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -462,7 +459,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.6" + "version": "3.11.0" }, "widgets": { "application/vnd.jupyter.widget-state+json": {