From af7e8e66dd9501a6656d00a6bff0352ccc0f880e Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Thu, 18 Jan 2024 15:40:59 +0100 Subject: [PATCH] python311Packages.boto3: 1.33.6 -> 1.34.21 https://github.com/boto/boto3/compare/1.33.6...1.34.21 --- pkgs/development/python-modules/boto3/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/boto3/default.nix b/pkgs/development/python-modules/boto3/default.nix index 717bb264283f..3a48019b2e99 100644 --- a/pkgs/development/python-modules/boto3/default.nix +++ b/pkgs/development/python-modules/boto3/default.nix @@ -1,29 +1,39 @@ { lib , buildPythonPackage +, pythonOlder , fetchFromGitHub , botocore , jmespath , s3transfer +, pythonRelaxDepsHook , setuptools , pytestCheckHook }: buildPythonPackage rec { pname = "boto3"; - version = "1.33.6"; # N.B: if you change this, change botocore and awscli to a matching version + version = "1.34.21"; # N.B: if you change this, change botocore and awscli to a matching version format = "pyproject"; + disabled = pythonOlder "3.8"; + src = fetchFromGitHub { owner = "boto"; repo = pname; - rev = version; + rev = "refs/tags/${version}"; hash = "sha256-oOrUVBh1sbaOibU8A+bGZ4z7IEiE4gjHwZ+8889Hv60="; }; nativeBuildInputs = [ + pythonRelaxDepsHook setuptools ]; + pythonRelaxDeps = [ + "botocore" + "s3transfer" + ]; + propagatedBuildInputs = [ botocore jmespath