From 8a2e3554a90c47b9030e92b1ac19969f3b899224 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 2 Nov 2024 10:53:46 +0100 Subject: [PATCH] python312Packages.boiboite-opener-framework: disable pythonImportsCheck Race condition in scapy https://github.com/secdev/scapy/pull/4558 --- .../python-modules/boiboite-opener-framework/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/boiboite-opener-framework/default.nix b/pkgs/development/python-modules/boiboite-opener-framework/default.nix index 9be58802c5e36..79442baf25b44 100644 --- a/pkgs/development/python-modules/boiboite-opener-framework/default.nix +++ b/pkgs/development/python-modules/boiboite-opener-framework/default.nix @@ -34,7 +34,12 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ "bof" ]; + preCheck = '' + export HOME=$(mktemp -d) + ''; + + # Race condition, https://github.com/secdev/scapy/pull/4558 + # pythonImportsCheck = [ "bof" ]; disabledTests = [ # Tests are using netcat and cat to do UDP connections