python3Packages.apt-repo: disable tests due to network requirement (#404016)

This commit is contained in:
OTABI Tomoya
2025-05-06 11:25:54 +09:00
committed by GitHub
@@ -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" ];