diff options
author | Sharlatan Hellseher <[email protected]> | 2024-11-20 20:33:10 +0000 |
---|---|---|
committer | Sharlatan Hellseher <[email protected]> | 2024-11-23 15:55:05 +0000 |
commit | d3b010c38c449ea17bf7beba48de39acec26ae04 (patch) | |
tree | 44cd3be933eb0994beb9f52f9b29b70d9289d82c /gnu/packages/python-web.scm | |
parent | 8d6389b866d91a72569ecf50ddf313c17430d34b (diff) |
gnu: Respect --cores build argument in some python packages.
Reported by Greg Hogan <[email protected]> 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]<test-flags>: 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
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r-- | gnu/packages/python-web.scm | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ Amazon S3 compatible object storage server.") (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 @@ opt.override_default_trust_store_from_path(None, os.getenv('SSL_CERT_FILE')) if (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 @@ Betamax that may possibly end up in the main package.") (arguments (list #:test-flags - #~(list "--numprocesses" "auto" + #~(list "--numprocesses" (number->string (parallel-job-count)) ;; Tests require networking. "--ignore" "tests/integration"))) (native-inputs |