From a823ebc5b6e9000b3141a90dcd20c78bf625bcaa Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sat, 3 May 2025 15:29:59 -0700 Subject: [PATCH] python3Packages.apt-repo: disable tests (network required) --- pkgs/development/python-modules/apt-repo/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/apt-repo/default.nix b/pkgs/development/python-modules/apt-repo/default.nix index 05cf66705bdf..53063db2eb64 100644 --- a/pkgs/development/python-modules/apt-repo/default.nix +++ b/pkgs/development/python-modules/apt-repo/default.nix @@ -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" ];