guix-commits
[Top][All Lists]
Advanced

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

119/131: gnu: python-cloudpickle: Do not alter PYTHONPATH.


From: guix-commits
Subject: 119/131: gnu: python-cloudpickle: Do not alter PYTHONPATH.
Date: Mon, 1 Feb 2021 11:57:05 -0500 (EST)

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

commit 44ddafe1674c669f3c15fed8acd4921d5d5b3811
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Jan 27 20:45:11 2021 -0500

    gnu: python-cloudpickle: Do not alter PYTHONPATH.
    
    * gnu/packages/python.scm (python-cloudpickle)
    [phases]{do-not-override-PYTHONPATH}: Delete phase.  Remove trailing #t.
---
 gnu/packages/python-xyz.scm | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d61a325..ad6e760 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19262,20 +19262,11 @@ pure-Python.")
     (build-system python-build-system)
     (arguments
      '(#:phases (modify-phases %standard-phases
-                  (add-before 'check 'do-not-override-PYTHONPATH
-                    (lambda _
-                      ;; Append to PYTHONPATH instead of overriding it so
-                      ;; that dependencies from Guix can be found.
-                      (substitute* "tests/testutils.py"
-                        (("env\\['PYTHONPATH'\\] = pythonpath")
-                         "env['PYTHONPATH'] += os.pathsep + pythonpath"))
-                      #t))
                   (replace 'check
                     (lambda* (#:key tests? #:allow-other-keys)
                       (if tests?
                           (invoke "pytest" "-s" "-vv")
-                          (format #t "test suite not run~%"))
-                      #t)))))
+                          (format #t "test suite not run~%")))))))
     (native-inputs
      `(;; For tests.
        ("python-psutil" ,python-psutil)



reply via email to

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