1
0

Accepting request 1116519 from devel:languages:python:jupyter

- Update to 7.9.2
  * Restore ResourcesDict to the public API #2055 (@blink1073)
- Release 7.9.1
  * Include tests in sdist #2053 (@blink1073)
- Release 7.9.0
  * Update to mermaidjs 10.5.0 #2051 (@bollwyvl)
  * Update typing for traitlets 5.11 #2050 (@blink1073)
  * Fixup typings #2048 (@blink1073)

OBS-URL: https://build.opensuse.org/request/show/1116519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbconvert?expand=0&rev=28
This commit is contained in:
Ana Guerrero 2023-10-10 19:00:22 +00:00 committed by Git OBS Bridge
commit 3768bbf747
4 changed files with 22 additions and 8 deletions

View File

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

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

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 9 18:11:53 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 7.9.2
* Restore ResourcesDict to the public API #2055 (@blink1073)
- Release 7.9.1
* Include tests in sdist #2053 (@blink1073)
- Release 7.9.0
* Update to mermaidjs 10.5.0 #2051 (@bollwyvl)
* Update typing for traitlets 5.11 #2050 (@blink1073)
* Fixup typings #2048 (@blink1073)
-------------------------------------------------------------------
Sun Sep 24 18:09:21 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -30,9 +30,9 @@
%bcond_with libalternatives
%endif
# X.X.0 gets abbreviated by pythondistdeps
%define shortversion 7.8
%define shortversion 7.9.2
Name: python-nbconvert%{psuffix}
Version: 7.8.0
Version: 7.9.2
Release: 0
Summary: Conversion of Jupyter Notebooks
License: BSD-3-Clause AND MIT
@ -128,7 +128,7 @@ for f in nbconvert/nbconvertapp.py nbconvert/filters/filter_links.py; do
sed -i -e '/^#!\//, 1d' $f
chmod -x $f
done
sed -i '/addopts/ s/--color=yes//' pyproject.toml
sed -i '/addopts/,/\]/ s/"--color=yes",//' pyproject.toml
%build
%if ! %{with test}
@ -150,9 +150,11 @@ 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"
%{python_expand # installed package in :test flavor
# mv the source out of PYTHONPATH
mv nbconvert nbconvert.moved
%{python_expand #
$python -m ipykernel.kernelspec --user
pytest-%{$python_bin_suffix} -v -m 'not network' -k "not ($donttest)" --pyargs nbconvert
pytest-%{$python_bin_suffix} -v -m 'not network' -k "not ($donttest)"
}
%endif