gnu: python-robotframework: Update to 5.0.1.

* gnu/packages/python-xyz.scm (python-robotframework): Update to 5.0.1.
[phases] {delete-problematic-tests}: Re-instate the sending_signal.robot
tests, fixed upstream.
[native-inputs]: Replace python-jsonschema with python-jsonschema-next.
This commit is contained in:
Maxim Cournoyer 2022-10-15 09:12:12 -04:00
parent 033cbd11a8
commit 190be4921c
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -4772,7 +4772,7 @@ ecosystem, but can naturally be used also by other projects.")
(define-public python-robotframework (define-public python-robotframework
(package (package
(name "python-robotframework") (name "python-robotframework")
(version "5.0") (version "5.0.1")
;; There are no tests in the PyPI archive. ;; There are no tests in the PyPI archive.
(source (source
(origin (origin
@ -4782,7 +4782,7 @@ ecosystem, but can naturally be used also by other projects.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0qcm36c8hachbv3bc05ky7cf63i3sj0y8dw3bwjvcln28i543f81")) (base32 "0jjr71npzrm5mv16pya3m2dqaqgf6sc45yca5kfmc5lfislig5b8"))
(patches (search-patches (patches (search-patches
"python-robotframework-atest.patch" "python-robotframework-atest.patch"
"python-robotframework-source-date-epoch.patch")))) "python-robotframework-source-date-epoch.patch"))))
@ -4803,13 +4803,7 @@ ecosystem, but can naturally be used also by other projects.")
;; directory not being '/', as is the case in the Guix build ;; directory not being '/', as is the case in the Guix build
;; container. ;; container.
(delete-file "atest/robot/standard_libraries/\ (delete-file "atest/robot/standard_libraries/\
operating_system/path_expansion.robot") operating_system/path_expansion.robot")))
;; FIXME: The test 'Process.Sending Signal.By default signal
;; is not sent to process running in shell' fails for unknown
;; reason (see:
;; https://github.com/robotframework/robotframework/issues/4292).
(delete-file "atest/robot/standard_libraries/\
process/sending_signal.robot")))
(add-before 'build 'build-and-install-doc (add-before 'build 'build-and-install-doc
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((doc (string-append (assoc-ref outputs "doc") (let ((doc (string-append (assoc-ref outputs "doc")
@ -4845,7 +4839,7 @@ process/sending_signal.robot")))
(invoke "xvfb-run" "atest/run.py"))))))) (invoke "xvfb-run" "atest/run.py")))))))
(native-inputs (native-inputs
(list python-docutils (list python-docutils
python-jsonschema python-jsonschema-next
python-invoke python-invoke
python-lxml python-lxml
python-pygments python-pygments