guix-commits
[Top][All Lists]
Advanced

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

74/131: gnu: python-jsonschema: Do not set PYTHONPATH.


From: guix-commits
Subject: 74/131: gnu: python-jsonschema: Do not set PYTHONPATH.
Date: Fri, 29 Jan 2021 09:22:04 -0500 (EST)

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

commit 7a8efca3cb42d9f29c93c3b611339e4f0d4e412f
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 00:37:20 2021 -0500

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9007362..2c65d69 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2771,8 +2771,6 @@ compare, diff, and patch JSON and JSON-like structures in 
Python.")
        (modify-phases %standard-phases
          (replace 'check
            (lambda* (#:key inputs outputs #:allow-other-keys)
-             (add-installed-pythonpath inputs outputs)
-             (setenv "PYTHONPATH" (string-append ".:" (getenv "PYTHONPATH")))
              (invoke "trial" "jsonschema"))))))
     (native-inputs
      `(("python-setuptools_scm" ,python-setuptools-scm)



reply via email to

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