python310Packages.cyclonedx-python-lib 0 -> 1 attrpath: python310Packages.cyclonedx-python-lib 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] Going to be running update for following packages: - python3.10-cyclonedx-python-lib-4.1.0 Press Enter key to continue... Running update for: - python3.10-cyclonedx-python-lib-4.1.0: UPDATING ... - python3.10-cyclonedx-python-lib-4.1.0: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/cyclonedx-python-lib/default.nix b/pkgs/development/python-modules/cyclonedx-python-lib/default.nix index d13bef9f0bd1..61d13380d96b 100644 --- a/pkgs/development/python-modules/cyclonedx-python-lib/default.nix +++ b/pkgs/development/python-modules/cyclonedx-python-lib/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "cyclonedx-python-lib"; - version = "4.1.0"; + version = "4.2.2"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -31,7 +31,7 @@ buildPythonPackage rec { owner = "CycloneDX"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-pRYjpmHhsw03b87YjS8YMmkQNwfcihp/bk56LFn55AU="; + hash = "sha256-7bqIKwKGfMj5YPqZpvWtP881LNOgvJ+DMHs1U63gCN0="; }; nativeBuildInputs = [ No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python310Packages.cyclonedx-python-lib nix build failed. tests/test_factory_license.py:24: in from cyclonedx.factory.license import LicenseChoiceFactory, LicenseFactory cyclonedx/factory/license.py:22: in from ..spdx import fixup_id as spdx_fixup, is_compound_expression as is_spdx_compound_expression cyclonedx/spdx.py:26: in from license_expression import get_spdx_licensing # type: ignore E ModuleNotFoundError: No module named 'license_expression' _____________________ ERROR collecting tests/test_spdx.py ______________________ ImportError while importing test module '/build/source/tests/test_spdx.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_spdx.py:27: in from cyclonedx import spdx cyclonedx/spdx.py:26: in from license_expression import get_spdx_licensing # type: ignore E ModuleNotFoundError: No module named 'license_expression' =============================== warnings summary =============================== ../../nix/store/1q0ldvrc46psd6bp7k06c49cnv7h3mzj-python3.10-xmldiff-2.6.3/lib/python3.10/site-packages/xmldiff/main.py:2 /nix/store/1q0ldvrc46psd6bp7k06c49cnv7h3mzj-python3.10-xmldiff-2.6.3/lib/python3.10/site-packages/xmldiff/main.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR tests/test_factory_license.py ERROR tests/test_spdx.py !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! ================== 8 deselected, 1 warning, 2 errors in 0.46s ================== /nix/store/vr6wwdxkmyy44sg0gwxi10b8fc5zhwz0-stdenv-linux/setup: line 1596: pop_var_context: head of shell_variables not a function context