Accepting request 719434 from home:TheBlackCat:branches:devel:languages:python:jupyter
- 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 OBS-URL: https://build.opensuse.org/request/show/719434 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipywidgets?expand=0&rev=8
This commit is contained in:
parent
873540f94f
commit
4554252126
@ -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,
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3e224f430163f767047ab9a042fc55adbcab0c24bbe6cf9f306c4f89fdf0ba3
|
||||
size 4114472
|
3
ipywidgets-7.5.0.tar.gz
Normal file
3
ipywidgets-7.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb263c6974aca902d00a435711823bb4aaf6614a5f997f517e15fa84151e8fa2
|
||||
size 5657273
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a7b4cb9cb29030df401e7937fa9991b2812da40c3f89c9a409f225f73fea93c8
|
||||
size 437401
|
||||
oid sha256:cdef7ae4e8a0b30085e9ec57ebc7a3b13a0167358849527f701ba4b9a4f43395
|
||||
size 1098615
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bacd8edd1527f4923d781fd23ae4d23f134c3d90e29096f14b1d09127b00d1f8
|
||||
size 9435220
|
||||
oid sha256:715cce85c12415d4afa1eff2f00cb296f10164936ab5564e4664aaf3b1684f05
|
||||
size 13497609
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 27 03:30:24 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- 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 <toddrme2178@gmail.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user