python3Packages.apt-repo: disable tests (network required)

This commit is contained in:
Sarah Clark 2025-05-03 15:29:59 -07:00
parent b440606b42
commit a823ebc5b6

View File

@ -5,7 +5,6 @@
buildPythonPackage,
pytestCheckHook,
pythonOlder,
setuptools,
}:
@ -13,7 +12,6 @@ buildPythonPackage {
pname = "apt-repo";
version = "0.5-unstable-2023-09-27";
pyproject = true;
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "brennerm";
@ -24,7 +22,8 @@ buildPythonPackage {
passthru.updateScript = unstableGitUpdater { };
build-system = [ setuptools ];
nativeBuildInputs = [ pytestCheckHook ];
doCheck = false; # All tests require a network connection
pythonImportsCheck = [ "apt_repo" ];