summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-28 22:49:11 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-29 00:20:31 +0000
commitc566275595e97e978c41dc840db22df6df65e1d2 (patch)
tree89ff3d31e73628fddd2e1679d9c82e0202a66882
parent7d9250f65aa8285a3ae277f10a4bd0eb2beb13db (diff)
gnu: awscli: Update to 1.42.61.
* gnu/packages/python-crypto.scm (python-rsa-for-awscli-1): New variable. * gnu/packages/python-web.scm (awscli): Update to 1.42.61. [arguments] <tests>: Reduce amount of tests, run just unit tests. Limit threads count up to 8 to persist tests stability in CI. [inputs]: Remove python-docutils-0.16 and python-rsa; add python-docutils-0.19 and python-rsa-for-awscli-1. Fixes: guix/guix#3920 Change-Id: Idfe0f7eb17b816654018dea335169ed20aa53980
-rw-r--r--gnu/packages/python-crypto.scm14
-rw-r--r--gnu/packages/python-web.scm31
2 files changed, 28 insertions, 17 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 63b25bd913b..2f78c1faa56 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1261,6 +1261,20 @@ generation according to PKCS#1 version 1.5. It can be used as a Python
1261library as well as on the command line.") 1261library as well as on the command line.")
1262 (license license:asl2.0))) 1262 (license license:asl2.0)))
1263 1263
1264(define-public python-rsa-for-awscli-1
1265 (hidden-package
1266 (package
1267 (inherit python-rsa)
1268 (version "3.4.2")
1269 (source
1270 (origin
1271 (method url-fetch)
1272 (uri (pypi-uri "rsa" version))
1273 (sha256
1274 (base32 "1dcxvszbikgzh99ybdc7jq0zb9wspy2ds8z9mjsqiyv3q884xpr5"))))
1275 (native-inputs
1276 (list python-setuptools)))))
1277
1264(define-public python-scrypt 1278(define-public python-scrypt
1265 (package 1279 (package
1266 (name "python-scrypt") 1280 (name "python-scrypt")
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d4466343e0d..2bd61c84606 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6793,32 +6793,29 @@ opt.override_default_trust_store_from_path(None, os.getenv('SSL_CERT_FILE')) if
6793 (package 6793 (package
6794 ;; Note: updating awscli typically requires updating botocore as well. 6794 ;; Note: updating awscli typically requires updating botocore as well.
6795 (name "awscli") 6795 (name "awscli")
6796 (version "1.36.32") 6796 (version "1.42.61")
6797 (source 6797 (source
6798 (origin 6798 (origin
6799 (method git-fetch) ; no tests in PyPI release 6799 (method git-fetch)
6800 (uri (git-reference 6800 (uri (git-reference
6801 (url "https://github.com/aws/aws-cli") 6801 (url "https://github.com/aws/aws-cli")
6802 (commit version))) 6802 (commit version)))
6803 (file-name (git-file-name name version)) 6803 (file-name (git-file-name name version))
6804 (sha256 6804 (sha256
6805 (base32 "1b4bfv7mgrxw7nfbv9ag97qcsqch2p7raip6111rqg5vdhvsck19")))) 6805 (base32 "1fbqh4w7jj5abn87nbhyir25hdviirj0lblcdsqqkadcjh67877h"))))
6806 (build-system pyproject-build-system) 6806 (build-system pyproject-build-system)
6807 (arguments 6807 (arguments
6808 (list 6808 (list
6809 ;; tests: 2692 passed, 40 warnings
6809 #:test-flags 6810 #:test-flags
6810 #~(list "--numprocesses" (number->string (parallel-job-count)) 6811 #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
6811 ;; Tests require networking. 6812 ;; Compete test suite is huge and compute hungry, run just unit
6812 "--ignore" "tests/integration" 6813 ;; tests.
6813 ;; It struggles to set PYTHONPATH. 6814 "--ignore=tests/dependencies"
6814 ;; 6815 "--ignore=tests/functional"
6815 ;; AssertionError: 'argument operation: Invalid choice, valid 6816 "--ignore=tests/integration"
6816 ;; choices are:' not found in ' 6817 ;; TypeError: 'Mock' object is not subscriptable.
6817 "-k" 6818 "-k" "not test_no_groff_or_mandoc_exists")
6818 (string-append "not test_subscribe_to_shard_removed"
6819 " and not test_start_conversation_removed"
6820 ;; Tests fail during mocking.
6821 " and not test_no_groff_or_mandoc_exists"))
6822 #:phases 6819 #:phases
6823 #~(modify-phases %standard-phases 6820 #~(modify-phases %standard-phases
6824 (add-after 'unpack 'fix-reference-to-groff 6821 (add-after 'unpack 'fix-reference-to-groff
@@ -6845,9 +6842,9 @@ opt.override_default_trust_store_from_path(None, os.getenv('SSL_CERT_FILE')) if
6845 (list groff-minimal 6842 (list groff-minimal
6846 python-botocore 6843 python-botocore
6847 python-colorama 6844 python-colorama
6848 python-docutils-0.16 6845 python-docutils-0.19
6849 python-pyyaml 6846 python-pyyaml
6850 python-rsa 6847 python-rsa-for-awscli-1
6851 python-s3transfer)) 6848 python-s3transfer))
6852 (home-page "https://aws.amazon.com/cli/") 6849 (home-page "https://aws.amazon.com/cli/")
6853 (synopsis "Command line client for AWS") 6850 (synopsis "Command line client for AWS")