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

View file

@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "boto3";
version = "1.9.36";
version = "1.9.62"; # N.B: if you change this, change botocore too
src = fetchPypi {
inherit pname version;
sha256 = "2a9f3809b480803c1b1f28a19c554f1e1ceafd8db994a4236a0843b999ee6c56";
sha256 = "0rf3ik4bqr0qab2648rcaahycr2sih257ngz8brizyfln0lk1sg9";
};
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "botocore";
version = "1.12.48";
version = "1.12.62"; # N.B: if you change this, change boto3 and awscli to a matching version
src = fetchPypi {
inherit pname version;
sha256 = "7140e51ab0a7aa3b7fa9cf5fefa663e0cd097098fcbd51b12ff8884c8d967754";
sha256 = "0zgq3cldrh1x65s3vy1mhp1h5nnsdxw7ig1v0di7p8yns3iazsv7";
};
propagatedBuildInputs = [

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