summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2024-12-31 22:52:02 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2024-12-31 22:52:02 +0300
commit60f89a2fe4e2de08838a4f923e89aea123a0a3c0 (patch)
treed54e665fd623203416a5725b4e2a81f44115b77d /gnu/packages/python-xyz.scm
parentdcc63db15c8b58d44aed540c3d1eb508867592bc (diff)
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5fd6cefbbe..68b1c42a40 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -36562,7 +36562,10 @@ into a human readable HTML table representation.")
(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