about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ipython/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/ipython/default.nix')
-rw-r--r--pkgs/development/python-modules/ipython/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/ipython/default.nix b/pkgs/development/python-modules/ipython/default.nix
index 56feb411fe953..077ea0e4ac10d 100644
--- a/pkgs/development/python-modules/ipython/default.nix
+++ b/pkgs/development/python-modules/ipython/default.nix
@@ -36,19 +36,19 @@
   # Test dependencies
   pickleshare,
   pytest-asyncio,
-  pytest7CheckHook,
+  pytestCheckHook,
   testpath,
 }:
 
 buildPythonPackage rec {
   pname = "ipython";
-  version = "8.24.0";
+  version = "8.26.0";
   pyproject = true;
   disabled = pythonOlder "3.10";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-AQ2z+KcopXi7ZB/dBsBjufuOlqlGTGOuxjEPvLXoBQE=";
+    hash = "sha256-HOwPu6hASvE/rOvoPQRDanQ0x0AOWfR6z0Z8ZKvQlWw=";
   };
 
   build-system = [ setuptools ];
@@ -87,13 +87,13 @@ buildPythonPackage rec {
 
     # doctests try to fetch an image from the internet
     substituteInPlace pyproject.toml \
-      --replace '"--ipdoctest-modules",' '"--ipdoctest-modules", "--ignore=IPython/core/display.py",'
+      --replace-fail '"--ipdoctest-modules",' '"--ipdoctest-modules", "--ignore=IPython/core/display.py",'
   '';
 
   nativeCheckInputs = [
     pickleshare
     pytest-asyncio
-    pytest7CheckHook
+    pytestCheckHook
     testpath
   ];
 
@@ -102,7 +102,7 @@ buildPythonPackage rec {
       # UnboundLocalError: local variable 'child' referenced before assignment
       "test_system_interrupt"
     ]
-    ++ lib.optionals (stdenv.isDarwin) [
+    ++ lib.optionals (stdenv.hostPlatform.isDarwin) [
       # FileNotFoundError: [Errno 2] No such file or directory: 'pbpaste'
       "test_clipboard_get"
     ];
@@ -117,6 +117,6 @@ buildPythonPackage rec {
     homepage = "https://ipython.org/";
     changelog = "https://github.com/ipython/ipython/blob/${version}/docs/source/whatsnew/version${lib.versions.major version}.rst";
     license = licenses.bsd3;
-    maintainers = with maintainers; [ bjornfor ];
+    maintainers = with maintainers; [ bjornfor ] ++ teams.jupyter.members;
   };
 }