forked from pool/python-nbconvert
- 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/package/show/devel:languages:python:jupyter/python-nbconvert?expand=0&rev=73
This commit is contained in:
parent
317592f914
commit
a3acf94558
@ -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
3
nbconvert-7.9.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e56cc7588acc4f93e2bb5a34ec69028e4941797b2bfaf6462f18a41d1cc258c9
|
||||||
|
size 850333
|
@ -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>
|
Sun Sep 24 18:09:21 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -30,9 +30,9 @@
|
|||||||
%bcond_with libalternatives
|
%bcond_with libalternatives
|
||||||
%endif
|
%endif
|
||||||
# X.X.0 gets abbreviated by pythondistdeps
|
# X.X.0 gets abbreviated by pythondistdeps
|
||||||
%define shortversion 7.8
|
%define shortversion 7.9.2
|
||||||
Name: python-nbconvert%{psuffix}
|
Name: python-nbconvert%{psuffix}
|
||||||
Version: 7.8.0
|
Version: 7.9.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Conversion of Jupyter Notebooks
|
Summary: Conversion of Jupyter Notebooks
|
||||||
License: BSD-3-Clause AND MIT
|
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
|
sed -i -e '/^#!\//, 1d' $f
|
||||||
chmod -x $f
|
chmod -x $f
|
||||||
done
|
done
|
||||||
sed -i '/addopts/ s/--color=yes//' pyproject.toml
|
sed -i '/addopts/,/\]/ s/"--color=yes",//' pyproject.toml
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
@ -150,9 +150,11 @@ export LANG=en_US.UTF-8
|
|||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
# requires modules not installed: https://github.com/jupyter/nbconvert/issues/1846
|
# requires modules not installed: https://github.com/jupyter/nbconvert/issues/1846
|
||||||
donttest="test_convert_full_qualified_name or test_post_processor"
|
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
|
$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
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user