unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Giacomo Leidi via Guix-patches via <guix-patches@gnu.org>
To: 53019@debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul@autistici.org>, lars@6xq.net
Subject: [bug#53019] [PATCHv2 2/4] gnu: python-codecov: Update to 2.1.12.
Date: Wed,  4 Jan 2023 17:08:53 +0100	[thread overview]
Message-ID: <20230104160855.6241-2-goodoldpaul@autistici.org> (raw)
In-Reply-To: <20230104160855.6241-1-goodoldpaul@autistici.org>

* gnu/packages/check.scm (python-codecov): Update to 2.1.12.
---
 gnu/packages/check.scm | 46 +++++++++++++++++++++++++++++++++---------
 1 file changed, 37 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index d042f60207..31c46cc8a0 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -80,6 +80,7 @@ (define-module (gnu packages check)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages python-science)
   #:use-module (gnu packages time)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages xml)
   #:use-module (guix utils)
   #:use-module ((guix licenses) #:prefix license:)
@@ -2094,19 +2095,46 @@ (define-public python-cov-core
 (define-public python-codecov
   (package
     (name "python-codecov")
-    (version "2.0.15")
+    (version "2.1.12")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "codecov" version))
-        (sha256
-         (base32
-          "1217c0vqf7ii65635gvl27a5pfhv0r7zhrpdp9cx640hg73bgn4f"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/codecov/codecov-python")
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0bdk1cp3hxydpx9knqfv88ywwzw7yqhywi0inxjd6x53qh75prqy"))))
     (build-system python-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+                   (when tests?
+                     (setenv "CI" "True")
+                     (setenv "APPVEYOR" "True")
+                     (invoke (string-append #$python-pytest "/bin/py.test")
+                             "tests/test.py" "-vv"
+                             "--cov=codecov" "-k"
+                             (string-append
+                              ;; These tests require network access.
+                              "not test_bowerrc and "
+                              "not test_none_found and "
+                              "not test_run_coverage_fails and "
+                              "not test_disable_search"))))))))
     (native-inputs
-     (list python-unittest2))
+     (list git-minimal
+           mercurial
+           python-coverage-5.5
+           python-ddt
+           python-mock
+           python-pytest
+           python-pytest-cov
+           python-requests))
     (propagated-inputs
-     (list python-coverage python-requests))
+     (list python-coverage-5.5 python-requests))
     (home-page "https://github.com/codecov/codecov-python")
     (synopsis "Upload code coverage reports to @code{codecov.io}")
     (description
-- 
2.38.1





  reply	other threads:[~2023-01-04 16:10 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05  1:18 [bug#53019] [PATCHES] Add aerich Giacomo Leidi via Guix-patches via
2022-01-05  1:24 ` [bug#53019] [PATCH 1/4] gnu: python-dictdiffer: Fix broken test suite Giacomo Leidi via Guix-patches via
2022-01-05  1:24   ` [bug#53019] [PATCH 2/4] gnu: Add python-codeclimate-test-reporter Giacomo Leidi via Guix-patches via
2022-01-05  1:24   ` [bug#53019] [PATCH 3/4] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-01-05  1:24   ` [bug#53019] [PATCH 4/4] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2022-01-24 17:21 ` [bug#53019] (no subject) paul via Guix-patches via
2022-03-05 23:14 ` [bug#53019] friendly ping paul via Guix-patches via
2022-03-05 23:14 ` [bug#53019] [PATCH 1/3] gnu: Add python-codeclimate-test-reporter Giacomo Leidi via Guix-patches via
2022-03-05 23:14   ` [bug#53019] [PATCH 2/3] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-03-06 10:19     ` Maxime Devos
2022-03-06 10:19     ` Maxime Devos
2022-03-14 22:27       ` paul via Guix-patches via
2022-03-05 23:14   ` [bug#53019] [PATCH 3/3] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2022-03-06 10:21     ` Maxime Devos
2022-03-14 22:30       ` paul via Guix-patches via
2022-03-06 10:31     ` Maxime Devos
2022-03-14 22:34       ` paul via Guix-patches via
2022-03-06 10:32     ` Maxime Devos
2022-03-14 22:35       ` paul via Guix-patches via
2022-03-06 10:17   ` [bug#53019] [PATCH 1/3] gnu: Add python-codeclimate-test-reporter Maxime Devos
2022-03-14 22:12     ` paul via Guix-patches via
2022-03-06 10:18   ` Maxime Devos
2022-03-14 22:14     ` paul via Guix-patches via
2022-03-06 10:28   ` Maxime Devos
2022-03-14 22:27     ` paul via Guix-patches via
2022-03-14 22:36 ` [bug#53019] [PATCH 1/9] " Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 2/9] yyy Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 3/9] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 4/9] gnu: python-codecov: Update to 2.1.12 Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 5/9] gnu: Add python-pytest-cov-3.0 Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 6/9] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 7/9] gnu: python-pypika-tortoise: Update to 0.1.3 Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 8/9] gnu: python-tortoise-orm: Update to 0.18.1 Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 9/9] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2022-03-14 22:41 ` [bug#53019] Apologies for the noise paul via Guix-patches via
2022-03-14 22:41 ` [bug#53019] [PATCH 1/8] gnu: Add python-codeclimate-test-reporter Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 2/8] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 3/8] gnu: python-codecov: Update to 2.1.12 Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 4/8] gnu: Add python-pytest-cov-3.0 Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 5/8] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 6/8] gnu: python-pypika-tortoise: Update to 0.1.3 Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 7/8] gnu: python-tortoise-orm: Update to 0.18.1 Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 8/8] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2022-05-31 22:38 ` [bug#53019] (no subject) goodoldpaul--- via Guix-patches via
2022-07-01 21:32 ` [bug#53019] [PATCHES] Add aerich goodoldpaul--- via Guix-patches via
2022-07-01 21:32 ` [bug#53019] [PATCH 1/6] gnu: Add python-codeclimate-test-reporter Giacomo Leidi via Guix-patches via
2022-07-01 21:32   ` [bug#53019] [PATCH 2/6] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2022-07-30 21:04     ` Maxime Devos
2022-07-01 21:32   ` [bug#53019] [PATCH 3/6] gnu: python-codecov: Update to 2.1.12 Giacomo Leidi via Guix-patches via
2022-07-30 21:02     ` Maxime Devos
2022-10-10 20:50       ` goodoldpaul--- via Guix-patches via
2022-07-01 21:33   ` [bug#53019] [PATCH 4/6] gnu: Add python-pytest-cov-3.0 Giacomo Leidi via Guix-patches via
2022-07-30 21:09     ` Maxime Devos
2022-07-30 22:52       ` goodoldpaul--- via Guix-patches via
2022-07-30 23:13         ` Maxime Devos
2022-10-10 21:29           ` goodoldpaul--- via Guix-patches via
2022-07-01 21:33   ` [bug#53019] [PATCH 5/6] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-07-01 21:33   ` [bug#53019] [PATCH 6/6] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2022-07-30 21:09   ` [bug#53019] [PATCH 1/6] gnu: Add python-codeclimate-test-reporter Maxime Devos
2022-10-10 20:51     ` goodoldpaul--- via Guix-patches via
2022-10-10 21:30 ` [bug#53019] [PATCH 1/4] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2022-10-10 21:30   ` [bug#53019] [PATCH 2/4] gnu: python-codecov: Update to 2.1.12 Giacomo Leidi via Guix-patches via
2022-10-10 21:30   ` [bug#53019] [PATCH 3/4] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-10-10 21:30   ` [bug#53019] [PATCH 4/4] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2023-01-04 15:56 ` [bug#53019] [PATCHES] Add aerich goodoldpaul--- via Guix-patches via
2023-01-04 16:08 ` [bug#53019] [PATCHv2 1/4] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2023-01-04 16:08   ` Giacomo Leidi via Guix-patches via [this message]
2023-01-04 16:08   ` [bug#53019] [PATCHv2 3/4] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2023-01-04 16:08   ` [bug#53019] [PATCHv2 4/4] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2023-04-12 21:50 ` [bug#53019] [PATCHv3 1/4] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2023-04-12 21:50   ` [bug#53019] [PATCHv3 2/4] gnu: python-codecov: Update to 2.1.12 Giacomo Leidi via Guix-patches via
2023-04-12 21:50   ` [bug#53019] [PATCHv3 3/4] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2023-04-12 21:50   ` [bug#53019] [PATCHv3 4/4] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2023-10-29 12:06 ` [bug#53019] [53019]: Add aerich - Rebase on current master paul via Guix-patches via
2023-10-29 12:07 ` [bug#53019] [PATCH v4 1/2] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2023-10-29 12:07   ` [bug#53019] [PATCH v4 2/2] gnu: Add aerich Giacomo Leidi via Guix-patches via
2023-10-30 11:26     ` Christopher Baines

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230104160855.6241-2-goodoldpaul@autistici.org \
    --to=guix-patches@gnu.org \
    --cc=53019@debbugs.gnu.org \
    --cc=goodoldpaul@autistici.org \
    --cc=lars@6xq.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).