1
0

Accepting request 1092410 from devel:languages:python:jupyter

OBS-URL: https://build.opensuse.org/request/show/1092410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbconvert?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2023-06-12 13:26:34 +00:00 committed by Git OBS Bridge
commit 8394b1d2d6
4 changed files with 19 additions and 11 deletions

BIN
nbconvert-7.3.1.tar.gz (Stored with Git LFS)

Binary file not shown.

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51b6c77b507b177b73f6729dba15676e42c4e92bcb00edc8cc982ee72e7d89d7
size 882064

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Jun 11 20:00:15 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 7.4.0
* Add ExtractAttachmentsPreprocessor #1978 (@tuncbkose)
* Moved ensure_dir_exists to FilesWriter #1987 (@tuncbkose)
* Tweak exporter default_config merging behavior #1981
(@tuncbkose)
* Revert unintended effects of #1966 #1974 (@tuncbkose)
-------------------------------------------------------------------
Mon May 1 19:09:03 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -29,8 +29,12 @@
%else
%bcond_with libalternatives
%endif
# avoid rewriting
%define python3dist python3dist
# 7.4.0 gets abbreviated by pythondistdeps
%define shortversion 7.4
Name: python-nbconvert%{psuffix}
Version: 7.3.1
Version: 7.4.0
Release: 0
Summary: Conversion of Jupyter Notebooks
License: BSD-3-Clause AND MIT
@ -51,7 +55,6 @@ Requires: python-bleach
Requires: python-defusedxml
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
@ -94,7 +97,7 @@ This package provides the python interface.
Summary: Conversion of Jupyter Notebooks
Requires: jupyter-ipykernel
Requires: jupyter-jupyter-core
Requires: python3-nbconvert = %{version}
Requires: %python3dist(nbconvert) = %{shortversion}
Conflicts: python3-jupyter_nbconvert < 5.5.0
%description -n jupyter-nbconvert
@ -111,9 +114,6 @@ Requires: texlive-makeindex
Requires: tex(adjustbox.sty)
Requires: tex(eurosym.sty)
Requires: tex(ulem.sty)
Provides: %{python_module jupyter_nbconvert-latex = %{version}}
Provides: %{python_module nbconvert-latex = %{version}}
Obsoletes: %{python_module jupyter_nbconvert-latex < %{version}}
%description -n jupyter-nbconvert-latex
The jupyter nbconvert package converts notebooks to various other formats
@ -149,8 +149,6 @@ export LANG=en_US.UTF-8
export PYTHONDONTWRITEBYTECODE=1
# requires modules not installed: https://github.com/jupyter/nbconvert/issues/1846
donttest="test_convert_full_qualified_name or test_post_processor"
# https://github.com/jupyter/nbconvert/pull/1985
donttest+=" or test_errors_print_traceback"
%{python_expand # installed package in :test flavor
$python -m ipykernel.kernelspec --user
pytest-%{$python_bin_suffix} -v -m 'not network' -k "not ($donttest)" --pyargs nbconvert