diff options
| author | Sandro <sandro.jaeckel@gmail.com> | 2024-10-05 04:48:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-05 04:48:50 +0200 |
| commit | 524cecfcf80bbf8ae946644fb4aa2ef62ccc8a2a (patch) | |
| tree | d3547ea038adc89108cbcbd223b7ba8182289052 /pkgs/development/python-modules | |
| parent | 32379e1a0b2a1bf4692c07ed4543ef48a51b878f (diff) | |
| parent | 140cfc11549639158aff91bc2edaec049fc68830 (diff) | |
python312Packages.boto{core,3}: 1.34.131 -> 1.35.30, awscli: 1.33.13 -> 1.34.30 (#345657)
Diffstat (limited to 'pkgs/development/python-modules')
| -rw-r--r-- | pkgs/development/python-modules/boto3/default.nix | 27 | ||||
| -rw-r--r-- | pkgs/development/python-modules/botocore/default.nix | 31 |
2 files changed, 31 insertions, 27 deletions
diff --git a/pkgs/development/python-modules/boto3/default.nix b/pkgs/development/python-modules/boto3/default.nix index 98d8dc30c64f..08c3871a91ea 100644 --- a/pkgs/development/python-modules/boto3/default.nix +++ b/pkgs/development/python-modules/boto3/default.nix @@ -1,14 +1,19 @@ { lib, - botocore, buildPythonPackage, fetchFromGitHub, + + # build-system + setuptools, + + # dependencies + botocore, jmespath, + s3transfer, + + # tests pytest-xdist, pytestCheckHook, - pythonOlder, - s3transfer, - setuptools, }: buildPythonPackage rec { @@ -16,22 +21,20 @@ buildPythonPackage rec { inherit (botocore) version; # N.B: botocore, boto3, awscli needs to be updated in lockstep, bump botocore version for updating these. pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "boto"; repo = "boto3"; rev = "refs/tags/${version}"; - hash = "sha256-4WP5E8LuuxWZi8DK8yOpvyy6isSfB4eFcbctkTEd3As="; + hash = "sha256-b08tC8EA6iW0O/7rseD9pTkKh/cJ2fe3xJZkEqxS6VI="; }; - nativeBuildInputs = [ + build-system = [ setuptools ]; pythonRelaxDeps = [ "s3transfer" ]; - propagatedBuildInputs = [ + dependencies = [ botocore jmespath s3transfer @@ -53,16 +56,16 @@ buildPythonPackage rec { crt = [ botocore.optional-dependencies.crt ]; }; - meta = with lib; { + meta = { description = "AWS SDK for Python"; homepage = "https://github.com/boto/boto3"; changelog = "https://github.com/boto/boto3/blob/${version}/CHANGELOG.rst"; - license = licenses.asl20; + license = lib.licenses.asl20; longDescription = '' Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use of services like Amazon S3 and Amazon EC2. ''; - maintainers = with maintainers; [ anthonyroussel ]; + maintainers = with lib.maintainers; [ anthonyroussel ]; }; } diff --git a/pkgs/development/python-modules/botocore/default.nix b/pkgs/development/python-modules/botocore/default.nix index 974846ebd287..34e6e1a7edc2 100644 --- a/pkgs/development/python-modules/botocore/default.nix +++ b/pkgs/development/python-modules/botocore/default.nix @@ -3,34 +3,35 @@ awscrt, buildPythonPackage, fetchPypi, + + # build-system + setuptools, + + # dependencies jmespath, - jsonschema, - pytestCheckHook, python-dateutil, - pythonOlder, - setuptools, urllib3, + + # tests + jsonschema, + pytestCheckHook, }: buildPythonPackage rec { pname = "botocore"; - version = "1.35.29"; # N.B: if you change this, change boto3 and awscli to a matching version + version = "1.35.30"; # N.B: if you change this, change boto3 and awscli to a matching version pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchPypi { inherit pname version; - hash = "sha256-TtKKsDZ1uwCKKQxFLF3deqpdTj+hkSqtvfkwV+6ENis="; + hash = "sha256-q1NQ6KUOSNNx+i1RfWXCmkDEN4jLmhU4f5PqxaI98P0="; }; - pythonRelaxDeps = [ "urllib3" ]; - - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ jmespath python-dateutil urllib3 @@ -55,11 +56,11 @@ buildPythonPackage rec { crt = [ awscrt ]; }; - meta = with lib; { + meta = { description = "Low-level interface to a growing number of Amazon Web Services"; homepage = "https://github.com/boto/botocore"; changelog = "https://github.com/boto/botocore/blob/${version}/CHANGELOG.rst"; - license = licenses.asl20; - maintainers = with maintainers; [ anthonyroussel ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ anthonyroussel ]; }; } |
