diff --git a/pkgs/development/python-modules/orange-canvas-core/default.nix b/pkgs/development/python-modules/orange-canvas-core/default.nix index cbd34fc8f8aa..38de13c23a59 100644 --- a/pkgs/development/python-modules/orange-canvas-core/default.nix +++ b/pkgs/development/python-modules/orange-canvas-core/default.nix @@ -26,6 +26,7 @@ # tests qt5, + pyqt5, pytest-qt, pytestCheckHook, @@ -77,6 +78,7 @@ buildPythonPackage rec { ''; nativeCheckInputs = [ + pyqt5 pytest-qt pytestCheckHook ]; diff --git a/pkgs/development/python-modules/qasync/default.nix b/pkgs/development/python-modules/qasync/default.nix index 5ef1ad8242de..c1b317c445e2 100644 --- a/pkgs/development/python-modules/qasync/default.nix +++ b/pkgs/development/python-modules/qasync/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, - pyqt5, + pyqt6, pytestCheckHook, uv-build, }: @@ -27,9 +27,10 @@ buildPythonPackage rec { build-system = [ uv-build ]; - dependencies = [ pyqt5 ]; - - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + pyqt6 + ]; pythonImportsCheck = [ "qasync" ];