botocore: 1.12.48 -> 1.12.62

boto3: 1.9.36 -> 1.9.62
awscli: 1.16.72

I update all three of these at a time because they rely on each other
and get annoyed when such changes are non-atomic. Also added a note to
the packages telling people that this is needed. I tested awscli and the
libraries against a real account.
This commit is contained in:
Dan Peebles
2018-12-10 16:19:05 -05:00
parent 7d216be655
commit 828547556e
3 changed files with 6 additions and 12 deletions
+2 -8
View File
@@ -19,11 +19,11 @@ let
in py.pkgs.buildPythonApplication rec {
pname = "awscli";
version = "1.16.60";
version = "1.16.72"; # N.B: if you change this, change botocore to a matching version too
src = py.pkgs.fetchPypi {
inherit pname version;
sha256 = "25bcc6cf2304356a78429671999857ff33f88761d81bcee63463a86a6780dcdc";
sha256 = "1ld4a6yxnh0v96fjjp8wjf7zvx41grl57mqg92p6zbfssr2jbqfv";
};
# No tests included
@@ -42,12 +42,6 @@ in py.pkgs.buildPythonApplication rec {
less
];
postPatch = ''
for i in {py,cfg}; do
substituteInPlace setup.$i --replace "botocore==1.12.50" "botocore>=1.11,<1.13"
done
'';
postInstall = ''
mkdir -p $out/etc/bash_completion.d
echo "complete -C $out/bin/aws_completer aws" > $out/etc/bash_completion.d/awscli