python312Packages.jupyter-book: 1.0.3 -> 1.0.4
Diff: https://github.com/jupyter-book/jupyter-book/compare/refs/tags/v1.0.3...refs/tags/v1.0.4 Changelog: https://github.com/jupyter-book/jupyter-book/blob/refs/tags/v1.0.4/CHANGELOG.md
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
flit-core,
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
click,
|
||||
@@ -34,25 +34,27 @@
|
||||
pytestCheckHook,
|
||||
sphinx-inline-tabs,
|
||||
texsoup,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-book";
|
||||
version = "1.0.3";
|
||||
version = "1.0.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jupyter-book";
|
||||
repo = "jupyter-book";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-MBSf2/+4+efWHJ530jdezeh5OLTtUZlAEOl5SqoWOuE=";
|
||||
hash = "sha256-04I9mzJMXCpvMiOeMD/Bg8FiymkRgHf/Yo9C1VcyTsw=";
|
||||
};
|
||||
|
||||
build-system = [ flit-core ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
pythonRelaxDeps = [ "myst-parser" ];
|
||||
pythonRelaxDeps = [
|
||||
"myst-parser"
|
||||
"sphinx"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
click
|
||||
@@ -87,27 +89,37 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
sphinx-inline-tabs
|
||||
texsoup
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
disabledTests =
|
||||
[
|
||||
# touch the network
|
||||
"test_create_from_cookiecutter"
|
||||
|
||||
disabledTests = [
|
||||
# touch the network
|
||||
"test_create_from_cookiecutter"
|
||||
# flaky?
|
||||
"test_execution_timeout"
|
||||
# require texlive
|
||||
"test_toc"
|
||||
"test_toc_latex_parts"
|
||||
"test_toc_latex_urllink"
|
||||
# WARNING: Executing notebook failed: CellExecutionError [mystnb.exec]
|
||||
"test_build_dirhtml_from_template"
|
||||
"test_build_from_template"
|
||||
"test_build_page"
|
||||
"test_build_singlehtml_from_template"
|
||||
];
|
||||
# flaky?
|
||||
"test_execution_timeout"
|
||||
|
||||
# require texlive
|
||||
"test_toc"
|
||||
"test_toc_latex_parts"
|
||||
"test_toc_latex_urllink"
|
||||
|
||||
# AssertionError: assert 'There was an error in building your book' in '1'
|
||||
"test_build_errors"
|
||||
|
||||
# WARNING: Executing notebook failed: CellExecutionError [mystnb.exec]
|
||||
"test_build_dirhtml_from_template"
|
||||
"test_build_from_template"
|
||||
"test_build_page"
|
||||
"test_build_singlehtml_from_template"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x115dcc9a0>
|
||||
# ResourceWarning: unclosed database in <sqlite3.Connection object at 0x115dcc9a0>
|
||||
"test_clean_html_latex"
|
||||
"test_clean_latex"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# require texlive
|
||||
|
||||
Reference in New Issue
Block a user