sharlatan pushed a commit to branch master
in repository guix.

commit 20ecc8b5a995dd782891dcfe213dd3c67295fe30
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Nov 19 15:21:53 2024 +0100

    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 <[email protected]>
---
 gnu/packages/python-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5d2510cb23..4bfdfc2c5d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19379,7 +19379,7 @@ Amazon Web Services (AWS) API.")
     (arguments
      (list
       #:test-flags
-      #~(list "--numprocesses" "auto"
+      #~(list "--numprocesses" (number->string (parallel-job-count))
               ;; Integration tests are trying to connect to AWS.
               "--ignore" "tests/integration")))
     (native-inputs

Reply via email to