diff --git a/pkgs/development/python-modules/anyio/default.nix b/pkgs/development/python-modules/anyio/default.nix index fde9fe67fcca..9d2e2a333590 100644 --- a/pkgs/development/python-modules/anyio/default.nix +++ b/pkgs/development/python-modules/anyio/default.nix @@ -56,6 +56,9 @@ buildPythonPackage rec { typing-extensions ]; + # trustme uses pyopenssl + doCheck = !(stdenv.isDarwin && stdenv.isAarch64); + checkInputs = [ curio hypothesis diff --git a/pkgs/development/python-modules/httpx/default.nix b/pkgs/development/python-modules/httpx/default.nix index ab5a6820529e..4085a2e0893f 100644 --- a/pkgs/development/python-modules/httpx/default.nix +++ b/pkgs/development/python-modules/httpx/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , brotli , brotlicffi , buildPythonPackage @@ -63,6 +64,9 @@ buildPythonPackage rec { ]; }; + # trustme uses pyopenssl + doCheck = !(stdenv.isDarwin && stdenv.isAarch64); + checkInputs = [ chardet pytestCheckHook diff --git a/pkgs/development/python-modules/jupyter_server/default.nix b/pkgs/development/python-modules/jupyter_server/default.nix index f031528db3e6..791e238f3874 100644 --- a/pkgs/development/python-modules/jupyter_server/default.nix +++ b/pkgs/development/python-modules/jupyter_server/default.nix @@ -84,6 +84,9 @@ buildPythonPackage rec { disabledTestPaths = [ "tests/services/kernels/test_api.py" "tests/services/sessions/test_api.py" + # nbconvert failed: `relax_add_props` kwargs of validate has been + # deprecated for security reasons, and will be removed soon. + "tests/nbconvert/test_handlers.py" ]; __darwinAllowLocalNetworking = true; diff --git a/pkgs/development/python-modules/jupyterlab_server/default.nix b/pkgs/development/python-modules/jupyterlab_server/default.nix index ae6e599be3fa..1c2976cdf03e 100644 --- a/pkgs/development/python-modules/jupyterlab_server/default.nix +++ b/pkgs/development/python-modules/jupyterlab_server/default.nix @@ -9,6 +9,7 @@ , json5 , babel , jupyter_server +, tomli , openapi-core , pytest-timeout , pytest-tornasync @@ -37,6 +38,7 @@ buildPythonPackage rec { json5 babel jupyter_server + tomli ] ++ lib.optional (pythonOlder "3.10") importlib-metadata; checkInputs = [ @@ -52,6 +54,9 @@ buildPythonPackage rec { rm -r tests/translations/ ''; + # https://github.com/jupyterlab/jupyterlab_server/blob/v2.15.2/pyproject.toml#L61 + doCheck = false; + preCheck = '' export HOME=$(mktemp -d) '';