awscli2 0 -> 1 attrpath: awscli2 Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [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/imq6ly1c42lb0zgvspcn1pbj40k5bc9z-packages.json.drv building '/nix/store/imq6ly1c42lb0zgvspcn1pbj40k5bc9z-packages.json.drv'... Going to be running update for following packages: - awscli2-2.15.15 Press Enter key to continue... Running update for: - awscli2-2.15.15: UPDATING ... - awscli2-2.15.15: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/tools/admin/awscli2/default.nix b/pkgs/tools/admin/awscli2/default.nix index 8c9ec21b1bff..366c87956c45 100644 --- a/pkgs/tools/admin/awscli2/default.nix +++ b/pkgs/tools/admin/awscli2/default.nix @@ -41,14 +41,14 @@ let in with py.pkgs; buildPythonApplication rec { pname = "awscli2"; - version = "2.15.15"; # N.B: if you change this, check if overrides are still up-to-date + version = "2.15.20"; # N.B: if you change this, check if overrides are still up-to-date pyproject = true; src = fetchFromGitHub { owner = "aws"; repo = "aws-cli"; rev = "refs/tags/${version}"; - hash = "sha256-hJuJkCiKgSxfPVgS5II7BwpyQhjaRE2Ct3ZJQq6xWgg="; + hash = "sha256-QsImvhBM29Cdcp/zI6ilYEyqiypXdS0d1RRLbRfUBsI="; }; postPatch = '' 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 awscli2 nix build failed. # to search for distribution directories. Read more here: # https://docs.python.org/3/library/importlib.metadata.html#extending-the-search-algorithm # # Our MetaPathFinder class does not implement this method, which # causes importlib.metadata.distribution() to not find the "awscli" # package. So instead, this helper method is implemented to locate the # dist-info directories based off our current site-packages # and explicitly provide the directory to avoid needing to use # MetaPathFinders and thus avoid this issue. # Packages names may have a "-". These get converted to "_" for # their respective directory names in the site packages directory. snake_case_name = name.replace("-", "_") for sitepackages in site.getsitepackages(): for filename in os.listdir(sitepackages): if fnmatch.fnmatch(filename, f"{snake_case_name}-*.dist-info"): return importlib.metadata.Distribution.at( os.path.join(sitepackages, filename) ) > raise ValueError( f'Could not find .dist-info directory for {snake_case_name}' ) E ValueError: Could not find .dist-info directory for awscli tests/dependencies/test_closure.py:90: ValueError =========================== short test summary info ============================ FAILED tests/dependencies/test_closure.py::TestDependencyClosure::test_expected_runtime_dependencies - ValueError: Could not find .dist-info directory for awscli FAILED tests/dependencies/test_closure.py::TestDependencyClosure::test_expected_unbounded_runtime_dependencies - ValueError: Could not find .dist-info directory for awscli ============ 2 failed, 7267 passed, 3 skipped in 111.08s (0:01:51) ============= /nix/store/yq9qag5ak3w15nhcqplnhxpny6295l36-stdenv-linux/setup: line 1582: pop_var_context: head of shell_variables not a function context