From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id I5rSDvkVd2H87gAAgWs5BA (envelope-from ) for ; Mon, 25 Oct 2021 22:39:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YNUGCvkVd2EsFQAAB5/wlQ (envelope-from ) for ; Mon, 25 Oct 2021 20:39:21 +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 C7E622718B for ; Mon, 25 Oct 2021 22:39:20 +0200 (CEST) Received: from localhost ([::1]:46566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mf6kZ-0001Lp-Uu for larch@yhetil.org; Mon, 25 Oct 2021 16:39:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf60o-00041q-QJ for guix-patches@gnu.org; Mon, 25 Oct 2021 15:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32859) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mf60o-0001EJ-9B for guix-patches@gnu.org; Mon, 25 Oct 2021 15:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mf60o-0000mc-81 for guix-patches@gnu.org; Mon, 25 Oct 2021 15:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51396] [PATCH 7/7] gnu: python-moto: Respect #:tests?. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Oct 2021 19:52:02 +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.16351914712934 (code B ref 51396); Mon, 25 Oct 2021 19:52:02 +0000 Received: (at 51396) by debbugs.gnu.org; 25 Oct 2021 19:51:11 +0000 Received: from localhost ([127.0.0.1]:44404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf5zz-0000lF-AZ for submit@debbugs.gnu.org; Mon, 25 Oct 2021 15:51:11 -0400 Received: from mout02.posteo.de ([185.67.36.66]:53381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf5zx-0000kX-87 for 51396@debbugs.gnu.org; Mon, 25 Oct 2021 15:51:09 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 010A9240103 for <51396@debbugs.gnu.org>; Mon, 25 Oct 2021 21:51:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1635191463; bh=FiBgiWauJ3FfKO+BuAIm7Xaqt0x/ODK9oHBpAZe2tyU=; h=From:To:Cc:Subject:Date:From; b=Z18M7p9iE9bjhwxhia75FXVsZa06Vd9z+HNbhNDhBx6j/FfdTktwYzB892lznXgua QzXH/qOGEz2sgFPwk/QkfZCUbItmuRsrrh/Lp6xg5xqyy+KWc8duf3wDeWK3lE/Tyg +dfqUcMUPkErdnjvJjG6yFJaKbuuG0KYBn/sIM6PYJvVSPhpzc+5a4W6dJL3nZx/zO qQA2TYitqy9clCg2hy6Wo30/DFnJNL+08Xl4dL9w/+SAjkkKEF2ztAf08tkxAXj7hg dlPqO5i9vg7sc0rTC9Ry+yhENRHg7YxrvoEpk27MSwBsk2OVbG3AQWls33b1t3Hkgg Mz2galtdE19iw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HdQYd6wQ1z6tmP; Mon, 25 Oct 2021 21:51:01 +0200 (CEST) From: Vinicius Monego Date: Mon, 25 Oct 2021 19:50:05 +0000 Message-Id: <20211025195005.61439-7-monego@posteo.net> In-Reply-To: <20211025195005.61439-1-monego@posteo.net> References: <20211025195005.61439-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=1635194360; 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=3tt6nZPyUHsayIyv2EP7xXDBzWmDwGPMB41MROUIyPo=; b=QLAr1cN0hiGWwPrwkHGgsXvruTnK7eVZfpJjcsMdGOoHhqKL32CVBKIW4gl9vi+oUy0acq lLf6MrUtBJ5yTBHRkgNyhcjnfvqZgV1Gec1K19Iijg49sE9f+PltVyxhkzu+wyUZoBUL6Z GEFB49dHGfWgn4XMpcAj+0ChaN4p+UoUgPfMgYGHbWHS3p2qeEoF/vyDk9Qd3xQj7SlYVD vZxJ1wJGwPGE3qYxM/C3+8S0BnkRwbH+TZObkU0wqAC/OQH4+c4S2Ei0h1MMwkUqo0rG4z 5s1c0VE/m4D71+GMlVka/ycA+uFPnwJ6sAc8vzoQB3+tT6ktahfF0kMI+PSFwA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635194360; a=rsa-sha256; cv=none; b=lAB3h518KfcZxcwalUxSc/9aneGkM8edgdk6cgJSgNJbC17Z6QvTCoiG4zRNYT8D7AcVu8 XkI11zF4cdsDRqRFhOBnrzQnbCgqh1n4bekHEhXl9LlEldh8xUmJKOExv+dOndHJLKPw+4 bs1T5w/UAduiToh4XWlsMv2MfL/30w40mkarsv7ckNN5sDsPnYPFuKo6Gt1NeRUOMW/mE8 yUGkaYAhozKRfqnJgs1EiLT/SkvM9xtwd2AZkToJVPdwMrQD3KmaFWC55GuzCd9XskTGjb ObrzRSyjyV+pKXDXOa8RduFJuDXSrSBcC1CPdakXxtzCQfBgLXtlYTQdb4KA0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Z18M7p9i; 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-Spam-Score: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Z18M7p9i; 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: C7E622718B X-Spam-Score: 3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: exu7MEFs5hQF * gnu/packages/python-xyz.scm (python-moto)[arguments]: Respect #:tests? in the custom 'check phase. --- gnu/packages/python-xyz.scm | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6de6304362..3fb639418c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13114,20 +13114,21 @@ text.") (substitute* (find-files "tests" "\\.py$") (("#!/bin/bash") (string-append "#!" bash-exec)))))) (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-vv" "-m" "not network" "-k" - (string-append - ;; These tests require Docker. - "not test_terminate_job" - " and not test_invoke_function_from_sqs_exception" - " and not test_rotate_secret_lambda_invocations" - ;; These tests also require the network. - " and not test_put_record_batch_http_destination" - " and not test_put_record_http_destination" - " and not test_dependencies" - " and not test_cancel_running_job" - " and not test_container_overrides"))))))) + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "-m" "not network" "-k" + (string-append + ;; These tests require Docker. + "not test_terminate_job" + " and not test_invoke_function_from_sqs_exception" + " and not test_rotate_secret_lambda_invocations" + ;; These tests also require the network. + " and not test_put_record_batch_http_destination" + " and not test_put_record_http_destination" + " and not test_dependencies" + " and not test_cancel_running_job" + " and not test_container_overrides")))))))) (native-inputs `(("python-flask" ,python-flask) ("python-flask-cors" ,python-flask-cors) -- 2.30.2