python3Packages.jupyter-server: 1.10.2 -> 1.11.0, fix build and tests

This commit is contained in:
Jonathan Ringer 2021-09-14 10:04:41 -07:00
parent 60ab0ab2db
commit 92042a285e
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -21,16 +21,17 @@
, anyio
, websocket-client
, requests
, requests-unixsocket
}:
buildPythonPackage rec {
pname = "jupyter_server";
version = "1.10.2";
version = "1.11.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "d3a3b68ebc6d7bfee1097f1712cf7709ee39c92379da2cc08724515bb85e72bf";
sha256 = "sha256-irT0hKSiaY91fP8HadJ7XZkeAjKmZtVPTWraTmphMws=";
};
propagatedBuildInputs = [
@ -49,6 +50,7 @@ buildPythonPackage rec {
prometheus-client
anyio
websocket-client
requests-unixsocket
];
checkInputs = [
@ -59,9 +61,10 @@ buildPythonPackage rec {
preCheck = ''
export HOME=$(mktemp -d)
export PATH=$out/bin:$PATH
'';
pytestFlagsArray = [ "jupyter_server/tests/" ];
pytestFlagsArray = [ "jupyter_server" ];
# disabled failing tests
disabledTests = [