From 3ce758f2e3ef4f60819321e32911131a54dd3d83 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 9 Oct 2025 10:59:47 +0100 Subject: [PATCH] gnu: python-awscrt: Update to 0.26.1. * gnu/packages/python-web.scm (python-awscrt): Update to 0.26.1. [arguments] : Use 'unittest' : Move her from custom 'check. : Use default 'check. [native-inputs]: Remove python-wheel. Change-Id: I6020157f83bff0b51e311c715b6b5023d2ce3156 --- gnu/packages/python-web.scm | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ecf732625415a95fa002d5d1c0546948d732ed40..8db5645069f549b977be39866a40e17572c485e7 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")