aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-07-22 14:07:34 +0200
committerMarius Bakke <mbakke@fastmail.com>2017-07-22 14:31:27 +0200
commit4e52739c61e1b54f4988181c425bb9cbb3d92378 (patch)
treefb1586a63d2e64c257323a5ee06bbbc758edda1c /gnu/packages
parent6027cb8a82429ffa53f50fc6d4bffcd78c57a752 (diff)
downloadguix-4e52739c61e1b54f4988181c425bb9cbb3d92378.tar
guix-4e52739c61e1b54f4988181c425bb9cbb3d92378.tar.gz
gnu: Add python-flaky.
* gnu/packages/python.scm (python-flaky, python2-flaky): New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 82be9e8542..619dc07ee0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4639,6 +4639,35 @@ multivalue dictionary that retains the order of insertions and deletions.")
(define-public python2-furl
(package-with-python2 python-furl))
+(define-public python-flaky
+ (package
+ (name "python-flaky")
+ (version "3.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "flaky" version))
+ (sha256
+ (base32
+ "18pkmf79rfkfpy1d2rrx3v55nxj762ilyk9rvd6s6dccxw58imsa"))))
+ (build-system python-build-system)
+ (arguments
+ ;; TODO: Tests require 'coveralls' and 'genty' which are not in Guix yet.
+ '(#:tests? #f))
+ (home-page "https://github.com/box/flaky")
+ (synopsis "Automatically rerun flaky tests")
+ (description
+ "Flaky is a plugin for @code{nose} or @code{py.test} that automatically
+reruns flaky tests.
+
+Ideally, tests reliably pass or fail, but sometimes test fixtures must rely
+on components that aren't 100% reliable. With flaky, instead of removing
+those tests or marking them to @code{@skip}, they can be automatically
+retried.")
+ (license license:asl2.0)))
+
+(define-public python2-flaky
+ (package-with-python2 python-flaky))
+
(define-public python-flask-babel
(package
(name "python-flask-babel")