From 277b1dbd2ea4e8de3b59f728fa07c2a48992e02e Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Wed, 7 Aug 2024 00:27:46 +0200 Subject: [PATCH] python311Packages.ipydatawidgets: migrate to pytestCheckHook --- .../development/python-modules/ipydatawidgets/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/ipydatawidgets/default.nix b/pkgs/development/python-modules/ipydatawidgets/default.nix index 635e55b53382..cacce82794b8 100644 --- a/pkgs/development/python-modules/ipydatawidgets/default.nix +++ b/pkgs/development/python-modules/ipydatawidgets/default.nix @@ -3,8 +3,7 @@ buildPythonPackage, fetchPypi, isPy27, - pytest, - pytest-cov-stub, + pytestCheckHook, nbval, jupyter-packaging, ipywidgets, @@ -37,13 +36,10 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytest - pytest-cov-stub + pytestCheckHook nbval ]; - checkPhase = "pytest ipydatawidgets/tests"; - meta = { description = "Widgets to help facilitate reuse of large datasets across different widgets"; homepage = "https://github.com/vidartf/ipydatawidgets";