guix-commits
[Top][All Lists]
Advanced

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

142/163: gnu: python-libcst: Do not set PYTHONPATH.


From: guix-commits
Subject: 142/163: gnu: python-libcst: Do not set PYTHONPATH.
Date: Mon, 25 Jan 2021 02:01:58 -0500 (EST)

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

commit f3810576b4874de7e402803190e19150bb5dd0b1
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 09:43:48 2021 -0500

    gnu: python-libcst: Do not set PYTHONPATH.
    
    * gnu/packages/python-xyz.scm (python-libcst)
    [phases]{generate-test-data}: Do not set PYTHONPATH.
---
 gnu/packages/python-xyz.scm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 48f1924..b1a6996 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13077,7 +13077,6 @@ some degree most natural languages too.")
              (delete-file 
"libcst/metadata/tests/test_type_inference_provider.py")))
          (add-before 'check 'generate-test-data
            (lambda _
-             (setenv "PYTHONPATH" (string-append (getcwd) ":" (getenv 
"PYTHONPATH")))
              (invoke "python" "-m" "libcst.codegen.generate" "visitors")
              (invoke "python" "-m" "libcst.codegen.generate" "return_types")))
          (replace 'check



reply via email to

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