1
0

Accepting request 994560 from devel:languages:python:jupyter

OBS-URL: https://build.opensuse.org/request/show/994560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbconvert?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2022-08-11 16:33:01 +00:00 committed by Git OBS Bridge
commit f6b5dc31f5
6 changed files with 51 additions and 16 deletions

View File

@ -1,11 +1,10 @@
Index: nbconvert-6.5.0/pyproject.toml
Index: nbconvert-6.5.3/pyproject.toml
===================================================================
--- nbconvert-6.5.0.orig/pyproject.toml
+++ nbconvert-6.5.0/pyproject.toml
@@ -21,5 +21,5 @@ filterwarnings = [
--- nbconvert-6.5.3.orig/pyproject.toml
+++ nbconvert-6.5.3/pyproject.toml
@@ -21,4 +21,5 @@ filterwarnings = [
"ignore:unclosed <socket.socket:ResourceWarning",
"ignore:unclosed event loop:ResourceWarning",
"ignore:There is no current event loop:DeprecationWarning",
-
+ "ignore:Support for bleach <5 will be removed in a future version of nbconvert:DeprecationWarning",
]

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:223e46e27abe8596b8aed54301fadbba433b7ffea8196a68fd7b1ff509eee99d
size 908377

3
nbconvert-6.5.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10ed693c4cfd3c63583c87ca5c3a2f6ed874145103595f3824efcc8dfcb7522c
size 910597

View File

@ -1,7 +1,7 @@
Index: nbconvert-6.5.0/nbconvert/filters/markdown_mistune.py
Index: nbconvert-6.5.3/nbconvert/filters/markdown_mistune.py
===================================================================
--- nbconvert-6.5.0.orig/nbconvert/filters/markdown_mistune.py
+++ nbconvert-6.5.0/nbconvert/filters/markdown_mistune.py
--- nbconvert-6.5.3.orig/nbconvert/filters/markdown_mistune.py
+++ nbconvert-6.5.3/nbconvert/filters/markdown_mistune.py
@@ -21,7 +21,9 @@ except ImportError:
from cgi import escape as html_escape
@ -13,10 +13,10 @@ Index: nbconvert-6.5.0/nbconvert/filters/markdown_mistune.py
from pygments import highlight
from pygments.formatters import HtmlFormatter
from pygments.lexers import get_lexer_by_name
Index: nbconvert-6.5.0/setup.py
Index: nbconvert-6.5.3/setup.py
===================================================================
--- nbconvert-6.5.0.orig/setup.py
+++ nbconvert-6.5.0/setup.py
--- nbconvert-6.5.3.orig/setup.py
+++ nbconvert-6.5.3/setup.py
@@ -245,7 +245,6 @@ setup_args["install_requires"] = [
"jupyter_core>=4.7",
"jupyterlab_pygments",

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Thu Aug 11 14:01:34 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile
* remove skip python 2, since we require python >= 3.7 anyway
* updates patches
* require lxml
- update to version 6.5.3:
* Fix title (#1833)
- changes from version 6.5.2:
* escape_html: prevent escaping quotes on widgets JSON reprs (#1829)
* Fix linters (#1828)
* pre-commit-ci[bot] authored and SylvainCorlay committed 2 days ago
* Remove downloaded CSS from repository
- changes from version 6.5.1:
* Fix pre-commit
* Fix tests
* Run black and prettier
* Run test on 6.x branch
* Convert input to string prior to escape HTML
* Check input type before escaping
* GHSL-2021-1017, GHSL-2021-1020, GHSL-2021-1021
* GHSL-2021-1026, GHSL-2021-1025
* GHSL-2021-1024
* GHSL-2021-1023
* GHSL-2021-1022
* GHSL-2021-1019
* GHSL-2021-1018
* GHSL-2021-1027, GHSL-2021-1028
* GHSL-2021-1014, GHSL-2021-1015, GHSL-2021-1016
* GHSL-2021-1013
-------------------------------------------------------------------
Sun Jun 5 11:29:55 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -30,9 +30,8 @@
%bcond_with libalternatives
%endif
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-nbconvert%{psuffix}
Version: 6.5.0
Version: 6.5.3
Release: 0
Summary: Conversion of Jupyter Notebooks
License: BSD-3-Clause
@ -46,6 +45,7 @@ Patch1: nbconvert-vendorize-mistune.patch
Patch2: ignore-bleach-deprecation-test.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@ -61,6 +61,7 @@ Requires: python-defusedxml
Requires: python-entrypoints >= 0.2.2
Requires: python-jupyter-core >= 4.7
Requires: python-jupyterlab-pygments
Requires: python-lxml
Requires: python-nbclient >= 0.5
Requires: python-nbformat >= 5.1
Requires: python-packaging