mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-stone: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-stone): Delete trailing #t. [phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
parent
4251539b73
commit
e2b35aeda0
1 changed files with 2 additions and 7 deletions
|
@ -18750,8 +18750,7 @@ user-space file systems in Python.")
|
||||||
(("pytest < 5") "pytest < 7"))
|
(("pytest < 5") "pytest < 7"))
|
||||||
;; We don't care about a coverage report.
|
;; We don't care about a coverage report.
|
||||||
(substitute* "test/requirements.txt"
|
(substitute* "test/requirements.txt"
|
||||||
(("coverage.*") "coverage\n"))
|
(("coverage.*") "coverage\n"))))
|
||||||
#t))
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
|
@ -18759,11 +18758,7 @@ user-space file systems in Python.")
|
||||||
(delete-file "test/test_js_client.py")
|
(delete-file "test/test_js_client.py")
|
||||||
(delete-file "test/test_tsd_types.py")
|
(delete-file "test/test_tsd_types.py")
|
||||||
(delete-file "test/test_python_gen.py")
|
(delete-file "test/test_python_gen.py")
|
||||||
(setenv "PYTHONPATH"
|
(invoke "pytest")))))))
|
||||||
(string-append (getcwd) ":"
|
|
||||||
(getenv "PYTHONPATH")))
|
|
||||||
(invoke "pytest"))
|
|
||||||
#t)))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-ply" ,python-ply)
|
`(("python-ply" ,python-ply)
|
||||||
("python-six" ,python-six)))
|
("python-six" ,python-six)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue