Hello community,

here is the log from the commit of package python-jupyter_ipywidgets for 
openSUSE:Factory checked in at 2019-02-06 14:07:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipywidgets (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_ipywidgets.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_ipywidgets"

Wed Feb  6 14:07:52 2019 rev:17 rq:671957 version:7.4.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_ipywidgets/python-jupyter_ipywidgets.changes
      2018-09-19 14:33:30.211297867 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_ipywidgets.new.28833/python-jupyter_ipywidgets.changes
   2019-02-06 14:07:53.550644045 +0100
@@ -1,0 +2,5 @@
+Tue Feb  5 12:52:46 UTC 2019 - Antonio Larrosa <[email protected]>
+
+- Add fix-py3.7-unicode-in-rawstring.patch to fix building with python3.7
+
+-------------------------------------------------------------------

New:
----
  fix-py3.7-unicode-in-rawstring.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jupyter_ipywidgets.spec ++++++
--- /var/tmp/diff_new_pack.RBqmzF/_old  2019-02-06 14:07:54.294643908 +0100
+++ /var/tmp/diff_new_pack.RBqmzF/_new  2019-02-06 14:07:54.298643907 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_ipywidgets
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@
 # 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
@@ -64,6 +65,7 @@
 
 %prep
 %setup -q -n ipywidgets-%{version}
+%patch0 -p1
 cp %{SOURCE1} .
 unzip %{SOURCE2} -d docs
 mv docs/ipywidgets-* docs/html

++++++ fix-py3.7-unicode-in-rawstring.patch ++++++
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,


Reply via email to