Merge pull request #194832 from wegank/jupyter-server-aarch64-darwin

This commit is contained in:
Sandro
2022-10-07 19:47:19 +02:00
committed by GitHub
4 changed files with 15 additions and 0 deletions
@@ -56,6 +56,9 @@ buildPythonPackage rec {
typing-extensions
];
# trustme uses pyopenssl
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
checkInputs = [
curio
hypothesis
@@ -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
@@ -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;
@@ -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)
'';