mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 04:37:36 -05:00
gnu: python-cloudpickle: Do not alter PYTHONPATH.
* gnu/packages/python.scm (python-cloudpickle) [phases]{do-not-override-PYTHONPATH}: Delete phase. Remove trailing #t.
This commit is contained in:
parent
aa7056f1f3
commit
44ddafe167
1 changed files with 1 additions and 10 deletions
|
@ -19262,20 +19262,11 @@ (define-public python-cloudpickle
|
|||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases (modify-phases %standard-phases
|
||||
(add-before 'check 'do-not-override-PYTHONPATH
|
||||
(lambda _
|
||||
;; Append to PYTHONPATH instead of overriding it so
|
||||
;; that dependencies from Guix can be found.
|
||||
(substitute* "tests/testutils.py"
|
||||
(("env\\['PYTHONPATH'\\] = pythonpath")
|
||||
"env['PYTHONPATH'] += os.pathsep + pythonpath"))
|
||||
#t))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(if tests?
|
||||
(invoke "pytest" "-s" "-vv")
|
||||
(format #t "test suite not run~%"))
|
||||
#t)))))
|
||||
(format #t "test suite not run~%")))))))
|
||||
(native-inputs
|
||||
`(;; For tests.
|
||||
("python-psutil" ,python-psutil)
|
||||
|
|
Loading…
Reference in a new issue