diff --git a/pkgs/development/python-modules/jupyterlab_server/default.nix b/pkgs/development/python-modules/jupyterlab_server/default.nix index bcd06ebffb3..e612cfaeab0 100644 --- a/pkgs/development/python-modules/jupyterlab_server/default.nix +++ b/pkgs/development/python-modules/jupyterlab_server/default.nix @@ -25,7 +25,11 @@ buildPythonPackage rec { }; postPatch = '' - sed -i "/^addopts/d" pyproject.toml + substituteInPlace pyproject.toml \ + --replace "--cov jupyterlab_server --cov-report term-missing --cov-report term:skip-covered" "" + + # translation tests try to install additional packages into read only paths + rm -r tests/translations/ ''; propagatedBuildInputs = [ requests jsonschema pyjson5 Babel jupyter_server ]; @@ -37,8 +41,6 @@ buildPythonPackage rec { ruamel-yaml ]; - pytestFlagsArray = [ "--pyargs" "jupyterlab_server" ]; - __darwinAllowLocalNetworking = true; meta = with lib; {