[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
112/299: gnu: python-black: Limit number of test processes.
From: |
guix-commits |
Subject: |
112/299: gnu: python-black: Limit number of test processes. |
Date: |
Mon, 13 Jan 2025 07:30:25 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 937a5fb08f42400a3bc96b261baf469a001a7774
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 2 15:36:40 2025 +0100
gnu: python-black: Limit number of test processes.
* gnu/packages/python-xyz.scm (python-black)[arguments]: Do not exceed 8
parallel jobs when running tests.
[native-inputs]: Add python-pytest-xdist.
Change-Id: Ifa0ab22e6b5c6ba3fdc588ae6a25ca4ad410936b
---
gnu/packages/python-xyz.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 605e308226..4fb16fcd27 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8799,8 +8799,13 @@ and integrated feature-set for programming Python
effectively.")
"0xa8vkgbvmkdh4vsk967xh81i6g47fcqf5vngdkvrqxgjx6acvl4"))))
(build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
+ (list
+ #:test-flags
+ ;; On the build farm we run out of resources if we let the build system
+ ;; autodetect the number of parallel processes.
+ '(list "--numprocesses" (number->string (min (parallel-job-count) 8)))
+ #:phases
+ '(modify-phases %standard-phases
(add-after 'patch-source-shebangs 'use-absolute-file-names
(lambda* (#:key inputs #:allow-other-keys)
(substitute* (find-files "tests" "\\.py$")
@@ -8818,6 +8823,7 @@ and integrated feature-set for programming Python
effectively.")
(native-inputs
(list python-pytest
python-pytest-aiohttp
+ python-pytest-xdist
python-hatch-fancy-pypi-readme
python-hatch-vcs
python-hatchling))
- 33/299: gnu: python-virtualenv: Update to 20.28.0., (continued)
- 33/299: gnu: python-virtualenv: Update to 20.28.0., guix-commits, 2025/01/13
- 44/299: gnu: python-joblib: Disable one additional test., guix-commits, 2025/01/13
- 41/299: gnu: python-tox: Simplify., guix-commits, 2025/01/13
- 42/299: gnu: python-pydantic: Fix build., guix-commits, 2025/01/13
- 38/299: gnu: python-httpx: Update to 0.28.1., guix-commits, 2025/01/13
- 47/299: gnu: python-email-validator: Update to 2.2.0., guix-commits, 2025/01/13
- 59/299: gnu: python-httpretty: Enable tests., guix-commits, 2025/01/13
- 92/299: gnu: python-dnspython: Disable ECDSA tests., guix-commits, 2025/01/13
- 93/299: gnu: python-ipydatawidgets: Disable more tests and add inputs., guix-commits, 2025/01/13
- 97/299: gnu: python-openapi-core: Update to 0.19.4., guix-commits, 2025/01/13
- 112/299: gnu: python-black: Limit number of test processes.,
guix-commits <=
- 111/299: gnu: python-black: Update to 24.10.0., guix-commits, 2025/01/13
- 117/299: gnu: python-nr-date: Remove old version of dataclasses., guix-commits, 2025/01/13
- 118/299: gnu: python-astral: Remove old version of dataclasses., guix-commits, 2025/01/13
- 120/299: gnu: python-botocore: Update to 1.35.90., guix-commits, 2025/01/13
- 121/299: gnu: python-pyvisa: Update to 1.14.1., guix-commits, 2025/01/13
- 69/299: gnu: python-flask-babel: Update to 4.0.0., guix-commits, 2025/01/13
- 71/299: gnu: python-pdfminer-six: Update to 20240706., guix-commits, 2025/01/13
- 73/299: gnu: beancount: Fix build., guix-commits, 2025/01/13
- 75/299: gnu: python-rdflib-6: Update to 6.3.2., guix-commits, 2025/01/13
- 77/299: gnu: python-isodate: Update to 0.7.2., guix-commits, 2025/01/13