[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: python-robotframework: Update to 3.2.2.
From: |
guix-commits |
Subject: |
04/10: gnu: python-robotframework: Update to 3.2.2. |
Date: |
Sat, 24 Oct 2020 19:07:40 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 634ce81e2a8609da6e013a66ce27b5aa91727ffe
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Oct 25 00:50:57 2020 +0200
gnu: python-robotframework: Update to 3.2.2.
The update of Pandas to 0.25.2 in commit
7a97a26d012da08fad4540eed99643f6306de423 broke the tests.
* gnu/packages/python-xyz.scm (python-robotframework): Update to 3.2.2.
[arguments]: In 'check' phase, set TZ and TZDIR.
[native-inputs]: Add TZDATA-FOR-TESTS.
---
gnu/packages/python-xyz.scm | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 96c29da..fe30c6b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3675,7 +3675,7 @@ ecosystem, but can naturally be used also by other
projects.")
(define-public python-robotframework
(package
(name "python-robotframework")
- (version "3.1.2")
+ (version "3.2.2")
;; There are no tests in the PyPI archive.
(source
(origin
@@ -3685,7 +3685,7 @@ ecosystem, but can naturally be used also by other
projects.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "16gnxy0qinh8fhs0qvhff5z2xh49c3cqgm0d7bfjw120df6x7fym"))
+ (base32 "0if0h3myb9m3hgmn1phrhq8pfp89kfqsaq32vmfdjkyjdj7y59ds"))
(patches (search-patches
"python-robotframework-honor-source-date-epoch.patch"))))
(build-system python-build-system)
@@ -3702,12 +3702,23 @@ ecosystem, but can naturally be used also by other
projects.")
(string-append doc "/libraries"))
#t)))
(replace 'check
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Some tests require timezone data. Otherwise, they
+ ;; look up /etc/localtime, which doesn't exist, and fail
+ ;; with:
+ ;;
+ ;; OverflowError: mktime argument out of range
+ (setenv "TZDIR"
+ (string-append (assoc-ref inputs "tzdata")
+ "/share/zoneinfo"))
+ (setenv "TZ" "Europe/Paris")
+
(invoke "python" "utest/run.py"))))))
(native-inputs
`(("python-invoke" ,python-invoke)
("python-rellu" ,python-rellu)
- ("python:tk" ,python "tk"))) ;used when building the HTML doc
+ ("python:tk" ,python "tk") ;used when building the HTML doc
+ ("tzdata" ,tzdata-for-tests)))
(outputs '("out" "doc"))
(home-page "https://robotframework.org")
(synopsis "Generic automation framework")
- branch master updated (6a3b476 -> cedb079), guix-commits, 2020/10/24
- 01/10: offload: Export <build-machine> accessors., guix-commits, 2020/10/24
- 02/10: offload: Adjust default 'max-silent-time' value of 'open-ssh-session'., guix-commits, 2020/10/24
- 04/10: gnu: python-robotframework: Update to 3.2.2.,
guix-commits <=
- 05/10: gnu: python-robotframework-lint: Update to 1.1-0.b0619ac., guix-commits, 2020/10/24
- 07/10: gnu: python-imap-tools: Update to 0.29.0., guix-commits, 2020/10/24
- 03/10: gnu: python-invoke: Update to 1.4.1., guix-commits, 2020/10/24
- 06/10: gnu: Add python-imap-tools., guix-commits, 2020/10/24
- 08/10: services: guix: Make /etc/guix/acl really declarative by default., guix-commits, 2020/10/24
- 09/10: doc: Add "Getting Substitutes from Other Servers" section., guix-commits, 2020/10/24
- 10/10: news: Add entry for the declarative substitute ACL., guix-commits, 2020/10/24