Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyterlab-pygments for
openSUSE:Factory checked in at 2023-02-03 22:05:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyterlab-pygments (Old)
and /work/SRC/openSUSE:Factory/.python-jupyterlab-pygments.new.4462 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyterlab-pygments"
Fri Feb 3 22:05:35 2023 rev:8 rq:1062691 version:0.2.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyterlab-pygments/python-jupyterlab-pygments.changes
2022-12-25 15:15:30.585596137 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyterlab-pygments.new.4462/python-jupyterlab-pygments.changes
2023-02-03 22:16:12.231110000 +0100
@@ -1,0 +2,6 @@
+Thu Feb 2 17:16:28 UTC 2023 - Ben Greiner <[email protected]>
+
+- Modify Example.ipynb because nbval 0.10 abolished saving the
+ input history
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyterlab-pygments.spec ++++++
--- /var/tmp/diff_new_pack.CHFRfl/_old 2023-02-03 22:16:12.615112230 +0100
+++ /var/tmp/diff_new_pack.CHFRfl/_new 2023-02-03 22:16:12.619112254 +0100
@@ -1,7 +1,7 @@
#
# spec file
#
-# 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
@@ -33,7 +33,8 @@
Group: Development/Languages/Python
URL: https://github.com/jupyterlab/jupyterlab_pygments
Source:
https://files.pythonhosted.org/packages/py2.py3/j/jupyterlab-pygments/jupyterlab_pygments-%{version}-py2.py3-none-any.whl
-Source1:
https://raw.githubusercontent.com/jupyterlab/jupyterlab_pygments/%{version}/notebooks/Example.ipynb
+# Slightly modified from
https://github.com/jupyterlab/jupyterlab_pygments/blob/0.2.2/notebooks/Example.ipynb
+Source1: Example.ipynb
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
++++++ Example.ipynb ++++++
--- /var/tmp/diff_new_pack.CHFRfl/_old 2023-02-03 22:16:12.655112463 +0100
+++ /var/tmp/diff_new_pack.CHFRfl/_new 2023-02-03 22:16:12.659112486 +0100
@@ -18,6 +18,7 @@
"metadata": {},
"outputs": [],
"source": [
+ "mycode = \"\"\"\n",
"class PythonCode:\n",
" def __init__(self, value):\n",
" self.value = value\n",
@@ -25,7 +26,9 @@
" def _repr_html_(self, **kwargs):\n",
" formatter = HtmlFormatter(style=JupyterStyle)\n",
" html = highlight(self.value, PythonLexer(), formatter)\n",
- " return f'<div class=\"highlight\">{html}</div>'"
+ " return f'<div class=\"highlight\">{html}</div>'\n",
+ "\"\"\"\n",
+ "exec(mycode)"
]
},
{
@@ -41,7 +44,7 @@
"metadata": {},
"outputs": [],
"source": [
- "PythonCode(In[2])"
+ "PythonCode(mycode)"
]
}
],