1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: python-vsg: Remove pytest plugin inputs.

* gnu/packages/electronics.scm (python-vsg)
[arguments]<#:phases>: Drop modifications.
[inputs]: Remove python-pytest-cov and python-pytest-html, add
python-pytest.

Change-Id: I9d8519112b301a1245634746ee678be0e835cf8a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2026-02-08 11:52:06 +01:00
committed by Sharlatan Hellseher
parent 3a96221c79
commit e27f96d587

View File

@@ -3770,18 +3770,9 @@ design.")
;; Tests are expensive and may introduce race condition on systems with
;; high (more than 16) threads count; limit parallel jobs to 8x.
#~(list
"--numprocesses" (number->string (min 8 (parallel-job-count))))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'pathch-pytest-options
(lambda _
(substitute* "pyproject.toml"
((".*--cov=.*") "")
((".*--self-contained-html.*") "")
((".*-n.*auto.*") "")))))))
"--numprocesses" (number->string (min 8 (parallel-job-count))))))
(native-inputs
(list python-pytest-cov
python-pytest-html
(list python-pytest
python-pytest-xdist
python-setuptools))
(propagated-inputs