2022-11-10T03:35:01 cyclonedx-python 0 -> 1 2022-11-10T03:35:04 attrpath: cyclonedx-python 2022-11-10T03:35:04 Checking auto update branch... 2022-11-10T03:35:07 [version] 2022-11-10T03:35:07 [version] skipping because derivation has updateScript 2022-11-10T03:35:07 [rustCrateVersion] 2022-11-10T03:35:07 [rustCrateVersion] No cargoSha256 found 2022-11-10T03:35:07 [golangModuleVersion] 2022-11-10T03:35:07 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-11-10T03:35:07 [updateScript] 2022-11-10T03:35:10 [updateScript] Success 2022-11-10T03:35:10 [updateScript] this derivation will be built: /nix/store/jvqsxahrxqm3m9h5l8w6ip7jsqz9lxkf-packages.json.drv building '/nix/store/jvqsxahrxqm3m9h5l8w6ip7jsqz9lxkf-packages.json.drv'... Going to be running update for following packages: - cyclonedx-python-0.4.3 Press Enter key to continue... Running update for: - cyclonedx-python-0.4.3: UPDATING ... - cyclonedx-python-0.4.3: DONE. Packages updated! 2022-11-10T03:35:10 2022-11-10T03:35:10 [quotedUrls] 2022-11-10T03:35:10 [quotedUrls] nothing found to replace 2022-11-10T03:35:10 Diff after rewrites: diff --git a/pkgs/tools/misc/cyclonedx-python/default.nix b/pkgs/tools/misc/cyclonedx-python/default.nix index 97dfd8310da..fbf594efa28 100644 --- a/pkgs/tools/misc/cyclonedx-python/default.nix +++ b/pkgs/tools/misc/cyclonedx-python/default.nix @@ -4,13 +4,13 @@ }: python3.pkgs.buildPythonApplication rec { pname = "cyclonedx-python"; - version = "0.4.3"; + version = "3.6.3"; src = fetchFromGitHub { owner = "CycloneDX"; repo = "cyclonedx-python"; - rev = "v${version}"; - sha256 = "BvG4aWBMsllW2L4lLsiRFUCPjgoDpHxN49fsUFdg7tQ="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-K2ypXfjdjRCNwMND7cx75plCskQJooRebBFdDS3hMgU="; }; # They pin versions for exact version numbers because "A bill-of-material such 2022-11-10T03:36:44 No auto update branch exists 2022-11-10T03:36:49 Received ExitFailure 100 when running Raw command: /nix/store/6fr58pqy02hmgw1h7b9nqmv7vlp3v346-nix-2.3.15/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A cyclonedx-python nix build failed. warning: unknown setting 'experimental-features' Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing setuptools-build-hook Using setuptoolsBuildPhase Using setuptoolsShellHook Sourcing pip-install-hook Using pipInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/mw9glkvzdjvlwq4v05xbwzr63qrwkm7s-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tox.ini @nix { "action": "setPhase", "phase": "patchPhase" } patching sources @nix { "action": "setPhase", "phase": "configurePhase" } configuring no configure script, doing nothing @nix { "action": "setPhase", "phase": "buildPhase" } building Executing setuptoolsBuildPhase sed: can't read setup.py: No such file or directory 2022-11-10T15:07:31 cyclonedx-python 0 -> 1 2022-11-10T15:07:33 attrpath: cyclonedx-python 2022-11-10T15:07:33 Checking auto update branch... 2022-11-10T15:07:36 [version] 2022-11-10T15:07:36 [version] skipping because derivation has updateScript 2022-11-10T15:07:36 [rustCrateVersion] 2022-11-10T15:07:36 [rustCrateVersion] No cargoSha256 found 2022-11-10T15:07:36 [golangModuleVersion] 2022-11-10T15:07:36 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-11-10T15:07:36 [updateScript] 2022-11-10T15:07:38 [updateScript] Failed with exit code 1 this derivation will be built: /nix/store/gfzw8jm0f42n7m6hz9iswil2my1vlfy4-packages.json.drv building '/nix/store/gfzw8jm0f42n7m6hz9iswil2my1vlfy4-packages.json.drv'... Going to be running update for following packages: - cyclonedx-python-0.4.3 Press Enter key to continue... Running update for: - cyclonedx-python-0.4.3: UPDATING ... - cyclonedx-python-0.4.3: ERROR --- SHOWING ERROR LOG FOR cyclonedx-python-0.4.3 ---------------------- INFO:root:Updating packages... Traceback (most recent call last): File "/nix/store/0kdqhcbdl8sqlbrq9sjw0ain9dl3bl5d-update-python-libraries", line 221, in _get_latest_version_github sha256 = subprocess.check_output(["nix-prefetch-url", "--type", "sha256", "--unpack", f"{release['tarball_url']}"], stderr=subprocess.DEVNULL)\ File "/nix/store/qc8rlhdcdxaf6dwbvv0v4k50w937fyzj-python3-3.10.8/lib/python3.10/subprocess.py", line 421, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/nix/store/qc8rlhdcdxaf6dwbvv0v4k50w937fyzj-python3-3.10.8/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['nix-prefetch-url', '--type', 'sha256', '--unpack', 'https://api.github.com/repos/CycloneDX/cyclonedx-python/tarball/v3.7.0']' returned non-zero exit status 1. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/nix/store/0kdqhcbdl8sqlbrq9sjw0ain9dl3bl5d-update-python-libraries", line 470, in main() File "/nix/store/0kdqhcbdl8sqlbrq9sjw0ain9dl3bl5d-update-python-libraries", line 448, in main results = list(filter(bool, p.map(lambda pkg: _update(pkg, target), packages))) File "/nix/store/qc8rlhdcdxaf6dwbvv0v4k50w937fyzj-python3-3.10.8/lib/python3.10/concurrent/futures/_base.py", line 621, in result_iterator yield _result_or_cancel(fs.pop()) File "/nix/store/qc8rlhdcdxaf6dwbvv0v4k50w937fyzj-python3-3.10.8/lib/python3.10/concurrent/futures/_base.py", line 319, in _result_or_cancel return fut.result(timeout) File "/nix/store/qc8rlhdcdxaf6dwbvv0v4k50w937fyzj-python3-3.10.8/lib/python3.10/concurrent/futures/_base.py", line 458, in result return self.__get_result() File "/nix/store/qc8rlhdcdxaf6dwbvv0v4k50w937fyzj-python3-3.10.8/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result raise self._exception File "/nix/store/qc8rlhdcdxaf6dwbvv0v4k50w937fyzj-python3-3.10.8/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/nix/store/0kdqhcbdl8sqlbrq9sjw0ain9dl3bl5d-update-python-libraries", line 448, in results = list(filter(bool, p.map(lambda pkg: _update(pkg, target), packages))) File "/nix/store/0kdqhcbdl8sqlbrq9sjw0ain9dl3bl5d-update-python-libraries", line 405, in _update return _update_package(path, target) File "/nix/store/0kdqhcbdl8sqlbrq9sjw0ain9dl3bl5d-update-python-libraries", line 325, in _update_package new_version, new_sha256, prefix = FETCHERS[fetcher](pname, extension, version, target) File "/nix/store/0kdqhcbdl8sqlbrq9sjw0ain9dl3bl5d-update-python-libraries", line 226, in _get_latest_version_github sha256 = subprocess.check_output(["nix-prefetch-url", "--type", "sha256", "--unpack", tag_url], stderr=subprocess.DEVNULL)\ File "/nix/store/qc8rlhdcdxaf6dwbvv0v4k50w937fyzj-python3-3.10.8/lib/python3.10/subprocess.py", line 421, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/nix/store/qc8rlhdcdxaf6dwbvv0v4k50w937fyzj-python3-3.10.8/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['nix-prefetch-url', '--type', 'sha256', '--unpack', 'https://api.github.com/repos/CycloneDX/cyclonedx-python/tarball/refs/tags/v3.7.0']' returned non-zero exit status 1. --- SHOWING ERROR LOG FOR cyclonedx-python-0.4.3 ---------------------- The update script for cyclonedx-python-0.4.3 failed with exit code 1