python3Packages.echo: enable tests

This commit is contained in:
Peder Bergebakken Sundt
2025-09-03 22:14:03 +02:00
parent 19c489c7f7
commit 795a54c58e
2 changed files with 11 additions and 4 deletions
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
@@ -10,6 +11,7 @@
qt6,
qtpy,
pyqt6,
mesa,
pytestCheckHook,
pytest-cov-stub,
}:
@@ -48,11 +50,14 @@ buildPythonPackage rec {
qtpy
];
# collecting ... qt.qpa.xcb: could not connect to display
# qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
doCheck = false;
doCheck = lib.meta.availableOn stdenv.hostPlatform mesa.llvmpipeHook;
preCheck = ''
export QT_QPA_PLATFORM=offscreen
'';
nativeCheckInputs = [
mesa.llvmpipeHook
pytestCheckHook
pytest-cov-stub
];
+3 -1
View File
@@ -4561,7 +4561,9 @@ self: super: with self; {
ecdsa = callPackage ../development/python-modules/ecdsa { };
echo = callPackage ../development/python-modules/echo { };
echo = callPackage ../development/python-modules/echo {
inherit (pkgs) mesa;
};
ecoaliface = callPackage ../development/python-modules/ecoaliface { };