Hello community,

here is the log from the commit of package python-jupyter_nbsphinx for 
openSUSE:Factory checked in at 2018-10-01 08:18:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_nbsphinx (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_nbsphinx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_nbsphinx"

Mon Oct  1 08:18:55 2018 rev:9 rq:638896 version:0.3.5

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_nbsphinx/python-jupyter_nbsphinx.changes
  2018-09-15 15:35:17.945022521 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_nbsphinx.new/python-jupyter_nbsphinx.changes
     2018-10-01 08:18:56.193909621 +0200
@@ -1,0 +2,6 @@
+Fri Sep 28 02:52:48 UTC 2018 - Todd R <[email protected]>
+
+- Update to 0.3.5
+  * Disable nbconvert version 5.4 to avoid jupyter/nbconvert#878
+
+-------------------------------------------------------------------

Old:
----
  nbsphinx-0.3.4.tar.gz

New:
----
  nbsphinx-0.3.5.tar.gz

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

Other differences:
------------------
++++++ python-jupyter_nbsphinx.spec ++++++
--- /var/tmp/diff_new_pack.nqWEaL/_old  2018-10-01 08:18:56.613909353 +0200
+++ /var/tmp/diff_new_pack.nqWEaL/_new  2018-10-01 08:18:56.613909353 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jupyter_nbsphinx
-Version:        0.3.4
+Version:        0.3.5
 Release:        0
 Summary:        Jupyter Notebook Tools for Sphinx
 License:        MIT
@@ -27,7 +27,6 @@
 Source:         
https://files.pythonhosted.org/packages/source/n/nbsphinx/nbsphinx-%{version}.tar.gz
 BuildRequires:  %{python_module Send2Trash}
 BuildRequires:  %{python_module Sphinx >= 1.3.2}
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module docutils}
 BuildRequires:  %{python_module jupyter_notebook}
 BuildRequires:  %{python_module py}

++++++ nbsphinx-0.3.4.tar.gz -> nbsphinx-0.3.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.3.4/NEWS.rst new/nbsphinx-0.3.5/NEWS.rst
--- old/nbsphinx-0.3.4/NEWS.rst 2018-07-28 16:05:03.000000000 +0200
+++ new/nbsphinx-0.3.5/NEWS.rst 2018-09-10 11:02:00.000000000 +0200
@@ -1,3 +1,7 @@
+Version 0.3.5 (2018-09-10):
+ * Disable ``nbconvert`` version 5.4 to avoid
+   `issue #878 <https://github.com/jupyter/nbconvert/issues/878>`__
+
 Version 0.3.4 (2018-07-28):
  * Fix issue #196 and other minor changes
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.3.4/PKG-INFO new/nbsphinx-0.3.5/PKG-INFO
--- old/nbsphinx-0.3.4/PKG-INFO 2018-07-28 16:07:53.000000000 +0200
+++ new/nbsphinx-0.3.5/PKG-INFO 2018-09-10 11:04:00.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: nbsphinx
-Version: 0.3.4
+Version: 0.3.5
 Summary: Jupyter Notebook Tools for Sphinx
 Home-page: UNKNOWN
 Author: Matthias Geier
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.3.4/doc/installation.ipynb 
new/nbsphinx-0.3.5/doc/installation.ipynb
--- old/nbsphinx-0.3.4/doc/installation.ipynb   2018-07-17 12:17:50.000000000 
+0200
+++ new/nbsphinx-0.3.5/doc/installation.ipynb   2018-09-09 12:41:48.000000000 
+0200
@@ -29,7 +29,7 @@
     "\n",
     "If you are using Linux, there are packages available for many 
distributions.\n",
     "\n",
-    "[![Packaging 
status](https://repology.org/badge/vertical-allrepos/python:nbsphinx.svg)](https://repology.org/metapackage/python:nbsphinx)\n",
+    "[![Packaging 
status](https://repology.org/badge/vertical-allrepos/python:nbsphinx.svg)](https://repology.org/metapackage/python:nbsphinx/versions)\n",
     "\n",
     "[![PyPI 
version](https://badge.fury.io/py/nbsphinx.svg)](https://pypi.org/project/nbsphinx)\n",
     "\n",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.3.4/doc/links.ipynb 
new/nbsphinx-0.3.5/doc/links.ipynb
--- old/nbsphinx-0.3.4/doc/links.ipynb  2018-07-13 20:57:45.000000000 +0200
+++ new/nbsphinx-0.3.5/doc/links.ipynb  2018-09-09 12:41:48.000000000 +0200
@@ -130,7 +130,7 @@
     "\n",
     "https://github.com/ipython/ipython/issues/4936\n";,
     "\n",
-    "https://mail.scipy.org/pipermail/ipython-user/2013-December/013490.html";
+    "`https://mail.scipy.org/pipermail/ipython-user/2013-December/013490.html` 
(not available anymore)"
    ]
   }
  ],
@@ -150,9 +150,9 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.6.4"
+   "version": "3.6.6+"
   }
  },
  "nbformat": 4,
- "nbformat_minor": 1
+ "nbformat_minor": 2
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.3.4/doc/requirements.txt 
new/nbsphinx-0.3.5/doc/requirements.txt
--- old/nbsphinx-0.3.4/doc/requirements.txt     2018-06-02 18:45:17.000000000 
+0200
+++ new/nbsphinx-0.3.5/doc/requirements.txt     2018-09-09 12:56:20.000000000 
+0200
@@ -1,3 +1,3 @@
 sphinx>=1.5.1
