From 28fe7ec76c5cf0958c86f98eecb18dc90436a029 Mon Sep 17 00:00:00 2001 From: Drew Risinger Date: Fri, 13 May 2022 10:03:46 -0400 Subject: [PATCH] python3Packages.fastjsonschema: fix Darwin build Test was failing on hydra build, with this error: ``` ModuleNotFoundError: No module named 'temp.schema_3' tests/test_compile_to_code.py:95: ModuleNotFoundError ``` --- pkgs/development/python-modules/fastjsonschema/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/fastjsonschema/default.nix b/pkgs/development/python-modules/fastjsonschema/default.nix index 23a552a9b4c..f4551b65bd3 100644 --- a/pkgs/development/python-modules/fastjsonschema/default.nix +++ b/pkgs/development/python-modules/fastjsonschema/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchFromGitHub , pytestCheckHook @@ -31,6 +32,8 @@ buildPythonPackage rec { # these tests require network access "remote ref" "definitions" + ] ++ lib.optionals stdenv.isDarwin [ + "test_compile_to_code_custom_format" # cannot import temporary module created during test ]; pythonImportsCheck = [