diff --git a/fix-py3.7-unicode-in-rawstring.patch b/fix-py3.7-unicode-in-rawstring.patch deleted file mode 100644 index c9fe384..0000000 --- a/fix-py3.7-unicode-in-rawstring.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: ipywidgets-7.4.2/ipywidgets/embed.py -=================================================================== ---- ipywidgets-7.4.2.orig/ipywidgets/embed.py -+++ ipywidgets-7.4.2/ipywidgets/embed.py -@@ -238,7 +238,7 @@ def escape_script(s): - We only replace these three cases so that most html or other content - involving `<` is readable. - """ -- return script_escape_re.sub(r'\u003c\1', s) -+ return script_escape_re.sub('\\\\u003c\\1', s) - - @doc_subst(_doc_snippets) - def embed_snippet(views, diff --git a/ipywidgets-7.4.2.tar.gz b/ipywidgets-7.4.2.tar.gz deleted file mode 100644 index b7b0632..0000000 --- a/ipywidgets-7.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a3e224f430163f767047ab9a042fc55adbcab0c24bbe6cf9f306c4f89fdf0ba3 -size 4114472 diff --git a/ipywidgets-7.5.0.tar.gz b/ipywidgets-7.5.0.tar.gz new file mode 100644 index 0000000..bd8618f --- /dev/null +++ b/ipywidgets-7.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb263c6974aca902d00a435711823bb4aaf6614a5f997f517e15fa84151e8fa2 +size 5657273 diff --git a/ipywidgets.pdf b/ipywidgets.pdf index e56fdb9..f3f8df2 100644 --- a/ipywidgets.pdf +++ b/ipywidgets.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a7b4cb9cb29030df401e7937fa9991b2812da40c3f89c9a409f225f73fea93c8 -size 437401 +oid sha256:cdef7ae4e8a0b30085e9ec57ebc7a3b13a0167358849527f701ba4b9a4f43395 +size 1098615 diff --git a/ipywidgets.zip b/ipywidgets.zip index f9a7f57..a46bd5c 100644 --- a/ipywidgets.zip +++ b/ipywidgets.zip @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bacd8edd1527f4923d781fd23ae4d23f134c3d90e29096f14b1d09127b00d1f8 -size 9435220 +oid sha256:715cce85c12415d4afa1eff2f00cb296f10164936ab5564e4664aaf3b1684f05 +size 13497609 diff --git a/python-ipywidgets.changes b/python-ipywidgets.changes index 23ebd15..54481f8 100644 --- a/python-ipywidgets.changes +++ b/python-ipywidgets.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Jul 27 03:30:24 UTC 2019 - Todd R + +- Update to 7.5.0 + * New `AppLayout` and `GridLayout` templates for positioning interactive widgets. + * New `FileUpload` widget allowing users to upload files from the browser. + * New `ComboBox` widget. + * JupyterLab CSS variables are now exposed by default even in the case of the classic notebook. +- Remove upstream-included fix-py3.7-unicode-in-rawstring.patch + ------------------------------------------------------------------- Tue May 14 15:53:19 UTC 2019 - Todd R diff --git a/python-ipywidgets.spec b/python-ipywidgets.spec index 39c07c1..679cc32 100644 --- a/python-ipywidgets.spec +++ b/python-ipywidgets.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ipywidgets -Version: 7.4.2 +Version: 7.5.0 Release: 0 Summary: IPython HTML widgets for Jupyter License: BSD-3-Clause @@ -28,7 +28,6 @@ Source0: https://files.pythonhosted.org/packages/source/i/ipywidgets/ipyw # Please make sure you update the documentation files at every release Source1: https://media.readthedocs.org/pdf/ipywidgets/stable/ipywidgets.pdf Source2: https://media.readthedocs.org/htmlzip/ipywidgets/stable/ipywidgets.zip -Patch0: fix-py3.7-unicode-in-rawstring.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -44,15 +43,16 @@ BuildArch: noarch BuildRequires: %{python_module ipykernel >= 4.5.1} BuildRequires: %{python_module ipython >= 4} BuildRequires: %{python_module jsonschema} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module nbformat >= 4.2.0} BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pickleshare} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest >= 3.6.0} +BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module recommonmark} BuildRequires: %{python_module traitlets >= 4.3.1} BuildRequires: python-mock # /SECTION -Recommends: jupyter-widgetsnbextension >= 3.0.0 +Recommends: jupyter-widgetsnbextension >= 3.5.0 %ifpython3 Provides: jupyter-ipywidgets = %{version} %endif @@ -71,7 +71,6 @@ Documentation and help files for python-jupyter_ipywidgets. %prep %setup -q -n ipywidgets-%{version} -%patch0 -p1 cp %{SOURCE1} . unzip %{SOURCE2} -d docs mv docs/ipywidgets-* docs/html @@ -85,11 +84,7 @@ rm docs/html/.buildinfo %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -pushd docs -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} -nosetests-%{$python_bin_suffix} ipywidgets -} -popd +%pytest %files %{python_files} %doc README.md