From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yGioIUCQhGGVdgAAgWs5BA (envelope-from ) for ; Fri, 05 Nov 2021 03:00:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mJhmHUCQhGEccQAA1q6Kng (envelope-from ) for ; Fri, 05 Nov 2021 02:00:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1AF092C742 for ; Fri, 5 Nov 2021 03:00:32 +0100 (CET) Received: from localhost ([::1]:58836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mioWt-0001Rp-Ao for larch@yhetil.org; Thu, 04 Nov 2021 22:00:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mioWS-0000lL-LT for guix-patches@gnu.org; Thu, 04 Nov 2021 22:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mioWS-0005of-CY for guix-patches@gnu.org; Thu, 04 Nov 2021 22:00:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mioWS-0004G0-Bt for guix-patches@gnu.org; Thu, 04 Nov 2021 22:00:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51396] [PATCH v2 5/8] gnu: python-s3transfer: Honor #:tests? flag. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Nov 2021 02:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51396 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51396@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51396-submit@debbugs.gnu.org id=B51396.163607759216255 (code B ref 51396); Fri, 05 Nov 2021 02:00:04 +0000 Received: (at 51396) by debbugs.gnu.org; 5 Nov 2021 01:59:52 +0000 Received: from localhost ([127.0.0.1]:44040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mioWG-0004E7-6d for submit@debbugs.gnu.org; Thu, 04 Nov 2021 21:59:52 -0400 Received: from mout02.posteo.de ([185.67.36.66]:56145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mioWE-0004Di-S1 for 51396@debbugs.gnu.org; Thu, 04 Nov 2021 21:59:51 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 21385240103 for <51396@debbugs.gnu.org>; Fri, 5 Nov 2021 02:59:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636077585; bh=CKoHoi1RvwUAz27ck3bN9TZRGcfYT0bBXuT3eeiKuaU=; h=From:To:Cc:Subject:Date:From; b=Kbe4p8wMaCNjHkkvoWGzzMA/pEFrLBajrK/4OZLm1SzF1rUE1HXouK1kBvJ0ftGD2 4V99wfqsfHiibPfn88AhYwC5l0qf7uInZWicJ9YPNae4okqG4fLCR65BKhVCJrWb/P iku5GjUofTowkX2CyoDfVtBvRA+iRRAAc4uA3XblbHlXxnsc/ubDVED6YmqVN90beT ayI7vvFdebBAfAnJqTMBFKv/MBN1z0Jt9MG9XnwWZ+OLdCSFP+Dzf5qoUI2wxpG2xv hgwoS6iD3GZaAEQyYiK8I0UR7sJjnRTlNSf/3dtqDkbGxCw/d/IhDqar5LobjuW/G8 trGuVRQXHae3g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HlkGS1S67z6tm9; Fri, 5 Nov 2021 02:59:43 +0100 (CET) From: Vinicius Monego Date: Fri, 5 Nov 2021 01:58:33 +0000 Message-Id: <20211105015836.1046845-5-monego@posteo.net> In-Reply-To: <20211105015836.1046845-1-monego@posteo.net> References: <20211105015836.1046845-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636077632; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tzkS/iezA3Q2B0zp2TDb0NUEN7S+Y73QqPzfa2ePXao=; b=D73UUwxKS+y2wrNGFYLkndmHfIUybbidTPtbBR9MlIf4d6sV+pOskD4sP6uS8H+cjctF/q WYqo8wJPihWKyOFLBoN62h76dyUTmquf/uf2PSPOcRo3QAbGBYQvFto9qFqZOflm6iDnoI eYVnxareYy/VGYdyMhHuB0WpgasIfsmcxGjTvrJrWjpczYkxVvxYyDk/J9aUWfKm+HEGGB dnNH8rvHLELbqsXudegfvheFuVwlcP7x/mqwHxTh6fToNC+8A5OkMZzlsrBhPqx6mHvu3m xWJGTtkRsDe/of3A41Dj1+fF1Em+KXKDEIwBZwRTnZmtl95T9EveTZr4Zx0JOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636077632; a=rsa-sha256; cv=none; b=o3OHL6g1oaEzi6V77G3GQ+sUD0nbXyz22ykcAIJV5H6+90dauDrSi2UkiwZIePyzSuIV3u wiayy7JbrJc0ZHX8yFJsjCMXZBH8iiMR2/mbCHCv6CMbp9KdTWL5Bw3OiFwcQg2qNge4jc 5bxQFX5rEJt3a2/G74TuLf1WfUA/gV4hT3ameuI8rI40YQf/GYceQeMM2osj6N1nQutoQZ 6Irk+ly38lRfFlS92/bZUo1Jvp0FfoJ3HfBgIsc1IkyLxpHZqNhgM8QIhWqdJJ4lZ2LtVD uXmSSnfMLCcu+TSca4L/kNMXYxAv/nlFTULXdhBRFjhsUjqj4ucX4ZRFzIts4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Kbe4p8wM; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Kbe4p8wM; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1AF092C742 X-Spam-Score: 3.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: TqWpcJGWEirQ * gnu/packages/python-web.scm (python-s3transfer)[arguments]: Adjust custom 'check phase to honor the #:tests? flag. --- gnu/packages/python-web.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 2953198a08..9d1ae458d3 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3416,10 +3416,11 @@ Betamax that may possibly end up in the main package.") `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - ;; Some of the 'integration' tests require network access or - ;; login credentials. - (invoke "nosetests" "--exclude=integration")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; Some of the 'integration' tests require network access or + ;; login credentials. + (invoke "nosetests" "--exclude=integration"))))))) (native-inputs `(("python-docutils" ,python-docutils) ("python-mock" ,python-mock) -- 2.30.2