python3Packages.tuf: fix failing tests on Darwin
Tests require local networking to be enabled.
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user