From f2ea82d838145df037cfa56fceb37494dc769422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 6 Oct 2023 20:15:38 +0200 Subject: [PATCH] python310Packages.jupyter-server: disable failing test_copy_big_dir on all linux jupyter-server> ___________________ test_copy_big_dir[jp_contents_manager1] ____________________ jupyter-server> jupyter-server> jp_contents_manager = jupyter-server> jupyter-server> async def test_copy_big_dir(jp_contents_manager): jupyter-server> # this tests how the Content API limits preventing copying folders that are more than jupyter-server> # the size limit specified in max_copy_folder_size_mb trait jupyter-server> cm = jp_contents_manager jupyter-server> destDir = "Untitled Folder 1" jupyter-server> sourceDir = "Morningstar Notebooks" jupyter-server> cm.max_copy_folder_size_mb = 5 jupyter-server> _make_dir(cm, destDir) jupyter-server> _make_big_dir(contents_manager=cm, api_path=sourceDir) jupyter-server> > with pytest.raises(HTTPError) as exc_info: jupyter-server> E Failed: DID NOT RAISE jupyter-server> jupyter-server> tests/services/contents/test_manager.py:896: Failed --- pkgs/development/python-modules/jupyter-server/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-server/default.nix b/pkgs/development/python-modules/jupyter-server/default.nix index 0c3d704711d1..fbb9f0cacd83 100644 --- a/pkgs/development/python-modules/jupyter-server/default.nix +++ b/pkgs/development/python-modules/jupyter-server/default.nix @@ -5,12 +5,10 @@ , pythonOlder , hatch-jupyter-builder , hatchling -, pandoc , pytestCheckHook , pytest-console-scripts , pytest-jupyter , pytest-timeout -, pytest-tornasync , argon2-cffi , jinja2 , tornado @@ -102,7 +100,8 @@ buildPythonPackage rec { "test_authorized_requests" # Insufficient access privileges for operation "test_regression_is_hidden" - ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ + ] ++ lib.optionals stdenv.isLinux [ + # Failed: DID NOT RAISE "test_copy_big_dir" ];