mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
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.
This commit is contained in:
parent
8fed831e2a
commit
b669735356
1 changed files with 6 additions and 8 deletions
|
@ -6256,25 +6256,23 @@ (define-public r-languageserver
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue