me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/python-xyz.scm (python-typer)[arguments]: Use GUIX_PYTHONPATH
in 'check phase.
master
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
1 changed files with 2 additions and 2 deletions

View File

@ -20869,9 +20869,9 @@ based on the CPython 2.7 and 3.7 parsers.")
;; 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/"