about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorNick Cao2024-05-08 10:31:15 -0400
committerGitHub2024-05-08 10:31:15 -0400
commit194dbb8e6798784c162ebb0e7954abb7ccb4c097 (patch)
treed0e635f6a972d68c89b553357e7ff991e2b66bff /pkgs
parent534fb423124f0eb6017828a757dc9fd1d6714834 (diff)
parentb99f967553c32fc6698eb3ef331c0f55a755db91 (diff)
Merge pull request #309973 from kirillrdy/kr/safety
python3Packages.safety: fix build, disabled tests
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/safety/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/safety/default.nix b/pkgs/development/python-modules/safety/default.nix
index 1a5e1ab8f461..af7dc8a45110 100644
--- a/pkgs/development/python-modules/safety/default.nix
+++ b/pkgs/development/python-modules/safety/default.nix
@@ -89,8 +89,12 @@ buildPythonPackage rec {
     "test_check_live_cached"
     "test_get_packages_licenses_without_api_key"
     "test_validate_with_policy_file_using_invalid_keyword"
+    "test_validate_with_basic_policy_file"
   ];
 
+  # ImportError: cannot import name 'get_command_for' from partially initialized module 'safety.cli_util' (most likely due to a circular import)
+  disabledTestPaths = [ "tests/alerts/test_utils.py" ];
+
   preCheck = ''
     export HOME=$(mktemp -d)
   '';