python3Packages.jupyterlab_server: update dependencies, fix tests

wip/nixpkgs-raku
Robert Schütz 3 years ago committed by Martin Weinelt
parent 765157040c
commit 1899c4752d
  1. 30
      pkgs/development/python-modules/jupyterlab_server/default.nix

@ -8,37 +8,51 @@
, pyjson5
, Babel
, jupyter_server
, openapi-core
, pytest-tornasync
, pytestcov
, ruamel-yaml
, strict-rfc3339
}:
buildPythonPackage rec {
pname = "jupyterlab_server";
version = "2.6.0";
disabled = pythonOlder "3.5";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "f300adf6bb0a952bebe9c807a3b2a345d62da39b476b4f69ea0dc6b5f3f6b97d";
};
postPatch = ''
sed -i "/^addopts/d" pyproject.toml
'';
propagatedBuildInputs = [ requests jsonschema pyjson5 Babel jupyter_server ];
checkInputs = [
openapi-core
pytestCheckHook
pytest-tornasync
pytestcov
ruamel-yaml
strict-rfc3339
];
pytestFlagsArray = [ "--pyargs" "jupyterlab_server" ];
disabledTests = [
"test_get_locale"
"test_get_installed_language_pack_locales_passes"
"test_get_installed_package_locales"
"test_get_installed_packages_locale"
"test_get_language_packs"
"test_get_language_pack"
# AttributeError: 'SpecPath' object has no attribute 'paths'
"test_get_listing"
"test_get_settings"
"test_get_federated"
"test_listing"
"test_patch"
"test_patch_unicode"
"test_get_theme"
"test_delete"
"test_get_non_existant"
"test_get"
];
__darwinAllowLocalNetworking = true;

Loading…
Cancel
Save