From 40e8e29a60407436af7b6533ed3a482c85ad22b5 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 10 Mar 2026 21:58:30 +0100 Subject: [PATCH] python313Packages.swh-auth: disable tests on Darwin --- pkgs/development/python-modules/swh-auth/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/swh-auth/default.nix b/pkgs/development/python-modules/swh-auth/default.nix index 10980def4a73..3b4deea11320 100644 --- a/pkgs/development/python-modules/swh-auth/default.nix +++ b/pkgs/development/python-modules/swh-auth/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitLab, setuptools, @@ -47,6 +48,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "swh.auth" ]; + # Many broken tests on Darwin. Disabling them for now. + doCheck = !stdenv.hostPlatform.isDarwin; + nativeCheckInputs = [ aiocache djangorestframework