guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: python-rpy2: Update to 3.5.5.


From: guix-commits
Subject: branch master updated: gnu: python-rpy2: Update to 3.5.5.
Date: Fri, 28 Oct 2022 14:47:15 -0400

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b669735356 gnu: python-rpy2: Update to 3.5.5.
b669735356 is described below

commit b6697353564a91f3a3d39b605a583ae8091a3cbe
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Oct 28 20:40:08 2022 +0200

    gnu: python-rpy2: Update to 3.5.5.
    
    * gnu/packages/statistics.scm (python-rpy2): Update to 3.5.5.
    [arguments]: Run all tests; run them conditionally.
---
 gnu/packages/statistics.scm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index c85c0a85f6..b2a96381f9 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6256,25 +6256,23 @@ completion.")
 (define-public python-rpy2
   (package
     (name "python-rpy2")
-    (version "3.4.5")
+    (version "3.5.5")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "rpy2" version))
         (sha256
          (base32
-          "1cysswxr5glrdblyl2zsmywcj7xhxn3wmyihxinrz9gm8gmaacax"))))
+          "0dyhb3xn2p6s67yxhgh4qd4hp45mhb5zvgqkdsn26kyg447c8lm2"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda* (#:key outputs inputs #:allow-other-keys)
-             (let ((cwd (getcwd)))
-               (setenv "TZ" "UTC"))
-             ;; test_vector_complex has issues when run in our environment.
-             (invoke "pytest" "-v" "rpy2/tests/"
-                     "-k" "not test_vector_complex"))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (setenv "TZ" "UTC")
+               (invoke "pytest" "-v" "rpy2/tests/")))))))
     (propagated-inputs
      (list python-cffi
            python-six



reply via email to

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