forked from pool/python-nbconvert
Benjamin Greiner
9059646b58
- Revert to 6.0.7 * We can't have a newer version without traitlets 5. But we can't have traitlets 5 as long as python36 is active - Vendorize mistune 0.8.4 * Add nbconvert-vendorize-mistune.patch * gh#jupyter/nbconvert#1685 - Alternativize flavored entry-point. For 6.3: do it with dejavu OBS-URL: https://build.opensuse.org/request/show/943334 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbconvert?expand=0&rev=29
26 lines
825 B
Diff
26 lines
825 B
Diff
Index: nbconvert-6.0.7/nbconvert/filters/markdown_mistune.py
|
|
===================================================================
|
|
--- nbconvert-6.0.7.orig/nbconvert/filters/markdown_mistune.py
|
|
+++ nbconvert-6.0.7/nbconvert/filters/markdown_mistune.py
|
|
@@ -18,7 +18,7 @@ except ImportError:
|
|
# Python 2
|
|
from cgi import escape as html_escape
|
|
|
|
-import mistune
|
|
+from nbconvert.vendor import mistune
|
|
|
|
from pygments import highlight
|
|
from pygments.lexers import get_lexer_by_name
|
|
Index: nbconvert-6.0.7/setup.py
|
|
===================================================================
|
|
--- nbconvert-6.0.7.orig/setup.py
|
|
+++ nbconvert-6.0.7/setup.py
|
|
@@ -212,7 +212,6 @@ setup_args = dict(
|
|
)
|
|
|
|
setup_args['install_requires'] = [
|
|
- 'mistune>=0.8.1,<2',
|
|
'jinja2>=2.4',
|
|
'pygments>=2.4.1',
|
|
'jupyterlab_pygments',
|