From patchwork Mon Oct 10 21:30:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 43313 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 64BA327BBEA; Mon, 10 Oct 2022 22:32:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 07CE827BBE9 for ; Mon, 10 Oct 2022 22:32:15 +0100 (BST) Received: from localhost ([::1]:36136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oi0Ni-0004R5-6K for patchwork@mira.cbaines.net; Mon, 10 Oct 2022 17:32:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi0NX-0004Lp-DX for guix-patches@gnu.org; Mon, 10 Oct 2022 17:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oi0NX-0003nR-6F for guix-patches@gnu.org; Mon, 10 Oct 2022 17:32:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oi0NX-0007Fr-2I for guix-patches@gnu.org; Mon, 10 Oct 2022 17:32:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53019] [PATCH 2/4] gnu: python-codecov: Update to 2.1.12. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 Oct 2022 21:32:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53019 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53019@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 53019-submit@debbugs.gnu.org id=B53019.166543746627797 (code B ref 53019); Mon, 10 Oct 2022 21:32:03 +0000 Received: (at 53019) by debbugs.gnu.org; 10 Oct 2022 21:31:06 +0000 Received: from localhost ([127.0.0.1]:50165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oi0Mb-0007EC-Mq for submit@debbugs.gnu.org; Mon, 10 Oct 2022 17:31:06 -0400 Received: from confino.investici.org ([93.190.126.19]:36253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oi0MX-0007DF-LG for 53019@debbugs.gnu.org; Mon, 10 Oct 2022 17:31:03 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4MmXCS5VWkz10x8; Mon, 10 Oct 2022 21:31:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1665437460; bh=WQJbCKCUSt2sB8bCY+3/+zr2LxLaxj8NcX/+cCxC3uA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G1I5BLNu7phOL7IT4Bcagaa27B4MQQKNS+MNXxod2l0EF20/Rf4s5xwoxGuxnEFPM 9vc6BuA6pjl4ikEg/EN0Kj41CjNwWz2VN6CXQ1wumii8iPiYYbz8AwQJ2YP/eD5jIb RU9iM+zFJZZWlik/gVL3QBaiz+Jnk6oznAh6gvUo= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4MmXCS4sZbz10wf; Mon, 10 Oct 2022 21:31:00 +0000 (UTC) Date: Mon, 10 Oct 2022 23:30:45 +0200 Message-Id: <20221010213047.14134-2-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221010213047.14134-1-goodoldpaul@autistici.org> References: <20221010213047.14134-1-goodoldpaul@autistici.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi X-getmail-retrieved-from-mailbox: Patches * 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 2758262862..10e11e1e36 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -77,6 +77,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:) @@ -1840,19 +1841,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