guix-commits
[Top][All Lists]
Advanced

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

32/163: gnu: behave: Do not set PYTHONPATH.


From: guix-commits
Subject: 32/163: gnu: behave: Do not set PYTHONPATH.
Date: Mon, 25 Jan 2021 02:01:23 -0500 (EST)

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

commit 9dd04b460861c8ce8359e991e57bec15b2eeb5f2
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 22 21:25:05 2021 -0500

    gnu: behave: Do not set PYTHONPATH.
    
    * gnu/packages/check.scm (behave)[arguments]: Remove the '#:phases' 
argument.
    [propagated-inputs]: Remove python-importlib-metadata and python-six.
---
 gnu/packages/check.scm | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 41da093..16912a9 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2269,20 +2269,10 @@ backported from Python 2.7 for Python 2.4+.")
        ("python-pyhamcrest" ,python-pyhamcrest)
        ("python-pytest" ,python-pytest)))
     (propagated-inputs
-     `(("python-importlib-metadata" ,python-importlib-metadata)
-       ("python-six" ,python-six)
-       ("python-parse" ,python-parse)
+     `(("python-parse" ,python-parse)
        ("python-parse-type" ,python-parse-type)))
     (arguments
-     '(#:test-target "behave_test"
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'fix-library-loading
-           (lambda _
-             ;; Otherwise, tests fail with no module named 'path'
-             (setenv "PYTHONPATH" (string-append (getenv "PYTHONPATH") ":"
-                                                 (getcwd) "/tasks/_vendor"))
-             #t)))))
+     '(#:test-target "behave_test"))
     (home-page "https://github.com/behave/behave";)
     (synopsis "Python behavior-driven development")
     (description



reply via email to

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