about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2023-07-18 11:55:54 -0700
committerRobert Schütz <nix@dotlambda.de>2023-08-02 09:58:55 -0700
commit1f820d2c571ecc6443dd0e43a475caf97e4e54e9 (patch)
tree47e04b61730a8c42506a2e9738a914c030ac6716 /pkgs
parent223f4934999ea36f0bb87885c89867ab0775e179 (diff)
downloadnixlib-1f820d2c571ecc6443dd0e43a475caf97e4e54e9.tar
nixlib-1f820d2c571ecc6443dd0e43a475caf97e4e54e9.tar.gz
nixlib-1f820d2c571ecc6443dd0e43a475caf97e4e54e9.tar.bz2
nixlib-1f820d2c571ecc6443dd0e43a475caf97e4e54e9.tar.lz
nixlib-1f820d2c571ecc6443dd0e43a475caf97e4e54e9.tar.xz
nixlib-1f820d2c571ecc6443dd0e43a475caf97e4e54e9.tar.zst
nixlib-1f820d2c571ecc6443dd0e43a475caf97e4e54e9.zip
python310Packages.jupyter-server: 2.0.6 -> 2.7.0
Changelog: https://github.com/jupyter-server/jupyter_server/blob/v2.7.0/CHANGELOG.md
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/jupyter-server/default.nix22
1 files changed, 16 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/jupyter-server/default.nix b/pkgs/development/python-modules/jupyter-server/default.nix
index 317b42d8a17c..9532e5ca68a9 100644
--- a/pkgs/development/python-modules/jupyter-server/default.nix
+++ b/pkgs/development/python-modules/jupyter-server/default.nix
@@ -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;
   };
 }