summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-09 10:59:47 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-09 11:10:51 +0100
commit3ce758f2e3ef4f60819321e32911131a54dd3d83 (patch)
tree926f566236329ace4dad2afd0020a32e3a3ae3f4 /gnu/packages/python-web.scm
parent925d10cc642d60c3f67a8423b4636da3c618e983 (diff)
gnu: python-awscrt: Update to 0.26.1.
* gnu/packages/python-web.scm (python-awscrt): Update to 0.26.1. [arguments] <test-backend>: Use 'unittest' <test-flags>: Move her from custom 'check. <phases>: Use default 'check. [native-inputs]: Remove python-wheel. Change-Id: I6020157f83bff0b51e311c715b6b5023d2ce3156
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm17
1 files changed, 6 insertions, 11 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ecf73262541..8db5645069f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6298,16 +6298,18 @@ supports url redirection and retries, and also gzip and deflate decoding.")
(define-public python-awscrt
(package
(name "python-awscrt")
- (version "0.23.0")
+ (version "0.26.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "awscrt" version))
(sha256
- (base32 "0a669xxfmgw3g6xpcnm64pbmlrbxw5wf3jcrivixscl2glapdxgx"))))
+ (base32 "0plkc0i0gc6z8fqnyy8kbg43sv3jnv8shcavcz0wb134riykmmm8"))))
(build-system pyproject-build-system)
(arguments
(list
+ #:test-backend #~'unittest
+ #:test-flags #~(list "discover" "--verbose")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'disable-broken-tests
@@ -6350,19 +6352,12 @@ opt.override_default_trust_store_from_path(None, os.getenv('SSL_CERT_FILE')) if
bundle "')\n"))))))
(add-after 'unpack 'use-system-libraries
(lambda _
- (setenv "AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO" "1")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python3" "-m" "unittest"
- "discover" "--verbose")))))))
+ (setenv "AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO" "1"))))))
(inputs (list openssl))
(native-inputs (list cmake-minimal
- python-setuptools
- python-wheel
- ;; For tests only
nss-certs-for-test
python-boto3
+ python-setuptools
python-websockets))
(home-page "https://github.com/awslabs/aws-crt-python")
(synopsis "Common runtime for AWS Python projects")