pythonPackages.jupyterlab_server: 1.2.0 -> 2.3.0

This commit is contained in:
Enno Richter 2020-12-29 09:00:53 +01:00
parent 4d49cdc0cf
commit 5de6e55c9e

View file

@ -1,34 +1,45 @@
{ lib
, buildPythonPackage
, fetchPypi
, notebook
, jsonschema
, pythonOlder
, requests
, pytest
, pytestCheckHook
, pyjson5
, Babel
, jupyter_server
, pytest-tornasync
, pytestcov
, strict-rfc3339
}:
buildPythonPackage rec {
pname = "jupyterlab_server";
version = "1.2.0";
version = "2.3.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "5431d9dde96659364b7cc877693d5d21e7b80cea7ae3959ecc2b87518e5f5d8c";
sha256 = "sha256-56AkWqPeI6GAPeLv9AHkykWUU42fWYBhNPMEGabYtqM=";
};
checkInputs = [ requests pytest ];
propagatedBuildInputs = [ notebook jsonschema pyjson5 ];
propagatedBuildInputs = [ requests jsonschema pyjson5 Babel jupyter_server ];
# test_listing test fails
# this is a new package and not all tests pass
doCheck = false;
checkInputs = [
pytestCheckHook
pytest-tornasync
pytestcov
strict-rfc3339
];
checkPhase = ''
pytest
'';
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"
];
meta = with lib; {
description = "JupyterLab Server";