diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index f10ea87ed7b..1b16f2ffb44 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1657,19 +1657,27 @@ flake8 to check PEP-8 naming conventions.") (define-public python-pycotap (package (name "python-pycotap") - (version "1.2.2") + (version "1.3.1") (source (origin - (method url-fetch) - (uri (pypi-uri "pycotap" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/remko/pycotap") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1v69fxial9i5wlap6wc4igq3hydvxbak7dlgb7cikk8wjgafqf7r")))) - (build-system python-build-system) - (home-page "https://el-tramo.be/pycotap") + (base32 "1xw3mrrsw7wc8yas9p2hnzj2m3mw7p1qxkj6l942gidngqphyhar")))) + (build-system pyproject-build-system) + (arguments + ;; FIXME Unclear why tests fail. + (list #:tests? #f)) + (native-inputs (list python-pytest python-setuptools)) + (home-page "https://github.com/remko/pycotap") (synopsis "Tiny Python TAP test runner") - (description "This package provides a simple Python test runner for -unittest that outputs Test Anything Protocol (TAP) results to standard -output. Contrary to other TAP runners for Python, pycotap... + (description + "This package provides a simple Python test runner for unittest that +outputs Test Anything Protocol (TAP) results to standard output. Contrary to +other TAP runners for Python, pycotap... @itemize @item prints TAP (and only TAP) to standard output instead of to a separate file,