apteryx pushed a commit to branch cu/farewell-to-pythonpath in repository guix.
commit 4828f0d94f17798a3023fcefbde387ea7edecfb8 Author: Maxim Cournoyer <[email protected]> AuthorDate: Sun Jan 24 00:31:08 2021 -0500 gnu: python-pymediainfo: Do not set PYTHONPATH. * gnu/packages/python-xyz.scm (python-pymediainfo) [phases]{check}: Do not set PYTHONPATH. --- gnu/packages/python-xyz.scm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1924a1d..bf5ffc7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -497,13 +497,8 @@ simple function calls.") #t)) (replace 'check (lambda _ - ;; Extend PYTHONPATH so the built package will be found. - (setenv "PYTHONPATH" - (string-append (getcwd) "/build/lib:" - (getenv "PYTHONPATH"))) ;; Skip the only failing test "test_parse_url" - (invoke "pytest" "-vv" "-k" "not test_parse_url") - #t))))) + (invoke "pytest" "-vv" "-k" "not test_parse_url")))))) (home-page "https://github.com/sbraz/pymediainfo") (synopsis
