0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

python3Packages.jupyter-book: disable tests that fail to close sqlite (#403989)

This commit is contained in:
Gaétan Lepage 2025-05-03 23:26:49 +02:00 committed by GitHub
commit b440606b42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,34 +92,33 @@ buildPythonPackage rec {
writableTmpDirAsHomeHook writableTmpDirAsHomeHook
]; ];
disabledTests = disabledTests = [
[ # touch the network
# touch the network "test_create_from_cookiecutter"
"test_create_from_cookiecutter"
# flaky? # flaky?
"test_execution_timeout" "test_execution_timeout"
# require texlive # require texlive
"test_toc" "test_toc"
"test_toc_latex_parts" "test_toc_latex_parts"
"test_toc_latex_urllink" "test_toc_latex_urllink"
# AssertionError: assert 'There was an error in building your book' in '1' # AssertionError: assert 'There was an error in building your book' in '1'
"test_build_errors" "test_build_errors"
# WARNING: Executing notebook failed: CellExecutionError [mystnb.exec] # WARNING: Executing notebook failed: CellExecutionError [mystnb.exec]
"test_build_dirhtml_from_template" "test_build_dirhtml_from_template"
"test_build_from_template" "test_build_from_template"
"test_build_page" "test_build_page"
"test_build_singlehtml_from_template" "test_build_singlehtml_from_template"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ # pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x115dcc9a0>
# pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x115dcc9a0> # ResourceWarning: unclosed database in <sqlite3.Connection object at 0x115dcc9a0>
# ResourceWarning: unclosed database in <sqlite3.Connection object at 0x115dcc9a0> "test_clean_book"
"test_clean_html_latex" "test_clean_html_latex"
"test_clean_latex" "test_clean_latex"
]; ];
disabledTestPaths = [ disabledTestPaths = [
# require texlive # require texlive