safety-cli 3.0.1 -> 3.1.0 https://github.com/pyupio/safety/releases attrpath: safety-cli Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/8n2b82qn4gw4m73irw5h2m6hwgr8ww1b-packages.json.drv building '/nix/store/8n2b82qn4gw4m73irw5h2m6hwgr8ww1b-packages.json.drv'... Going to be running update for following packages: - safety-3.0.1 Press Enter key to continue... Running update for: - safety-3.0.1: UPDATING ... - safety-3.0.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/safety/default.nix b/pkgs/development/python-modules/safety/default.nix index 529ed4d8d4c2..1a5e1ab8f461 100644 --- a/pkgs/development/python-modules/safety/default.nix +++ b/pkgs/development/python-modules/safety/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "safety"; - version = "3.0.1"; + version = "3.1.0"; disabled = pythonOlder "3.7"; @@ -32,7 +32,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-HyAA8DZS86C/xn+P0emLxXI8y3bhXLG91oVFw9gD3wE="; + hash = "sha256-cfR7guzhU+wvJA4nf3y/pw1douDRQxYsZ/Y7L3RZoao="; }; postPatch = '' No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/v7gdmdc9yhx3ngh840xx5kr46840s73b-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A safety-cli nix build failed. Executing pytestCheckPhase ============================= test session starts ============================== platform linux -- Python 3.11.9, pytest-8.1.1, pluggy-1.4.0 rootdir: /build/safety-3.1.0 configfile: pyproject.toml collecting ...  collecting 0 items / 1 error  collected 90 items / 1 error / 5 deselected / 85 selected  ==================================== ERRORS ==================================== _________________ ERROR collecting tests/alerts/test_utils.py __________________ ImportError while importing test module '/build/safety-3.1.0/tests/alerts/test_utils.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /nix/store/glfr70gi7hfaj50mwj2431p8bg60fhqw-python3-3.11.9/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/alerts/test_utils.py:4: in from safety.alerts import utils safety/alerts/__init__.py:9: in from safety.cli_util import SafetyCLILegacyGroup safety/cli_util.py:9: in from safety.auth.constants import CLI_AUTH, MSG_NON_AUTHENTICATED safety/auth/__init__.py:3: in from .cli import auth safety/auth/cli.py:22: in from ..cli_util import get_command_for, pass_safety_cli_obj, SafetyCLISubGroup E ImportError: cannot import name 'get_command_for' from partially initialized module 'safety.cli_util' (most likely due to a circular import) (/build/safety-3.1.0/safety/cli_util.py) =========================== short test summary info ============================ ERROR tests/alerts/test_utils.py !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ======================== 5 deselected, 1 error in 4.53s ======================== /nix/store/9wnvhjyxjykwn5y06xc9a2h8rs5fbfia-stdenv-linux/setup: line 1579: pop_var_context: head of shell_variables not a function context