about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAly Raffauf <achacega@gmail.com>2024-03-27 19:46:50 -0400
committerGitHub <noreply@github.com>2024-03-28 08:46:50 +0900
commitc9c6734202debbb43e8a4bda57801eebd2a445dc (patch)
tree38736f94e2ab0275e923b5833289cb20cfa63538
parentfa03b033497b4a47c165612b69ebd879a923b44b (diff)
backblaze-b2: skip broken tests causing build failure (#299394)
* backblaze-b2: skip broken tests causing build failure

* backblaze-b2: override pytest version to 7
-rw-r--r--pkgs/development/tools/backblaze-b2/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/tools/backblaze-b2/default.nix b/pkgs/development/tools/backblaze-b2/default.nix
index 76301b5f4820a..3ed49c05bec98 100644
--- a/pkgs/development/tools/backblaze-b2/default.nix
+++ b/pkgs/development/tools/backblaze-b2/default.nix
@@ -46,7 +46,9 @@ python3Packages.buildPythonApplication rec {
     backoff
     more-itertools
     pexpect
-    pytestCheckHook
+
+    # backblaze-b2 requires pytest 7 to complete tests.
+    (pytestCheckHook.override { pytest = pytest_7; })
   ];
 
   preCheck = ''