forked from pool/python-nbconvert
Accepting request 1045433 from home:bnavigator:branches:devel:languages:python:jupyter
- Update to 7.2.7 * Fix Hanging Tests on Linux #1924 (@blink1073) - Release 7.2.6 * Include all templates in sdist #1916 (@blink1073) - Release 7.2.5 * Fix for webpdf print margins #1907 (@JWock82) - Release 7.2.4 * Handle jupyter core warning #1905 (@blink1073) * Add Py-typed marker. #1898 (@Carreau) - Release 7.2.3 * clean_html: allow SVG tags and SVG attributes #1890 (@akx) OBS-URL: https://build.opensuse.org/request/show/1045433 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbconvert?expand=0&rev=47
This commit is contained in:
parent
91c1499f2b
commit
59ecdaa5a7
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:24acfaa466d2c9b7eb524800e4a45afbed862c5d058cfb30fc7aa24d448c95eb
|
||||
size 818074
|
3
nbconvert-7.2.7.tar.gz
Normal file
3
nbconvert-7.2.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b727b0503bf4e0ff3907c8bea030d3fc4015fbee8669ac6ac2a5a6668b49d5e
|
||||
size 867872
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 26 23:06:15 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 7.2.7
|
||||
* Fix Hanging Tests on Linux #1924 (@blink1073)
|
||||
- Release 7.2.6
|
||||
* Include all templates in sdist #1916 (@blink1073)
|
||||
- Release 7.2.5
|
||||
* Fix for webpdf print margins #1907 (@JWock82)
|
||||
- Release 7.2.4
|
||||
* Handle jupyter core warning #1905 (@blink1073)
|
||||
* Add Py-typed marker. #1898 (@Carreau)
|
||||
- Release 7.2.3
|
||||
* clean_html: allow SVG tags and SVG attributes #1890 (@akx)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 26 10:41:45 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -31,15 +31,12 @@
|
||||
%endif
|
||||
|
||||
Name: python-nbconvert%{psuffix}
|
||||
Version: 7.2.2
|
||||
Version: 7.2.7
|
||||
Release: 0
|
||||
Summary: Conversion of Jupyter Notebooks
|
||||
License: BSD-3-Clause AND MIT
|
||||
URL: https://github.com/jupyter/nbconvert
|
||||
Source0: https://files.pythonhosted.org/packages/source/n/nbconvert/nbconvert-%{version}.tar.gz
|
||||
# See hatch_build.py
|
||||
# License10: MIT
|
||||
Source10: https://cdn.jupyter.org/notebook/5.4.0/style/style.min.css
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module hatchling >= 0.25}
|
||||
BuildRequires: %{python_module pip}
|
||||
@ -98,7 +95,6 @@ This package provides the python interface.
|
||||
Summary: Conversion of Jupyter Notebooks
|
||||
Requires: jupyter-ipykernel
|
||||
Requires: jupyter-jupyter-core
|
||||
Requires: jupyter-nbformat >= 4.4
|
||||
Requires: python3-nbconvert = %{version}
|
||||
Conflicts: python3-jupyter_nbconvert < 5.5.0
|
||||
|
||||
@ -132,8 +128,6 @@ for f in nbconvert/nbconvertapp.py nbconvert/filters/filter_links.py; do
|
||||
sed -i -e '/^#!\//, 1d' $f
|
||||
chmod -x $f
|
||||
done
|
||||
mkdir share/templates/classic/static
|
||||
cp %{SOURCE10} share/templates/classic/static/style.css
|
||||
sed -i '/addopts/ s/--color=yes//' pyproject.toml
|
||||
|
||||
%build
|
||||
@ -153,14 +147,11 @@ sed -i '/addopts/ s/--color=yes//' pyproject.toml
|
||||
%if %{with test}
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
# not test_webpdf: no pyppeteer, not even offline
|
||||
donttest="test_webpdf"
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
# requires modules not installed: https://github.com/jupyter/nbconvert/issues/1846
|
||||
donttest="$donttest or test_convert_full_qualified_name or test_post_processor"
|
||||
# nbformat error
|
||||
donttest="$donttest or test_empty_code_cell"
|
||||
donttest="test_convert_full_qualified_name or test_post_processor"
|
||||
%{python_expand # installed package in :test flavor
|
||||
$python -B -m ipykernel.kernelspec --user
|
||||
$python -m ipykernel.kernelspec --user
|
||||
pytest-%{$python_bin_suffix} -v -m 'not network' -k "not ($donttest)" --pyargs nbconvert
|
||||
}
|
||||
%endif
|
||||
|
12935
style.min.css
vendored
12935
style.min.css
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user