gnu: python-typer: Use GUIX_PYTHONPATH instead of PYTHONPATH.

* gnu/packages/python-xyz.scm (python-typer)[arguments]: Use GUIX_PYTHONPATH
in 'check phase.
This commit is contained in:
Ricardo Wurmus 2021-11-18 16:59:59 +00:00
parent 9e76a5b7cb
commit 3b1cf6ab5e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -20869,9 +20869,9 @@ (define-public python-typer
;; This is for completion tests
(with-output-to-file "/tmp/.bashrc" (lambda _ (display "# dummy")))
(setenv "PYTHONPATH"
(setenv "GUIX_PYTHONPATH"
(string-append (getcwd) ":"
(getenv "PYTHONPATH")))
(getenv "GUIX_PYTHONPATH")))
(let ((disabled-tests (list "test_show_completion"
"test_install_completion")))
(invoke "python" "-m" "pytest" "tests/"