python3Packages.nbconvert: clean up
This commit is contained in:
parent
de161602c5
commit
a081afe9e9
1 changed files with 31 additions and 36 deletions
|
@ -1,25 +1,19 @@
|
||||||
{ lib
|
{ beautifulsoup4
|
||||||
, buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, pytestCheckHook
|
|
||||||
, glibcLocales
|
|
||||||
, entrypoints
|
|
||||||
, bleach
|
, bleach
|
||||||
|
, buildPythonPackage
|
||||||
|
, defusedxml
|
||||||
|
, fetchPypi
|
||||||
|
, ipywidgets
|
||||||
|
, jinja2
|
||||||
|
, jupyterlab-pygments
|
||||||
|
, lib
|
||||||
|
, markupsafe
|
||||||
, mistune
|
, mistune
|
||||||
, nbclient
|
, nbclient
|
||||||
, jinja2
|
|
||||||
, pygments
|
|
||||||
, traitlets
|
|
||||||
, jupyter_core
|
|
||||||
, jupyterlab-pygments
|
|
||||||
, nbformat
|
|
||||||
, ipykernel
|
|
||||||
, pandocfilters
|
, pandocfilters
|
||||||
, tornado
|
, pyppeteer
|
||||||
, jupyter-client
|
, pytestCheckHook
|
||||||
, defusedxml
|
|
||||||
, tinycss2
|
, tinycss2
|
||||||
, beautifulsoup4
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -42,37 +36,38 @@ buildPythonPackage rec {
|
||||||
substituteAllInPlace ./nbconvert/exporters/templateexporter.py
|
substituteAllInPlace ./nbconvert/exporters/templateexporter.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook glibcLocales ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
entrypoints bleach mistune jinja2 pygments traitlets
|
beautifulsoup4
|
||||||
jupyter_core nbformat ipykernel pandocfilters tornado jupyter-client
|
bleach
|
||||||
defusedxml tinycss2 beautifulsoup4
|
defusedxml
|
||||||
nbclient
|
jinja2
|
||||||
jupyterlab-pygments
|
jupyterlab-pygments
|
||||||
|
markupsafe
|
||||||
|
mistune
|
||||||
|
nbclient
|
||||||
|
pandocfilters
|
||||||
|
tinycss2
|
||||||
];
|
];
|
||||||
|
|
||||||
# disable preprocessor tests for ipython 7
|
|
||||||
# see issue https://github.com/jupyter/nbconvert/issues/898
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export LC_ALL=en_US.UTF-8
|
export HOME=$(mktemp -d)
|
||||||
HOME=$(mktemp -d)
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pytestFlagsArray = [
|
checkInputs = [
|
||||||
"--ignore=nbconvert/preprocessors/tests/test_execute.py"
|
ipywidgets
|
||||||
# can't resolve template paths within sandbox
|
pyppeteer
|
||||||
"--ignore=nbconvert/tests/base.py"
|
pytestCheckHook
|
||||||
"--ignore=nbconvert/tests/test_nbconvertapp.py"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
# DeprecationWarning: Support for bleach <5 will be removed in a future version of nbconvert
|
||||||
|
"-W ignore::DeprecationWarning"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
# Attempts network access (Failed to establish a new connection: [Errno -3] Temporary failure in name resolution)
|
||||||
"test_export"
|
"test_export"
|
||||||
"test_webpdf_without_chromium"
|
"test_webpdf_with_chromium"
|
||||||
#"test_cell_tag_output"
|
|
||||||
#"test_convert_from_stdin"
|
|
||||||
#"test_convert_full_qualified_name"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Some of the tests use localhost networking.
|
# Some of the tests use localhost networking.
|
||||||
|
|
Loading…
Reference in a new issue