guix-commits
[Top][All Lists]
Advanced

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

137/163: gnu: python-flake8-polyfill: Do not set PYTHONPATH.


From: guix-commits
Subject: 137/163: gnu: python-flake8-polyfill: Do not set PYTHONPATH.
Date: Mon, 25 Jan 2021 02:01:56 -0500 (EST)

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

commit 38bbf7529b5899a5c3a999d52ba4a4052c4d1eda
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 00:53:02 2021 -0500

    gnu: python-flake8-polyfill: Do not set PYTHONPATH.
    
    * gnu/packages/python-xyz.scm (python-flake8-polyfill)
    [phases]{check}: Do not set PYTHONPATH.
---
 gnu/packages/python-xyz.scm | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 319cd0e..81ba8c7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8289,10 +8289,6 @@ in pyflakes and pycodestyle.")
              (substitute* "setup.cfg"
                (("\\[pytest\\]")
                 "[tool:pytest]"))
-
-             (setenv "PYTHONPATH"
-                     (string-append (getcwd) "/build/lib:"
-                                    (getenv "PYTHONPATH")))
              (invoke "py.test" "-v"))))))
     (native-inputs
      `(("python-flake8" ,python-flake8)



reply via email to

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