2022-11-10T03:53:44 esptool 0 -> 1 2022-11-10T03:53:46 attrpath: esptool 2022-11-10T03:53:46 Checking auto update branch... 2022-11-10T03:53:50 [version] 2022-11-10T03:53:50 [version] skipping because derivation has updateScript 2022-11-10T03:53:50 [rustCrateVersion] 2022-11-10T03:53:50 [rustCrateVersion] No cargoSha256 found 2022-11-10T03:53:50 [golangModuleVersion] 2022-11-10T03:53:50 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-11-10T03:53:50 [updateScript] 2022-11-10T03:53:53 [updateScript] Success 2022-11-10T03:53:53 [updateScript] this derivation will be built: /nix/store/hl63knl0ksqckzbyi6913gsz7bx8q0xk-packages.json.drv building '/nix/store/hl63knl0ksqckzbyi6913gsz7bx8q0xk-packages.json.drv'... Going to be running update for following packages: - esptool-3.3.1 Press Enter key to continue... Running update for: - esptool-3.3.1: UPDATING ... - esptool-3.3.1: DONE. Packages updated! 2022-11-10T03:53:53 2022-11-10T03:53:53 [quotedUrls] 2022-11-10T03:53:53 [quotedUrls] nothing found to replace 2022-11-10T03:53:53 Diff after rewrites: diff --git a/pkgs/tools/misc/esptool/default.nix b/pkgs/tools/misc/esptool/default.nix index e48e0269405..fa6997bce31 100644 --- a/pkgs/tools/misc/esptool/default.nix +++ b/pkgs/tools/misc/esptool/default.nix @@ -2,13 +2,13 @@ python3.pkgs.buildPythonApplication rec { pname = "esptool"; - version = "3.3.1"; + version = "4.3"; src = fetchFromGitHub { owner = "espressif"; repo = "esptool"; - rev = "v${version}"; - hash = "sha256-9WmiLji7Zoad5WIzgkpvkI9t96sfdkCtFh6zqVxF7qo="; + rev = "refs/tags/v${version}"; + hash = "sha256-mzBwBecOotcxZ1xtAewzP8UUjYCkbuX3rx3HHOs9hLM="; }; postPatch = '' 2022-11-10T03:55:28 An auto update branch exists with message `esptool: 3.3.1 -> 4.3`. New version is 4.3. 2022-11-10T03:55:28 An auto update branch exists with an equal or greater version 2022-11-10T15:28:58 esptool 0 -> 1 2022-11-10T15:29:00 attrpath: esptool 2022-11-10T15:29:00 Checking auto update branch... 2022-11-10T15:29:04 [version] 2022-11-10T15:29:04 [version] skipping because derivation has updateScript 2022-11-10T15:29:04 [rustCrateVersion] 2022-11-10T15:29:04 [rustCrateVersion] No cargoSha256 found 2022-11-10T15:29:04 [golangModuleVersion] 2022-11-10T15:29:04 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-11-10T15:29:04 [updateScript] 2022-11-10T15:29:06 [updateScript] Failed with exit code 1 this derivation will be built: /nix/store/9kmbm4lbdrgm6lsc2n4xdl7aqcy13sq0-packages.json.drv building '/nix/store/9kmbm4lbdrgm6lsc2n4xdl7aqcy13sq0-packages.json.drv'... Going to be running update for following packages: - esptool-3.3.1 Press Enter key to continue... Running update for: - esptool-3.3.1: UPDATING ... - esptool-3.3.1: ERROR --- SHOWING ERROR LOG FOR esptool-3.3.1 ---------------------- 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/espressif/esptool/tarball/v4.3']' 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/espressif/esptool/tarball/refs/tags/v4.3']' returned non-zero exit status 1. --- SHOWING ERROR LOG FOR esptool-3.3.1 ---------------------- The update script for esptool-3.3.1 failed with exit code 1