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/qfklaa05r0635in7scg2pnxys7y57n26-packages.json.drv building '/nix/store/qfklaa05r0635in7scg2pnxys7y57n26-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..456ea6f264d5 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.25"; # 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-GRgI88IbF6p6jAmb2h5eWfltvDCj00DVBNaO1XftiAE="; }; postPatch = '' No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/62fm7r6175k2bgvhc19hn9bdhw90wa3n-nix-2.18.1/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 109.78s (0:01:49) ============= /nix/store/3qnm3nwjajgqa771dmi2dnwxrw0kzq5m-stdenv-linux/setup: line 1578: pop_var_context: head of shell_variables not a function context