-nbsphinx
+nbconvert!=5.4
 ipykernel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.3.4/doc/usage.ipynb 
new/nbsphinx-0.3.5/doc/usage.ipynb
--- old/nbsphinx-0.3.4/doc/usage.ipynb  2018-07-17 12:17:50.000000000 +0200
+++ new/nbsphinx-0.3.5/doc/usage.ipynb  2018-09-08 10:48:53.000000000 +0200
@@ -325,10 +325,6 @@
     "  [example](http://nbsphinx.readthedocs.io/en/jupyter-theme/),\n",
     "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/jupyter-theme^...jupyter-theme)\n",
     "\n",
-    "* [jupyter-alabaster](http://jupyter-alabaster-theme.readthedocs.io/):\n",
-    "  
[example](http://nbsphinx.readthedocs.io/en/jupyter-alabaster-theme/),\n",
-    "  
[usage](https://github.com/spatialaudio/nbsphinx/compare/jupyter-alabaster-theme^...jupyter-alabaster-theme)\n",
-    "\n",
     "If you know of another Sphinx theme that should be included here, please 
open an [issue on Github](https://github.com/spatialaudio/nbsphinx/issues).\n",
     "An overview of many more themes can be found at 
https://sphinx-themes.org/.";
    ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.3.4/setup.py new/nbsphinx-0.3.5/setup.py
--- old/nbsphinx-0.3.4/setup.py 2018-07-13 20:57:45.000000000 +0200
+++ new/nbsphinx-0.3.5/setup.py 2018-09-09 12:56:20.000000000 +0200
@@ -15,7 +15,7 @@
     install_requires=[
         'docutils',
         'jinja2',
-        'nbconvert',
+        'nbconvert!=5.4',
         'traitlets',
         'nbformat',
         'sphinx>=1.3.2',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.3.4/src/nbsphinx.egg-info/PKG-INFO 
new/nbsphinx-0.3.5/src/nbsphinx.egg-info/PKG-INFO
--- old/nbsphinx-0.3.4/src/nbsphinx.egg-info/PKG-INFO   2018-07-28 
16:07:53.000000000 +0200
+++ new/nbsphinx-0.3.5/src/nbsphinx.egg-info/PKG-INFO   2018-09-10 
11:04:00.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: nbsphinx
-Version: 0.3.4
+Version: 0.3.5
 Summary: Jupyter Notebook Tools for Sphinx
 Home-page: UNKNOWN
 Author: Matthias Geier
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.3.4/src/nbsphinx.egg-info/requires.txt 
new/nbsphinx-0.3.5/src/nbsphinx.egg-info/requires.txt
--- old/nbsphinx-0.3.4/src/nbsphinx.egg-info/requires.txt       2018-07-28 
16:07:53.000000000 +0200
+++ new/nbsphinx-0.3.5/src/nbsphinx.egg-info/requires.txt       2018-09-10 
11:04:00.000000000 +0200
@@ -1,6 +1,6 @@
 docutils
 jinja2
-nbconvert
+nbconvert!=5.4
 traitlets
 nbformat
 sphinx>=1.3.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbsphinx-0.3.4/src/nbsphinx.py 
new/nbsphinx-0.3.5/src/nbsphinx.py
--- old/nbsphinx-0.3.4/src/nbsphinx.py  2018-07-28 16:01:02.000000000 +0200
+++ new/nbsphinx-0.3.5/src/nbsphinx.py  2018-09-10 10:59:46.000000000 +0200
@@ -23,7 +23,7 @@
 http://nbsphinx.readthedocs.io/
 
 """
-__version__ = '0.3.4'
+__version__ = '0.3.5'
 
 import copy
 import json
@@ -111,6 +111,7 @@
 
 {{ cell.source.strip('\n') | indent }}
 {%- endif %}
+..{# Empty comment to make sure the directive is closed #}
 {% endblock input %}
 
 
@@ -131,7 +132,7 @@
 {%- if datatype == 'text/plain' -%}
 {{ insert_empty_lines(output.data[datatype]) }}
 
-{{ output.data[datatype].strip(\n) | indent }}
+{{ output.data[datatype].strip('\n') | indent }}
 {%- elif datatype in ['image/svg+xml', 'image/png', 'image/jpeg', 
'application/pdf'] %}
 
     .. image:: {{ output.metadata.filenames[datatype] | posix_path }}
@@ -187,6 +188,7 @@
 
     .. nbwarning:: Data type cannot be displayed: {{ datatype }}
 {%- endif %}
+..{# Empty comment to make sure the directive is closed #}
 {% endmacro %}
 
 
@@ -531,8 +533,11 @@
         loader = jinja2.DictLoader({'nbsphinx-rst.tpl': RST_TEMPLATE})
         super(Exporter, self).__init__(
             template_file='nbsphinx-rst.tpl', extra_loaders=[loader],
-            config=traitlets.config.Config(
-                {'HighlightMagicsPreprocessor': {'enabled': True}}),
+            config=traitlets.config.Config({
+                'HighlightMagicsPreprocessor': {'enabled': True},
+                # Work around https://github.com/jupyter/nbconvert/issues/720:
+                'RegexRemovePreprocessor': {'enabled': False},
+            }),
             filters={
                 'convert_pandoc': convert_pandoc,
                 'markdown2rst': markdown2rst,


Reply via email to