unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 74436@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>
Subject: [bug#74436] [PATCH 2/2] gnu: python-boto3: Respect --cores build argument.
Date: Tue, 19 Nov 2024 15:21:53 +0100	[thread overview]
Message-ID: <20241119142158.15651-2-ngraves@ngraves.fr> (raw)
In-Reply-To: <20241119142158.15651-1-ngraves@ngraves.fr>

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.
---
 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 6394999b78..1439c278bc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19379,7 +19379,7 @@ (define-public python-boto3
     (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
-- 
2.46.0





  reply	other threads:[~2024-11-19 14:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-19 14:12 [bug#74436] [PATCH 0/2] Respect --cores build argument Nicolas Graves via Guix-patches via
2024-11-19 14:21 ` [bug#74436] [PATCH 1/2] gnu: python-botocore: " Nicolas Graves via Guix-patches via
2024-11-19 14:21   ` Nicolas Graves via Guix-patches via [this message]
2024-11-19 15:25 ` [bug#74436] Nicolas Graves <ngraves@ngraves.fr> Sharlatan Hellseher
2024-11-19 19:43 ` bug#74436: [PATCH 0/2] Respect --cores build argument Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241119142158.15651-2-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=74436@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).