python310Packages.jupyter-server: 2.0.6 -> 2.7.0
Changelog: https://github.com/jupyter-server/jupyter_server/blob/v2.7.0/CHANGELOG.md
This commit is contained in:
@@ -23,24 +23,27 @@
|
||||
, jupyter-server-terminals
|
||||
, nbformat
|
||||
, nbconvert
|
||||
, packaging
|
||||
, send2trash
|
||||
, terminado
|
||||
, prometheus-client
|
||||
, anyio
|
||||
, websocket-client
|
||||
, overrides
|
||||
, requests
|
||||
, flaky
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-server";
|
||||
version = "2.0.6";
|
||||
version = "2.7.0";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "jupyter_server";
|
||||
inherit version;
|
||||
hash= "sha256-jddZkukLfKVWeUoe1cylEmPGl6vG0N9WGvV0qhwKAz8=";
|
||||
hash = "sha256-NtoKJm0xpBrDNaNmyIkzwX36W7gXpI9cAsFtMDvJR38=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -60,22 +63,23 @@ buildPythonPackage rec {
|
||||
jupyter-server-terminals
|
||||
nbformat
|
||||
nbconvert
|
||||
packaging
|
||||
send2trash
|
||||
terminado
|
||||
prometheus-client
|
||||
anyio
|
||||
websocket-client
|
||||
overrides
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
ipykernel
|
||||
pandoc
|
||||
pytestCheckHook
|
||||
pytest-console-scripts
|
||||
pytest-jupyter
|
||||
pytest-timeout
|
||||
pytest-tornasync
|
||||
requests
|
||||
flaky
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
@@ -85,11 +89,16 @@ buildPythonPackage rec {
|
||||
|
||||
disabledTests = [
|
||||
"test_cull_idle"
|
||||
"test_server_extension_list"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# attempts to use trashcan, build env doesn't allow this
|
||||
"test_delete"
|
||||
# test is presumable broken in sandbox
|
||||
"test_authorized_requests"
|
||||
# Insufficient access privileges for operation
|
||||
"test_regression_is_hidden"
|
||||
] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
|
||||
"test_copy_big_dir"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
@@ -103,9 +112,10 @@ buildPythonPackage rec {
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/jupyter-server/jupyter_server/blob/v${version}/CHANGELOG.md";
|
||||
description = "The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications";
|
||||
homepage = "https://github.com/jupyter-server/jupyter_server";
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = [ maintainers.elohmeier ];
|
||||
maintainers = lib.teams.jupyter.members;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user