guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

103/163: gnu: python-pytest-isort: Do not set PYTHONPATH.


From: guix-commits
Subject: 103/163: gnu: python-pytest-isort: Do not set PYTHONPATH.
Date: Mon, 25 Jan 2021 02:01:44 -0500 (EST)

apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.

commit 6ada7cd0868cc8d02ca22c8f7412d86f1ab97290
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 23:46:58 2021 -0500

    gnu: python-pytest-isort: Do not set PYTHONPATH.
    
    * gnu/packages/python-check.scm (python-pytest-isort)
    [phases]{check}: Do not set PYTHONPATH.
---
 gnu/packages/python-check.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index b58a3c2..0573a1e 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -576,9 +576,6 @@ compliance.")
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
-             (setenv "PYTHONPATH"
-                     (string-append (getcwd) ":"
-                                    (getenv "PYTHONPATH")))
              (invoke "pytest"))))))
     (propagated-inputs
      `(("python-isort" ,python-isort)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]