mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: python-face: Fix build.
* gnu/packages/python-xyz.scm (python-face): Fix build. [arguments] <#:phases>: Run the tests using the full path to the Python binary from the inputs to fix a failing test. Change-Id: Ie8951d622f91381207498e9adc398aa92b309cdf
This commit is contained in:
parent
dcc63db15c
commit
60f89a2fe4
1 changed files with 4 additions and 1 deletions
|
@ -36562,7 +36562,10 @@ (define-public python-face
|
|||
(when tests?
|
||||
;; Make installed package available for running the tests.
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "pytest" "-v")))))))
|
||||
;; We must provide the full path to the Python binary
|
||||
;; otherwise "test_search_prs_basic" test fails.
|
||||
(invoke (search-input-file inputs "/bin/python")
|
||||
"-m" "pytest" "-v")))))))
|
||||
(native-inputs
|
||||
(list python-pytest))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in a new issue