* [bug#74436] [PATCH 0/2] Respect --cores build argument.
@ 2024-11-19 14:12 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
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-11-19 14:12 UTC (permalink / raw)
To: 74436; +Cc: Nicolas Graves
This commit ensures that a user-provided --cores argument to guix
build is respected.
Nicolas Graves (2):
gnu: python-botocore: Respect --cores build argument.
gnu: python-boto3: Respect --cores build argument.
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
2.46.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#74436] [PATCH 1/2] gnu: python-botocore: Respect --cores build argument.
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 ` Nicolas Graves via Guix-patches via
2024-11-19 14:21 ` [bug#74436] [PATCH 2/2] gnu: python-boto3: " Nicolas Graves via Guix-patches via
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
2 siblings, 1 reply; 5+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-11-19 14:21 UTC (permalink / raw)
To: 74436; +Cc: Nicolas Graves
This commit ensures that a user-provided --cores argument to guix
build is respected.
* gnu/packages/python-xyz.scm (python-botocore)[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 576e0e626f..6394999b78 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19340,7 +19340,7 @@ (define-public python-botocore
(arguments
(list
#:test-flags
- #~(list "--numprocesses" "auto"
+ #~(list "--numprocesses" (number->string (parallel-job-count))
;; It strugles to find 'botocore'.
"--ignore" "tests/functional/leak/test_resource_leaks.py"
;; Tests require networking.
--
2.46.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#74436] [PATCH 2/2] gnu: python-boto3: Respect --cores build argument.
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
0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-11-19 14:21 UTC (permalink / raw)
To: 74436; +Cc: Nicolas Graves
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#74436] Nicolas Graves <ngraves@ngraves.fr>
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 15:25 ` Sharlatan Hellseher
2024-11-19 19:43 ` bug#74436: [PATCH 0/2] Respect --cores build argument Sharlatan Hellseher
2 siblings, 0 replies; 5+ messages in thread
From: Sharlatan Hellseher @ 2024-11-19 15:25 UTC (permalink / raw)
To: 74436
[-- Attachment #1: Type: text/plain, Size: 99 bytes --]
Hi Nicolas,
I see the regression in CI as well. Thanks for the patches I'll apply
them.
--
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#74436: [PATCH 0/2] Respect --cores build argument.
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 15:25 ` [bug#74436] Nicolas Graves <ngraves@ngraves.fr> Sharlatan Hellseher
@ 2024-11-19 19:43 ` Sharlatan Hellseher
2 siblings, 0 replies; 5+ messages in thread
From: Sharlatan Hellseher @ 2024-11-19 19:43 UTC (permalink / raw)
To: 74436-done
[-- Attachment #1: Type: text/plain, Size: 131 bytes --]
Hi,
Pushed as 20ecc8b5a995dd782891dcfe213dd3c67295fe30, and
3f6691b77bccc13c5038232c77f7f1bb780e1de5 to master.
--
Thanks,
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-11-19 20:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [bug#74436] [PATCH 2/2] gnu: python-boto3: " Nicolas Graves via Guix-patches via
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
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).