From e3fbf88004b6573011a0ab1bb32936ece76ec092 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Mon, 19 Dec 2022 06:08:16 +0100 Subject: [PATCH 1/2] awscli2: 2.9.6 -> 2.9.8 --- pkgs/tools/admin/awscli2/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/awscli2/default.nix b/pkgs/tools/admin/awscli2/default.nix index 0a0838d676d9..887f79ef4bdb 100644 --- a/pkgs/tools/admin/awscli2/default.nix +++ b/pkgs/tools/admin/awscli2/default.nix @@ -34,14 +34,14 @@ let in with py.pkgs; buildPythonApplication rec { pname = "awscli2"; - version = "2.9.6"; # N.B: if you change this, check if overrides are still up-to-date + version = "2.9.8"; # 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; - hash = "sha256-3zB0Uy2pmkrOLb+/mXZGs/pnzo6zi2zVPyeNPGPVQJM="; + hash = "sha256-Q1iHGwkFg0rkunwEgWQIqLEPAGfOLfqA1UpjmCe2x8M="; }; nativeBuildInputs = [ @@ -120,6 +120,8 @@ with py.pkgs; buildPythonApplication rec { python = py; # for aws_shell updateScript = nix-update-script { attrPath = pname; + # Excludes 1.x versions from the Github tags list + extraArgs = [ "--version-regex" "^(2\.(.*))" ]; }; tests.version = testers.testVersion { package = awscli2; From 6f8a0e61204431e58c96feaf1405ea4756ca0657 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Mon, 19 Dec 2022 06:22:06 +0100 Subject: [PATCH 2/2] python310Packages.awscrt: 0.15.1 -> 0.16.1 --- pkgs/development/python-modules/awscrt/default.nix | 10 +++------- pkgs/tools/admin/awscli2/default.nix | 9 --------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/awscrt/default.nix b/pkgs/development/python-modules/awscrt/default.nix index 85ce9deba6cf..9ebf947c7346 100644 --- a/pkgs/development/python-modules/awscrt/default.nix +++ b/pkgs/development/python-modules/awscrt/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "awscrt"; - version = "0.15.1"; + version = "0.16.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-2VBdad9NL19eW2Djot2gkynyjSCUvG4f0KnEub6M0vg="; + hash = "sha256-j9++euxSsvf6ZLkVJtyGdlOx6WWrAXEOczqwypYZkXA="; }; buildInputs = lib.optionals stdenv.isDarwin [ @@ -33,11 +33,6 @@ buildPythonPackage rec { "strictoverflow" ]; - postPatch = '' - substituteInPlace setup.py \ - --replace "extra_link_args += ['-Wl,-fatal_warnings']" "" - ''; - # gcc <10 is not supported, LLVM on darwin is just fine nativeBuildInputs = [ cmake @@ -58,6 +53,7 @@ buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/awslabs/aws-crt-python"; + changelog = "https://github.com/awslabs/aws-crt-python/releases/tag/v${version}"; description = "Python bindings for the AWS Common Runtime"; license = licenses.asl20; maintainers = with maintainers; [ davegallant ]; diff --git a/pkgs/tools/admin/awscli2/default.nix b/pkgs/tools/admin/awscli2/default.nix index 887f79ef4bdb..0982e47c5517 100644 --- a/pkgs/tools/admin/awscli2/default.nix +++ b/pkgs/tools/admin/awscli2/default.nix @@ -11,15 +11,6 @@ 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 {