From 29fa27859a63799bee0af0a7c3226bb9627cd6df Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sat, 17 May 2025 11:02:21 -0700 Subject: [PATCH] python3Packages.tuf: fix failing tests on Darwin Tests require local networking to be enabled. --- pkgs/development/python-modules/tuf/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/tuf/default.nix b/pkgs/development/python-modules/tuf/default.nix index a20a1f10e0cf..a23caeae9827 100644 --- a/pkgs/development/python-modules/tuf/default.nix +++ b/pkgs/development/python-modules/tuf/default.nix @@ -6,7 +6,6 @@ fetchFromGitHub, hatchling, pytestCheckHook, - pythonOlder, flit-core, requests, securesystemslib, @@ -17,8 +16,6 @@ buildPythonPackage rec { version = "6.0.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "theupdateframework"; repo = "python-tuf"; @@ -39,6 +36,8 @@ buildPythonPackage rec { ++ securesystemslib.optional-dependencies.pynacl ++ securesystemslib.optional-dependencies.crypto; + __darwinAllowLocalNetworking = true; + checkInputs = [ freezegun ];