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