From c6eb2c88bab4169d6827022d6e1b09fd2b51fcd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 22 Mar 2026 11:55:51 -0700 Subject: [PATCH] git-buildpackage: don't test coverage --- pkgs/by-name/gi/git-buildpackage/package.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gi/git-buildpackage/package.nix b/pkgs/by-name/gi/git-buildpackage/package.nix index 6f0e6536d09b..8ae0ae6a627c 100644 --- a/pkgs/by-name/gi/git-buildpackage/package.nix +++ b/pkgs/by-name/gi/git-buildpackage/package.nix @@ -48,6 +48,9 @@ python3Packages.buildPythonApplication (finalAttrs: { "gbp" ]; + # don't add pytest and pytest-cov to setup_requires + env.WITHOUT_PYTESTS = true; + nativeCheckInputs = [ debian-devscripts dpkg @@ -56,8 +59,7 @@ python3Packages.buildPythonApplication (finalAttrs: { man ] ++ (with python3Packages; [ - coverage - pytest-cov + pytest-cov-stub pytestCheckHook ]);