gnu: python-boto3: Respect --cores build argument.

This commit ensures that a user-provided --cores argument to guix
build is respected.

* gnu/packages/python-xyz.scm (python-boto3)[arguments]
<#:test-flags>: Replace "auto" numprocesses by parallel-job-count.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2024-11-19 15:21:53 +01:00 committed by Sharlatan Hellseher
parent 3f6691b77b
commit 20ecc8b5a9
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -19379,7 +19379,7 @@ Amazon Web Services (AWS) API.")
(arguments (arguments
(list (list
#:test-flags #:test-flags
#~(list "--numprocesses" "auto" #~(list "--numprocesses" (number->string (parallel-job-count))
;; Integration tests are trying to connect to AWS. ;; Integration tests are trying to connect to AWS.
"--ignore" "tests/integration"))) "--ignore" "tests/integration")))
(native-inputs (native-inputs