guix-commits
[Top][All Lists]
Advanced

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

82/131: gnu: python-flake8-polyfill: Do not set PYTHONPATH.


From: guix-commits
Subject: 82/131: gnu: python-flake8-polyfill: Do not set PYTHONPATH.
Date: Mon, 1 Feb 2021 11:56:54 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit 77b85453267a3a9e5eff7eb72affe384898bbf15
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 281e58a..6f35d98 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8297,10 +8297,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]