about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorOTABI Tomoya <tomoya.otabi@gmail.com>2023-12-03 00:16:13 +0900
committerGitHub <noreply@github.com>2023-12-03 00:16:13 +0900
commitcda101679dde20093ed8fbeb1d874354d01206a2 (patch)
tree319bdffc7402c24138c736bc251e065d6eb09e3b /pkgs
parent9dfa05ed19cd855169e0aa1cf447fc2f3d3f4f67 (diff)
parentfa18572934c3b635f23f18e7e29c0f14baeb4c57 (diff)
downloadnixlib-cda101679dde20093ed8fbeb1d874354d01206a2.tar
nixlib-cda101679dde20093ed8fbeb1d874354d01206a2.tar.gz
nixlib-cda101679dde20093ed8fbeb1d874354d01206a2.tar.bz2
nixlib-cda101679dde20093ed8fbeb1d874354d01206a2.tar.lz
nixlib-cda101679dde20093ed8fbeb1d874354d01206a2.tar.xz
nixlib-cda101679dde20093ed8fbeb1d874354d01206a2.tar.zst
nixlib-cda101679dde20093ed8fbeb1d874354d01206a2.zip
Merge pull request #254751 from GaetanLepage/ipykernel
python310Packages.ipykernel: 6.25.2 -> 6.27.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/ipykernel/default.nix10
-rw-r--r--pkgs/development/python-modules/ipykernel/tests.nix20
2 files changed, 21 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/ipykernel/default.nix b/pkgs/development/python-modules/ipykernel/default.nix
index 74cb52629af5..d1b970c34a2e 100644
--- a/pkgs/development/python-modules/ipykernel/default.nix
+++ b/pkgs/development/python-modules/ipykernel/default.nix
@@ -15,14 +15,14 @@
 
 buildPythonPackage rec {
   pname = "ipykernel";
-  version = "6.25.2";
-  format = "pyproject";
+  version = "6.27.1";
+  pyproject = true;
 
-  disabled = pythonOlder "3.7";
+  disabled = pythonOlder "3.8";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-9Gjd0fF6y0jIzmf8+km6bUbU+awEOMH0Qb58PRNyIws=";
+    hash = "sha256-fV1ZS2aQZUtNKZ7bpehy3Be7c5ao0GCcl8t7ihxgXeY=";
   };
 
   # debugpy is optional, see https://github.com/ipython/ipykernel/pull/767
@@ -55,6 +55,6 @@ buildPythonPackage rec {
     description = "IPython Kernel for Jupyter";
     homepage = "https://ipython.org/";
     license = lib.licenses.bsd3;
-    maintainers = with lib.maintainers; [ fridh ];
+    maintainers = with lib.maintainers; [ fridh ] ++ lib.teams.jupyter.members;
   };
 }
diff --git a/pkgs/development/python-modules/ipykernel/tests.nix b/pkgs/development/python-modules/ipykernel/tests.nix
index edbb13912ad9..0de6d2feb4ae 100644
--- a/pkgs/development/python-modules/ipykernel/tests.nix
+++ b/pkgs/development/python-modules/ipykernel/tests.nix
@@ -5,9 +5,10 @@
 , flaky
 , ipykernel
 , ipyparallel
-, nose
+, pre-commit
 , pytestCheckHook
-
+, pytest-asyncio
+, pytest-timeout
 }:
 
 buildPythonPackage {
@@ -22,15 +23,26 @@ buildPythonPackage {
     flaky
     ipykernel
     ipyparallel
-    nose
+    pre-commit
     pytestCheckHook
+    pytest-asyncio
+    pytest-timeout
   ];
 
   preCheck = ''
     export HOME=$(mktemp -d)
   '';
 
-  disabledTests = lib.optionals stdenv.isDarwin ([
+  disabledTests = [ # The follwing three tests fail for unclear reasons.
+    # pytest.PytestUnhandledThreadExceptionWarning: Exception in thread Thread-8
+    "test_asyncio_interrupt"
+
+    # DeprecationWarning: Passing unrecognized arguments to super(IPythonKernel)
+    "test_embed_kernel_func"
+
+    # traitlets.config.configurable.MultipleInstanceError: An incompatible siblin...
+    "test_install_kernelspec"
+  ] ++ lib.optionals stdenv.isDarwin ([
     # see https://github.com/NixOS/nixpkgs/issues/76197
     "test_subprocess_print"
     "test_subprocess_error"