2022-11-10T02:56:51 awscli2 0 -> 1
2022-11-10T02:56:53 attrpath: awscli2
2022-11-10T02:56:53 Checking auto update branch...
2022-11-10T02:56:57 [version]
2022-11-10T02:56:57 [version] generic version rewriter does not support multiple hashes
2022-11-10T02:56:57 [rustCrateVersion]
2022-11-10T02:56:57 [rustCrateVersion] No cargoSha256 found
2022-11-10T02:56:57 [golangModuleVersion]
2022-11-10T02:56:57 [golangModuleVersion] Not a buildGoModule package with vendorSha256
2022-11-10T02:56:57 [updateScript]
2022-11-10T02:57:09 [updateScript] Success
2022-11-10T02:57:09 [updateScript]
Going to be running update for following packages:
- awscli2-2.8.9
Press Enter key to continue...
Running update for:
- awscli2-2.8.9: UPDATING ...
- awscli2-2.8.9: DONE.
Packages updated!
2022-11-10T02:57:09
2022-11-10T02:57:09 [quotedUrls]
2022-11-10T02:57:09 [quotedUrls] nothing found to replace
2022-11-10T02:57:09 Diff after rewrites:
diff --git a/pkgs/tools/admin/awscli2/default.nix b/pkgs/tools/admin/awscli2/default.nix
index 8b4b42e3123..a666a4cf8ed 100644
--- a/pkgs/tools/admin/awscli2/default.nix
+++ b/pkgs/tools/admin/awscli2/default.nix
@@ -32,14 +32,14 @@ let
in
with py.pkgs; buildPythonApplication rec {
pname = "awscli2";
- version = "2.8.9"; # N.B: if you change this, check if overrides are still up-to-date
+ version = "2.8.11"; # N.B: if you change this, check if overrides are still up-to-date
format = "pyproject";
src = fetchFromGitHub {
owner = "aws";
repo = "aws-cli";
rev = version;
- sha256 = "sha256-7So0zPknO5rIiWY7o82HXl+Iw2+fQmhYvrfrFMCDdDE=";
+ sha256 = "sha256-E4O4DEdPwfIt+XOiCF2gLZILYTfZ4BhXMUgKggtsoCc=";
};
nativeBuildInputs = [
2022-11-10T02:58:42 An auto update branch exists with message `awscli2: 2.8.9 -> 2.8.10`. New version is 2.8.11.
2022-11-10T02:58:42 The auto update branch does not match or exceed the new version.
2022-11-10T03:17:36 Successfully finished processing
2022-11-10T03:17:36 cachix "/nix/store/q0j6r6bwnvd0mdiwgv76k59d8a78l5lw-awscli2-2.8.11"
2022-11-10T03:17:46 [check][nixpkgs-review]
2022-11-10T03:23:29 Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
2 packages built:
2022-11-10T03:23:32 Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for awscli2 is: "Unified tool to manage your AWS services"
meta.homepage for awscli2 is: "https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html"
meta.changelog for awscli2 is: "https://github.com/aws/aws-cli/blob/2.8.11/CHANGELOG.rst"
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
- [Compare changes on GitHub](https://github.com/aws/aws-cli/compare/2.8.9...2.8.11)
###### Impact
Checks done (click to expand)
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 2.8.11 with grep in /nix/store/q0j6r6bwnvd0mdiwgv76k59d8a78l5lw-awscli2-2.8.11
- found 2.8.11 in filename of file in /nix/store/q0j6r6bwnvd0mdiwgv76k59d8a78l5lw-awscli2-2.8.11
---
Rebuild report (if merged into master) (click to expand)
```
2 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
awscli2
liquidsoap
```
Instructions to test this update (click to expand)
---
Either **download from Cachix**:
```
nix-store -r /nix/store/q0j6r6bwnvd0mdiwgv76k59d8a78l5lw-awscli2-2.8.11 \
--option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
--option trusted-public-keys '
nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A awscli2 https://github.com/r-ryantm/nixpkgs/archive/7bf5a3f3c86ec3d708cb802fd3152cecb7b77d7b.tar.gz
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/q0j6r6bwnvd0mdiwgv76k59d8a78l5lw-awscli2-2.8.11
ls -la /nix/store/q0j6r6bwnvd0mdiwgv76k59d8a78l5lw-awscli2-2.8.11/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
2 packages built:
---
###### Maintainer pings
cc @bhipple @davegallant @bryanasdev000 @devusb @anthonyroussel for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
2022-11-10T03:23:35 Updated existing PR
2022-11-10T03:23:35 https://api.github.com/repos/NixOS/nixpkgs/pulls/200352
2022-11-10T13:19:04 awscli2 0 -> 1
2022-11-10T13:19:08 attrpath: awscli2
2022-11-10T13:19:09 Checking auto update branch...
2022-11-10T13:19:14 [version]
2022-11-10T13:19:14 [version] generic version rewriter does not support multiple hashes
2022-11-10T13:19:14 [rustCrateVersion]
2022-11-10T13:19:14 [rustCrateVersion] No cargoSha256 found
2022-11-10T13:19:14 [golangModuleVersion]
2022-11-10T13:19:14 [golangModuleVersion] Not a buildGoModule package with vendorSha256
2022-11-10T13:19:14 [updateScript]
2022-11-10T13:19:40 [updateScript] Success
2022-11-10T13:19:40 [updateScript] this derivation will be built:
/nix/store/5l61jp1xs0sd4aaksyb5saii6dlh7pw4-packages.json.drv
these 5 paths will be fetched (1.08 MiB download, 4.37 MiB unpacked):
/nix/store/6cbw1ijcl2yh8abwm7i9nv7xm6zrhc75-nss-cacert-3.83
/nix/store/6msfiyyzwfv5mvifji5427f6q5aaqgdq-nixpkgs-fmt-1.3.0
/nix/store/75sra1ma36jvq822c1ywg0z02fpc0vff-nix-update-0.7.0
/nix/store/ahqhkifjflm36mgq2pcs4im7pc1wwn77-nixpkgs-review-2.7.0
/nix/store/g5hm5vhnd9bjpkdbn8a5jgy8cd2fi5jc-nix-prefetch-0.4.1
copying path '/nix/store/g5hm5vhnd9bjpkdbn8a5jgy8cd2fi5jc-nix-prefetch-0.4.1' from 'https://cache.nixos.org'...
copying path '/nix/store/6cbw1ijcl2yh8abwm7i9nv7xm6zrhc75-nss-cacert-3.83' from 'https://cache.nixos.org'...
copying path '/nix/store/6msfiyyzwfv5mvifji5427f6q5aaqgdq-nixpkgs-fmt-1.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/ahqhkifjflm36mgq2pcs4im7pc1wwn77-nixpkgs-review-2.7.0' from 'https://cache.nixos.org'...
copying path '/nix/store/75sra1ma36jvq822c1ywg0z02fpc0vff-nix-update-0.7.0' from 'https://cache.nixos.org'...
building '/nix/store/5l61jp1xs0sd4aaksyb5saii6dlh7pw4-packages.json.drv'...
Going to be running update for following packages:
- awscli2-2.8.9
Press Enter key to continue...
Running update for:
- awscli2-2.8.9: UPDATING ...
- awscli2-2.8.9: DONE.
Packages updated!
2022-11-10T13:19:40
2022-11-10T13:19:40 [quotedUrls]
2022-11-10T13:19:40 [quotedUrls] nothing found to replace
2022-11-10T13:19:41 Diff after rewrites:
diff --git a/pkgs/tools/admin/awscli2/default.nix b/pkgs/tools/admin/awscli2/default.nix
index 8b4b42e3123..a666a4cf8ed 100644
--- a/pkgs/tools/admin/awscli2/default.nix
+++ b/pkgs/tools/admin/awscli2/default.nix
@@ -32,14 +32,14 @@ let
in
with py.pkgs; buildPythonApplication rec {
pname = "awscli2";
- version = "2.8.9"; # N.B: if you change this, check if overrides are still up-to-date
+ version = "2.8.11"; # N.B: if you change this, check if overrides are still up-to-date
format = "pyproject";
src = fetchFromGitHub {
owner = "aws";
repo = "aws-cli";
rev = version;
- sha256 = "sha256-7So0zPknO5rIiWY7o82HXl+Iw2+fQmhYvrfrFMCDdDE=";
+ sha256 = "sha256-E4O4DEdPwfIt+XOiCF2gLZILYTfZ4BhXMUgKggtsoCc=";
};
nativeBuildInputs = [
2022-11-10T13:22:19 Old version 2.8.9" not present in master derivation file with contents: { lib
, python3
, groff
, less
, fetchFromGitHub
, nix-update-script
}:
let
py = python3.override {
packageOverrides = self: super: {
awscrt = super.awscrt.overridePythonAttrs (oldAttrs: rec {
version = "0.14.0";
src = self.fetchPypi {
inherit (oldAttrs) pname;
inherit version;
hash = "sha256-MGLTFcsWVC/gTdgjny6LwyOO6QRc1QcLkVzy677Lqqw=";
};
});
prompt-toolkit = super.prompt-toolkit.overridePythonAttrs (oldAttrs: rec {
version = "3.0.28";
src = self.fetchPypi {
pname = "prompt_toolkit";
inherit version;
hash = "sha256-nxzRax6GwpaPJRnX+zHdnWaZFvUVYSwmnRTp7VK1FlA=";
};
});
};
};
in
with py.pkgs; buildPythonApplication rec {
pname = "awscli2";
version = "2.8.11"; # N.B: if you change this, check if overrides are still up-to-date
format = "pyproject";
src = fetchFromGitHub {
owner = "aws";
repo = "aws-cli";
rev = version;
sha256 = "sha256-E4O4DEdPwfIt+XOiCF2gLZILYTfZ4BhXMUgKggtsoCc=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
awscrt
bcdoc
colorama
cryptography
distro
docutils
groff
less
prompt-toolkit
pyyaml
rsa
ruamel-yaml
wcwidth
python-dateutil
jmespath
urllib3
];
checkInputs = [
jsonschema
mock
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace "colorama>=0.2.5,<0.4.4" "colorama" \
--replace "distro>=1.5.0,<1.6.0" "distro" \
--replace "docutils>=0.10,<0.16" "docutils" \
--replace "wcwidth<0.2.0" "wcwidth"
'';
postInstall = ''
mkdir -p $out/${python3.sitePackages}/awscli/data
${python3.interpreter} scripts/gen-ac-index --index-location $out/${python3.sitePackages}/awscli/data/ac.index
mkdir -p $out/share/bash-completion/completions
echo "complete -C $out/bin/aws_completer aws" > $out/share/bash-completion/completions/aws
mkdir -p $out/share/zsh/site-functions
mv $out/bin/aws_zsh_completer.sh $out/share/zsh/site-functions
rm $out/bin/aws.cmd
'';
doCheck = true;
preCheck = ''
export PATH=$PATH:$out/bin
export HOME=$(mktemp -d)
'';
pytestFlagsArray = [
"-Wignore::DeprecationWarning"
];
disabledTestPaths = [
# Integration tests require networking
"tests/integration"
# Disable slow tests (only run unit tests)
"tests/backends"
"tests/functional"
];
pythonImportsCheck = [
"awscli"
];
passthru = {
python = py; # for aws_shell
updateScript = nix-update-script {
attrPath = pname;
};
};
meta = with lib; {
homepage = "https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html";
changelog = "https://github.com/aws/aws-cli/blob/${version}/CHANGELOG.rst";
description = "Unified tool to manage your AWS services";
license = licenses.asl20;
maintainers = with maintainers; [ bhipple davegallant bryanasdev000 devusb anthonyroussel ];
};
}