python3Packages.qasync: don't propagate pyqt5, use pyqt6 for checks (#498437)

This commit is contained in:
kirillrdy
2026-03-11 10:22:34 +00:00
committed by GitHub
2 changed files with 7 additions and 4 deletions
@@ -26,6 +26,7 @@
# tests
qt5,
pyqt5,
pytest-qt,
pytestCheckHook,
@@ -77,6 +78,7 @@ buildPythonPackage rec {
'';
nativeCheckInputs = [
pyqt5
pytest-qt
pytestCheckHook
];
@@ -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" ];