From d3b010c38c449ea17bf7beba48de39acec26ae04 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 20 Nov 2024 20:33:10 +0000 Subject: gnu: Respect --cores build argument in some python packages. Reported by Greg Hogan in #74445. * gnu/packages/astronomy.scm (python-asdf-astropy, python-astropy, python-photutils, python-poppy, python-regions, python-reproject, python-sunpy, python-spectral-cube, python-stdatamodels, python-pysiaf, python-sbpy, python-asdf-coordinates-schemas, python-roman-datamodels, python-webbpsf, python-yt): [arguments]: Adjust "-n" or "--numprocess" to respect "--cores" build argument. * gnu/packages/check.scm (python-crosshair): Likewise. * gnu/packages/databases.scm (python-fastparquet, python-pycurl, awscli, python-s3transfer): Likewise. * gnu/packages/python-xyz.scm (python-glymur, python-zarr, python-dask): Likewise. Change-Id: Ifbc6435e4ad22b0ae822b485bccca41eaa165cc5 --- gnu/packages/python-web.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c030deeb12..cf3c15857c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2026,7 +2026,7 @@ (define-public python-pycurl (build-system pyproject-build-system) (arguments '(#:test-flags - (list "-n" "auto" + (list "--n" (number->string (parallel-job-count)) "-k" (string-append ;; Disable hanginging tests "not test_multi_socket_select" @@ -4235,7 +4235,7 @@ (define-public awscli (arguments (list #:test-flags - #~(list "--numprocesses" "auto" + #~(list "--numprocesses" (number->string (parallel-job-count)) ;; Tests require networking. "--ignore" "tests/integration" ;; It strugles to set PYTHONPATH. @@ -4909,7 +4909,7 @@ (define-public python-s3transfer (arguments (list #:test-flags - #~(list "--numprocesses" "auto" + #~(list "--numprocesses" (number->string (parallel-job-count)) ;; Tests require networking. "--ignore" "tests/integration"))) (native-inputs -- cgit v1.2.3