diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-11 22:04:06 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 20:23:22 +0000 |
commit | 54696915519d746c4240739d280ecba19e8b6050 (patch) | |
tree | 1ff0c474f91e8f5e0e02f445c71b6574f9167a75 /gnu/packages | |
parent | 0e3483f8a99cdb7d82dac455e11644d950a01d27 (diff) | |
download | guix-54696915519d746c4240739d280ecba19e8b6050.tar.gz guix-54696915519d746c4240739d280ecba19e8b6050.zip |
gnu: python-flaky: Update to 3.8.1.
* gnu/packages/check.scm (python-flaky): Update to 3.8.1. Enable most of
the tests.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Silent some failing tests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
Change-Id: I649ff32ad27ffcca288e2929388a5b787f31072f
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/check.scm | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index fa4ea22dfe..c07b0dc91d 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3613,17 +3613,31 @@ mocks, stubs and fakes.") (define-public python-flaky (package (name "python-flaky") - (version "3.7.0") + (version "3.8.1") (source (origin (method url-fetch) (uri (pypi-uri "flaky" version)) (sha256 (base32 - "03daz352021211kvdb056f3afrd2gsdq0rd1awgr38910xw01l9s")))) - (build-system python-build-system) + "1xcrjrr63131n2ydj5hn0gagka5dpkmdlqdxrxd3spwhxj0ll827")))) + (build-system pyproject-build-system) (arguments - ;; TODO: Tests require 'coveralls' and 'genty' which are not in Guix yet. - '(#:tests? #f)) + (list + ;; XXX: Check with upstream. Tests failing with AttributeError: 'str' + ;; object has no attribute 'tb_frame', ValueError: too many values to + ;; unpack (expected 2), AssertionError: 'Plain HelloPlain Hellońőń ȁŝćȉȉ + ;; ŝƭȕƒƒ' != 'Plain Hellońőń ȁŝćȉȉ ŝƭȕƒƒ'. + #:test-flags + #~(list "-k" (string-append + "not test_flaky_plugin_handles_non_ascii_byte_string_in_exception" + " and not test_flaky_plugin_identifies_failure" + " and not test_write_then_read" + " and not test_writelines_then_read" + " and not test_something_flaky")))) + (native-inputs + (list python-pytest + python-setuptools + python-wheel)) (home-page "https://github.com/box/flaky") (synopsis "Automatically rerun flaky tests") (description |