commit python-ipympl for openSUSE:Factory
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 2024-04-23 18:55:58 Comparing /work/SRC/openSUSE:Factory/python-ipympl (Old) and /work/SRC/openSUSE:Factory/.python-ipympl.new.27645 (New) Package is "python-ipympl" Tue Apr 23 18:55:58 2024 rev:13 rq:1169635 version:unknown Changes: --- /work/SRC/openSUSE:Factory/python-ipympl/python-ipympl.changes 2024-03-06 23:04:57.474240686 +0100 +++ /work/SRC/openSUSE:Factory/.python-ipympl.new.27645/python-ipympl.changes 2024-04-23 18:56:20.703050353 +0200 @@ -1,0 +2,10 @@ +Sun Apr 21 22:22:11 UTC 2024 - Todd R + +- Update to 0.9.4 + * Add matplotlib.backend entry points + * Build using JupyterLab 4 +- Use newer jupyterlab macros +- Source is python3-only now +- Use new license directory + +--- Old: ipympl-0.9.3-py2.py3-none-any.whl New: ipympl-0.9.4-py3-none-any.whl Other differences: -- ++ python-ipympl.spec ++ --- /var/tmp/diff_new_pack.HRHxlL/_old 2024-04-23 18:56:21.515079599 +0200 +++ /var/tmp/diff_new_pack.HRHxlL/_new 2024-04-23 18:56:21.515079599 +0200 @@ -17,8 +17,8 @@ %define skip_python39 1 -%define pyver 0.9.3 -%define jsver 0.11.3 +%define pyver 0.9.4 +%define jsver 0.11.4 %bcond_with test Name: python-ipympl Version:%{pyver} @@ -27,7 +27,7 @@ License:BSD-3-Clause Group: Development/Languages/Python URL:https://github.com/matplotlib/ipympl -Source0: https://files.pythonhosted.org/packages/py2.py3/i/ipympl/ipympl-%{pyver}-py2.py3-none-any.whl +Source0: https://files.pythonhosted.org/packages/py3/i/ipympl/ipympl-%{pyver}-py3-none-any.whl Source1: https://github.com/matplotlib/ipympl/raw/%{pyver}/docs/examples/full-example.ipynb BuildRequires: %{python_module Pillow} BuildRequires: %{python_module ipython < 9} @@ -110,7 +110,7 @@ %jupyter_move_config %python_expand %fdupes %{buildroot}%{$python_sitelib} %fdupes %{buildroot}%{_jupyter_prefix} -cp %{buildroot}%{python3_sitelib}/ipympl-%{pyver}.dist-info/LICENSE . +cp %{buildroot}%{python3_sitelib}/ipympl-%{pyver}.dist-info/licenses/LICENSE . %check %pytest --nbval full-example.ipynb @@ -127,6 +127,5 @@ %files -n jupyter-matplotlib-jupyterlab %license LICENSE -%dir %{_jupyter_prefix}/labextensions -%{_jupyter_prefix}/labextensions/jupyter-matplotlib +%{_jupyter_labextensions_dir3}/jupyter-matplotlib
commit python-ipympl for openSUSE:Factory
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 2024-03-06 23:04:33 Comparing /work/SRC/openSUSE:Factory/python-ipympl (Old) and /work/SRC/openSUSE:Factory/.python-ipympl.new.1770 (New) Package is "python-ipympl" Wed Mar 6 23:04:33 2024 rev:12 rq:1155321 version:unknown Changes: --- /work/SRC/openSUSE:Factory/python-ipympl/python-ipympl.changes 2023-08-18 19:29:02.691389684 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipympl.new.1770/python-ipympl.changes 2024-03-06 23:04:57.474240686 +0100 @@ -1,0 +2,5 @@ +Tue Mar 5 18:20:16 UTC 2024 - Ben Greiner + +- Skip python39: no longer supported since ipython 8.19 + +--- Other differences: -- ++ python-ipympl.spec ++ --- /var/tmp/diff_new_pack.ZMveXD/_old 2024-03-06 23:04:58.054261733 +0100 +++ /var/tmp/diff_new_pack.ZMveXD/_new 2024-03-06 23:04:58.054261733 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ipympl # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,7 @@ # +%define skip_python39 1 %define pyver 0.9.3 %define jsver 0.11.3 %bcond_with test
commit python-ipympl for openSUSE:Factory
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-08-18 19:28:37 Comparing /work/SRC/openSUSE:Factory/python-ipympl (Old) and /work/SRC/openSUSE:Factory/.python-ipympl.new.1766 (New) Package is "python-ipympl" Fri Aug 18 19:28:37 2023 rev:11 rq:1104458 version:unknown Changes: --- /work/SRC/openSUSE:Factory/python-ipympl/python-ipympl.changes 2023-04-14 13:12:44.111446186 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipympl.new.1766/python-ipympl.changes 2023-08-18 19:29:02.691389684 +0200 @@ -1,0 +2,5 @@ +Thu Aug 17 15:38:44 UTC 2023 - Ben Greiner + +- Suggest primary python package -- boo#1214354 + +--- Other differences: -- ++ python-ipympl.spec ++ --- /var/tmp/diff_new_pack.6TJjoh/_old 2023-08-18 19:29:05.463394655 +0200 +++ /var/tmp/diff_new_pack.6TJjoh/_new 2023-08-18 19:29:05.483394691 +0200 @@ -18,7 +18,6 @@ %define pyver 0.9.3 %define jsver 0.11.3 -%define pydist python3dist %bcond_with test Name: python-ipympl Version:%{pyver} @@ -69,7 +68,9 @@ Summary:Matplotlib Jupyter Extension Group: Development/Languages/Python Requires: jupyter-notebook -Requires: %pydist(ipympl) = %{pyver} +# Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354 +Requires: python3dist(ipympl) = %{pyver} +Suggests: python3-ipympl Provides: jupyter-ipympl = %{jsver} Obsoletes: jupyter-ipympl < %{jsver} @@ -84,7 +85,9 @@ Summary:Matplotlib JupyterLab Extension Group: Development/Languages/Python Requires: jupyter-jupyterlab -Requires: %pydist(ipympl) = %{pyver} +# Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354 +Requires: python3dist(ipympl) = %{pyver} +Suggests: python3-ipympl Provides: jupyter-ipympl-jupyterlab = %{jsver} Obsoletes: jupyter-ipympl-jupyterlab < %{jsver} @@ -119,7 +122,7 @@ %files -n jupyter-matplotlib %license LICENSE %{_jupyter_nbextension_dir}/jupyter-matplotlib -%{?!_jupyter_distconfig:%config} %{_jupyter_nb_notebook_confdir}/jupyter-matplotlib.json +%{_jupyter_config} %{_jupyter_nb_notebook_confdir}/jupyter-matplotlib.json %files -n jupyter-matplotlib-jupyterlab %license LICENSE
commit python-ipympl for openSUSE:Factory
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 + +- Fix requirements +- Fix jsversion: 11.3 + +--- +Tue Apr 4 16:21:12 UTC 2023 - Ben Greiner + +- 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
commit python-ipympl for openSUSE:Factory
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 2022-10-12 18:23:54 Comparing /work/SRC/openSUSE:Factory/python-ipympl (Old) and /work/SRC/openSUSE:Factory/.python-ipympl.new.2275 (New) Package is "python-ipympl" Wed Oct 12 18:23:54 2022 rev:9 rq:1009859 version:unknown Changes: --- /work/SRC/openSUSE:Factory/python-ipympl/python-ipympl.changes 2021-12-24 23:38:49.896776615 +0100 +++ /work/SRC/openSUSE:Factory/.python-ipympl.new.2275/python-ipympl.changes 2022-10-12 18:24:59.837710309 +0200 @@ -1,0 +2,46 @@ +Sun Oct 9 17:30:00 UTC 2022 - Arun Persaud + +- specfile: + * update download path and name of full example + * update required matplotlib version + +- update to version 0.9.2: + * Maintenance ++ Remove unused 'close' arg to show(). by @anntzer in #466 ++ Move draw_if_interactive logic to + new_figure_manager_given_figure. by @anntzer in #468 ++ Add bot for updating galata screenshots by @martinRenou in #484 ++ Add support for ipywidgets 8 by @ianhi in #461 + +- changes from version 0.9.1: + * Fix issue with widget versioning that prevented ipympl to work in +Voila, nbsphinx and vscode + * update release instructions by @ianhi in #459 + +- changes from version 0.9.0: + * Bump url-parse from 1.5.3 to 1.5.7 by @dependabot in #433 + * Create docs by @ianhi in #434 + * remove linting from tests - now in precommit by @ianhi in #444 + * fixed example notebook filepath by @lento234 in #445 + * update binder bot link by @ianhi in #447 + * support double click events by @ianhi in #446 + * use new matplotlib nightly wheel in tests by @ianhi in #449 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #452 + * add docs to readme by @ianhi in #453 + * Add model version separate from package version by @ianhi in #448 + +- changes from version 0.8.8: + * fix toolbar for mpl>3.6 by @ianhi in #428 + +- changes from version 0.8.7: + * Remove centering of plot on firefox by @ianhi in #421 + * Fix CI by @martinRenou in #423 + +- changes from version 0.8.6: + * Use Retrolab on Binder by @martinRenou in #414 + * Allow ipython-8.0 by @stonebig in #418 + +- changes from version 0.8.5: + * Fix package dependencies by @martinRenou in #410 + +--- Old: ipympl-0.8.4-py2.py3-none-any.whl ipympl.ipynb New: full-example.ipynb ipympl-0.9.2-py2.py3-none-any.whl Other differences: -- ++ python-ipympl.spec ++ --- /var/tmp/diff_new_pack.ZeXzgc/_old 2022-10-12 18:25:02.205716225 +0200 +++ /var/tmp/diff_new_pack.ZeXzgc/_new 2022-10-12 18:25:02.209716235 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-ipympl # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 %define skip_python36 1 -%define pyver 0.8.4 +%define pyver 0.9.2 %define jsver 0.10.4 %bcond_with test Name: python-ipympl @@ -30,11 +30,11 @@ Group: Development/Languages/Python URL:https://github.com/matplotlib/ipympl Source0: https://files.pythonhosted.org/packages/py2.py3/i/ipympl/ipympl-%{pyver}-py2.py3-none-any.whl -Source1: https://raw.githubusercontent.com/matplotlib/ipympl/%{pyver}/examples/ipympl.ipynb +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 >= 2.0.0} +BuildRequires: %{python_module matplotlib >= 3.4.0} BuildRequires: %{python_module matplotlib-web} BuildRequires: %{python_module nbval} BuildRequires: %{python_module pip} @@ -44,12 +44,12 @@ BuildRequires: unzip Requires: python-ipykernel >= 4.7 Requires: python-ipywidgets >= 7.6.0 -Requires: python-matplotlib >= 2.0.0 +Requires: python-matplotlib >= 3.4.0 Requires: python-matplotlib-web -Provides: python-jupyter_ipympl = %{pyver} -Obsoletes: python-jupyter_ipympl < %{pyver} Suggests: python-jupyterlab Suggests: python-notebook +Provides: python-jupyter_ipympl = %{pyver} +Obsoletes: python-jupyter_ipympl < %{pyver} BuildArch: noarch %python_subpackages @@ -105,7 +105,7 @@ cp
commit python-ipympl for openSUSE:Factory
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 2021-12-24 23:38:48 Comparing /work/SRC/openSUSE:Factory/python-ipympl (Old) and /work/SRC/openSUSE:Factory/.python-ipympl.new.2520 (New) Package is "python-ipympl" Fri Dec 24 23:38:48 2021 rev:8 rq:942376 version:unknown Changes: --- /work/SRC/openSUSE:Factory/python-ipympl/python-ipympl.changes 2021-03-02 12:46:39.144417537 +0100 +++ /work/SRC/openSUSE:Factory/.python-ipympl.new.2520/python-ipympl.changes 2021-12-24 23:38:49.896776615 +0100 @@ -1,0 +2,34 @@ +Fri Dec 24 21:39:45 UTC 2021 - Ben Greiner + +- Update to v0.8.4 w/ jupyter-matplotlib v0.10.4 + * Try fixing the automatic release CI job by @martinRenou in #408 + * Improve toolbar positioning by @martinRenou in #407 +- Release 0.8.3 + * Update CI badge for github actions by @ianhi in #384 + * Add configurable throttling for pan_zoom by @martinRenou in +#393 + * Webpack: Remove docs build by @martinRenou in #394 + * Slow down pre-commit autoupdates by @ianhi in #398 + * Fix nbconvert pdf export by @martinRenou in #404 + * Refactor image embedding logic and fix nbconvert HTML export by +@martinRenou in #406 + * Refactor toolbar by @martinRenou in #396 +- Release 0.8.2 + * Fix issue with Pyolite workaround #382 +- Release 0.8.1 + * Save plot image in the Widget model #376 + * Mock Tornado for JupyterLite #381 + * Fix DPI for static image #380 + * Improve rubberband #371 + * Pre-commit setup #362 + * Bug fixes: + * Fix import when not in IPython context #364 +- Release 0.8.0 + * ipympl now saves the static plot image in the Notebook #343 + * jupyter-matplotlib has switched to TypeScript #314 +- Release 0.7.0 + * Added support improved keyhandling in matplotlib 3.4 #310 +(@tacaswell) + * Update the integration with ipython #305 (@ianhi) + +--- Old: ipympl-0.6.3-py2.py3-none-any.whl New: ipympl-0.8.4-py2.py3-none-any.whl Other differences: -- ++ python-ipympl.spec ++ --- /var/tmp/diff_new_pack.fmCR8O/_old 2021-12-24 23:38:50.656777105 +0100 +++ /var/tmp/diff_new_pack.fmCR8O/_new 2021-12-24 23:38:50.660777108 +0100 @@ -19,18 +19,18 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 %define skip_python36 1 -%define labver 0.8.3 -%define mainver 0.6.3 +%define pyver 0.8.4 +%define jsver 0.10.4 %bcond_with test Name: python-ipympl -Version:%{mainver} +Version:%{pyver} Release:0 Summary:Matplotlib Jupyter Extension License:BSD-3-Clause Group: Development/Languages/Python URL:https://github.com/matplotlib/ipympl -Source0: https://files.pythonhosted.org/packages/py2.py3/i/ipympl/ipympl-%{mainver}-py2.py3-none-any.whl -Source1: https://raw.githubusercontent.com/matplotlib/ipympl/master/examples/ipympl.ipynb +Source0: https://files.pythonhosted.org/packages/py2.py3/i/ipympl/ipympl-%{pyver}-py2.py3-none-any.whl +Source1: https://raw.githubusercontent.com/matplotlib/ipympl/%{pyver}/examples/ipympl.ipynb BuildRequires: %{python_module Pillow} BuildRequires: %{python_module ipykernel >= 4.7} BuildRequires: %{python_module ipywidgets >= 7.6.0} @@ -46,9 +46,8 @@ Requires: python-ipywidgets >= 7.6.0 Requires: python-matplotlib >= 2.0.0 Requires: python-matplotlib-web -Provides: python-jupyter_ipympl = %{mainver} -Obsoletes: python-jupyter_ipympl < %{mainver} -Provides: jupyter-ipympl = %{mainver} +Provides: python-jupyter_ipympl = %{pyver} +Obsoletes: python-jupyter_ipympl < %{pyver} Suggests: python-jupyterlab Suggests: python-notebook BuildArch: noarch @@ -59,34 +58,39 @@ This package provides the python interface. -%package -n jupyter-ipympl +%package -n jupyter-matplotlib +Version:%{jsver} Summary:Matplotlib Jupyter Extension Group: Development/Languages/Python Requires: jupyter-notebook -Requires: python3-ipympl = %{mainver} +Requires: python3-ipympl = %{pyver} +Provides: jupyter-ipympl = %{jsver} +Obsoletes: jupyter-ipympl < %{jsver} -%description -n jupyter-ipympl +%description -n jupyter-matplotlib Jupyter extension to display matplotlib plots in a widget. This package provides the jupyter notebook extension. -%package -n jupyter-ipympl-jupyterlab -Version:%{labver} +%package -n jupyter-matplotlib-jupyterlab +Version:%{jsver} Release:0 Summary:Matplotlib JupyterLab Extension
commit python-ipympl for openSUSE:Factory
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 2021-03-02 12:35:04 Comparing /work/SRC/openSUSE:Factory/python-ipympl (Old) and /work/SRC/openSUSE:Factory/.python-ipympl.new.2378 (New) Package is "python-ipympl" Tue Mar 2 12:35:04 2021 rev:7 rq:875985 version:unknown Changes: --- /work/SRC/openSUSE:Factory/python-ipympl/python-ipympl.changes 2020-09-21 17:45:21.701022627 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipympl.new.2378/python-ipympl.changes 2021-03-02 12:46:39.144417537 +0100 @@ -1,0 +2,19 @@ +Mon Mar 1 10:06:28 UTC 2021 - Ben Greiner + +- Remove unused tarball source + +--- +Fri Feb 26 22:09:01 UTC 2021 - Ben Greiner + +- Update to v0.6.3 w/ labextension v0.8.3 + * Fix JupyterLab 2 support #296 + * Fix plt.pause() behaviour #291 +- Release 0.6.0 + * Add support for JupyterLab 3 +- Use the Wheel as it bundles the js stuff. +- Enable test with example notebook and pytest --nbval +- No requirement on jupyterlab or notebook: The user can decide + how to use this widget with either or. +- Skip python36 build: python36-matplotlib is not available in TW + +--- Old: ipympl-0.5.8.tar.gz New: ipympl-0.6.3-py2.py3-none-any.whl ipympl.ipynb Other differences: -- ++ python-ipympl.spec ++ --- /var/tmp/diff_new_pack.zJIDZL/_old 2021-03-02 12:46:39.632417959 +0100 +++ /var/tmp/diff_new_pack.zJIDZL/_new 2021-03-02 12:46:39.636417962 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ipympl # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,11 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define labver 0.7.4 -%define mainver 0.5.8 +%define skip_python36 1 +%define labver 0.8.3 +%define mainver 0.6.3 %bcond_with test Name: python-ipympl Version:%{mainver} @@ -28,24 +29,28 @@ License:BSD-3-Clause Group: Development/Languages/Python URL:https://github.com/matplotlib/ipympl -Source: https://files.pythonhosted.org/packages/source/i/ipympl/ipympl-%{mainver}.tar.gz -BuildRequires: %{python_module ipykernel} -BuildRequires: %{python_module ipython} -BuildRequires: %{python_module ipywidgets >= 7.5.0} +Source0: https://files.pythonhosted.org/packages/py2.py3/i/ipympl/ipympl-%{mainver}-py2.py3-none-any.whl +Source1: https://raw.githubusercontent.com/matplotlib/ipympl/master/examples/ipympl.ipynb +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module ipykernel >= 4.7} +BuildRequires: %{python_module ipywidgets >= 7.6.0} BuildRequires: %{python_module matplotlib >= 2.0.0} -BuildRequires: %{python_module notebook} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module matplotlib-web} +BuildRequires: %{python_module nbval} +BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: jupyter-jupyterlab-filesystem -BuildRequires: npm BuildRequires: python-rpm-macros +BuildRequires: unzip Requires: python-ipykernel >= 4.7 -Requires: python-ipython -Requires: python-ipywidgets >= 7.5.0 +Requires: python-ipywidgets >= 7.6.0 Requires: python-matplotlib >= 2.0.0 +Requires: python-matplotlib-web Provides: python-jupyter_ipympl = %{mainver} Obsoletes: python-jupyter_ipympl < %{mainver} Provides: jupyter-ipympl = %{mainver} +Suggests: python-jupyterlab +Suggests: python-notebook BuildArch: noarch %python_subpackages @@ -80,35 +85,37 @@ This package provides the JupyterLab extension. -After installation you must run: -jupyter labextension install @jupyter-widgets/jupyterlab-manager - %prep -%setup -q -n ipympl-%{mainver} +%setup -q -c ipympl-%{mainver} -D -T +%python_expand mkdir -p build; cp %{SOURCE0} build/ +cp %{SOURCE1} . %build -%python_build +: %install -%python_install - +%pyproject_install %jupyter_move_config %python_expand %fdupes %{buildroot}%{$python_sitelib} %fdupes %{buildroot}%{_jupyter_prefix} +cp %{buildroot}%{python3_sitelib}/ipympl-%{mainver}.dist-info/LICENSE . + +%check +%pytest --nbval ipympl.ipynb %files %{python_files} %license LICENSE %{python_sitelib}/ipympl/ -%{python_sitelib}/ipympl-%{mainver}-py*.egg-info