From 918a7654f24e8fc9ba148de090f882ecb1ade883 Mon Sep 17 00:00:00 2001 From: fsagbuya Date: Tue, 10 Mar 2026 11:16:52 +0800 Subject: [PATCH 1/2] python3Packages.qasync: don't propagate pyqt5, use pyqt6 for checks --- pkgs/development/python-modules/qasync/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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" ]; From c541577807ead3d14a3fdc2af15462179a9c3250 Mon Sep 17 00:00:00 2001 From: fsagbuya Date: Tue, 10 Mar 2026 19:19:08 +0800 Subject: [PATCH 2/2] python3Packages.orange-canvas-core: add pyqt5 to nativeCheckInputs --- pkgs/development/python-modules/orange-canvas-core/default.nix | 2 ++ 1 file changed, 2 insertions(+) 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 ];