From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 74580@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>
Subject: [bug#74580] [PATCH 11/14] gnu: python-coveralls: Update to 4.0.1.
Date: Thu, 28 Nov 2024 08:52:23 +0100 [thread overview]
Message-ID: <20241128075235.20929-11-ngraves@ngraves.fr> (raw)
In-Reply-To: <20241128075235.20929-1-ngraves@ngraves.fr>
* gnu/packages/python-check.scm (python-coveralls): Update to 4.0.1.
[source]<origin>: Remove uneeded modules and snippet fields.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Move functionality to...
<#:test-flags>: ...here. Add failing tests.
[native-inputs]: Add poetry.
---
gnu/packages/python-check.scm | 29 ++++++++++-------------------
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 2af10ed7f3..0e23f78a17 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -343,7 +343,7 @@ (define-public python-cucumber-tag-expressions
(define-public python-coveralls
(package
(name "python-coveralls")
- (version "3.2.0")
+ (version "4.0.1")
(home-page "https://github.com/coveralls-clients/coveralls-python")
(source
(origin
@@ -352,28 +352,19 @@ (define-public python-coveralls
(uri (git-reference (url home-page) (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "1915ab77nfb1rfw4i2ps0zy19wpf20lwxn81qxxbwyd2gy7m0fn8"))
- (modules '((guix build utils)))
- (snippet '(substitute* "setup.py"
- (("'coverage>=4.1,<6.0',") "'coverage',")))))
- (build-system python-build-system)
+ (base32 "1411h7rwxgp9ag26bmlpy7g7sdh39f56dc1mrd1n74bjsgvwzj6l"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (add-before 'check 'disable-git-test
- (lambda _
- ;; Remove test that requires 'git' and the full checkout.
- (delete-file "tests/git_test.py")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (if tests?
- ;; Test fails for unknown reasons. No fix available.
- (invoke "pytest" "-vv" "-k" "not test_reporter_with_branches")
- (format #t "test suite not run~%")))))))
+ (list #:test-flags '(list
+ ;; XXX: Avoid git dependency.
+ "--ignore=tests/git_test.py"
+ ;; XXX: Unable to find coverage package.
+ "--ignore=tests/api/reporter_test.py"
+ "--ignore=tests/integration_test.py")))
(propagated-inputs
(list python-coverage python-docopt python-pyyaml python-requests))
(native-inputs
- (list python-mock python-pytest python-responses))
+ (list poetry python-mock python-pytest python-responses))
(synopsis "Show coverage stats online via coveralls.io")
(description
"Coveralls.io is a service for publishing code coverage statistics online.
--
2.46.0
next prev parent reply other threads:[~2024-11-28 7:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-28 7:44 [bug#74580] [PATCH 00/14] [python-team] Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 01/14] gnu: python-prawcore: Update to 2.4.0 Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 02/14] gnu: python-praw: Update to 7.8.1 Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 03/14] gnu: giara: Update to 1.1.0 Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 04/14] gnu: cpplint: Add missing native inputs Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 05/14] gnu: python-ads: Add missing native-inputs Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 06/14] gnu: python-tqdm: Update to 4.67.1 Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 07/14] gnu: python-fsspec: Update to 2024.10.0 Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 08/14] gnu: python-coverage: Update to 7.6.8 Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 09/14] gnu: python-websockets: Update to 13.1 Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 10/14] gnu: python-pytest-httpx: Update to 0.34.0 Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` Nicolas Graves via Guix-patches via [this message]
2024-11-28 7:52 ` [bug#74580] [PATCH 12/14] gnu: python-httpcore: Update to 1.0.7 Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 13/14] gnu: python-httpx: Update to 0.27.2 Nicolas Graves via Guix-patches via
2024-11-28 7:52 ` [bug#74580] [PATCH 14/14] gnu: python-joblib: Update to 1.4.2 Nicolas Graves via Guix-patches via
2024-11-28 16:01 ` [bug#74580] [PATCH 00/14] [python-team] Sharlatan Hellseher
2024-11-28 18:23 ` Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241128075235.20929-11-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=74580@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.