From c3b4d95540fd438a6c258abe3364bdf2b348b7a8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 5 Apr 2026 02:17:31 +0200 Subject: [PATCH] python3Packages.pysnooper: disable failing test on x86_64-darwin This one is timing sensitive and has been failing a lot of on hydra. https://hydra.nixos.org/job/nixpkgs/unstable/python314Packages.pysnooper.x86_64-darwin --- pkgs/development/python-modules/pysnooper/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/pysnooper/default.nix b/pkgs/development/python-modules/pysnooper/default.nix index 03f5ed36644e..7b2c7282b033 100644 --- a/pkgs/development/python-modules/pysnooper/default.nix +++ b/pkgs/development/python-modules/pysnooper/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, pytestCheckHook, @@ -22,6 +23,11 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ + # timing-sensitive and often breaks on x86_64-darwin + "test_relative_time" + ]; + pythonImportsCheck = [ "pysnooper" ]; meta = {