From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gGkrCY1hFGGJ8QAAgWs5BA (envelope-from ) for ; Thu, 12 Aug 2021 01:47:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ICeqBI1hFGGkawAAB5/wlQ (envelope-from ) for ; Wed, 11 Aug 2021 23:47:25 +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 BCC581AA5B for ; Thu, 12 Aug 2021 01:47:24 +0200 (CEST) Received: from localhost ([::1]:58064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDxwR-00070h-Q9 for larch@yhetil.org; Wed, 11 Aug 2021 19:47:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDxw8-0006up-4H for guix-patches@gnu.org; Wed, 11 Aug 2021 19:47:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDxw7-0006bX-Tc for guix-patches@gnu.org; Wed, 11 Aug 2021 19:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDxw7-0001Jf-RR for guix-patches@gnu.org; Wed, 11 Aug 2021 19:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50018] [PATCH 09/19] gnu: python-moto: Respect #:tests?. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Aug 2021 23:47:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50018@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50018-submit@debbugs.gnu.org id=B50018.16287255814844 (code B ref 50018); Wed, 11 Aug 2021 23:47:03 +0000 Received: (at 50018) by debbugs.gnu.org; 11 Aug 2021 23:46:21 +0000 Received: from localhost ([127.0.0.1]:36936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDxvQ-0001G3-RO for submit@debbugs.gnu.org; Wed, 11 Aug 2021 19:46:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDxvP-0001Ff-W6 for 50018@debbugs.gnu.org; Wed, 11 Aug 2021 19:46:20 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 130ED240101 for <50018@debbugs.gnu.org>; Thu, 12 Aug 2021 01:46:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628725574; bh=oKn/1FvgxqmBtG8rkvNG328xwuVxy7FivIbTjnCxP3U=; h=From:To:Cc:Subject:Date:From; b=AylLcuxPLTnxBiSErZGWabD+O/kbgq6AHR5Yj5hICbnwH1lcuX39wBVffH3OUBs+G ofGoEsX6vNiljte3KvSQO+xzXsqh3D4TLcMW1PQtRbiTmtDIsazJfLdZEudmCv/PRg tuwNRC0pUhepceR4knvI5RJGdNFBhEcGxhQpnDhuZku5wRAlICNF3i1OgffKWW/mmW VAS7WfyPgvUtoBwPrt/dpAQIq7T8at8vG9i5ckwlyKWuzBiscNGHfKt/bUkcYwa4lo abX4aZlRf11lgjrTs4KTXNRKI9wSERh35iSw1qxZv59KsneuR4eWuOj3gBOOwjbU7F wImNJnCmSjOPA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GlRKd1vW0z6tm4; Thu, 12 Aug 2021 01:46:13 +0200 (CEST) From: Vinicius Monego Date: Wed, 11 Aug 2021 23:45:01 +0000 Message-Id: <20210811234511.32450-9-monego@posteo.net> In-Reply-To: <20210811234511.32450-1-monego@posteo.net> References: <20210811234511.32450-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=1628725644; 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=yV1yPjjP3DTpyAe0afAocVJVlcpI2N6Mzn+RcbIjx/0=; b=gl84Tz6A7P6cfGSrts0OHN7y7P+cGosMEX3L+Ka0At6P5VyO17RyHl6JKu5V+bxwHzOpXe 6Jg7/uWzgwk0C+WKpxXLrT7dRl+IlEDupMCh7YY/VQXt5cLyaLCX7pPofGN/XErpfEUshT IE0Y3+AisJraq2DaUC5rfN627exwaI6Nrz2uZvaRdy9dBQcBjwUUVZFvv2vD9m5EiR9lMo RnsFymmnMsgLNQmNZUal1rY0fJ9KIejiWlmBidy5Mao/K6p1oeetlIvOmJQ2DuVPCh1Uld IvfQhNAa8guXwTL69MiDjlJmnGimryHZsBJl4IBe2LUlvvaD9K2X1/v+ADbpBw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628725644; a=rsa-sha256; cv=none; b=fT7wX52MPH4GViwfe7rJDDzTlYkXZAoWFWbkgkIEMqalR/cG0vOSA8d8sZtnMS/VouuILM Bkfm4Rv4l6xGNFXWKJyz+pdgmswkyVpvp43rBs+HHulDRyLWjHeardpFq+vGRuJYtsS5hl VK+IAy2kEA8StnegxsJdnOJ1UPzWkdzWlBK7Nt873anndqH2GAlsmFh6qohghNISFPp1No hsRjnDZQMH0kT/cxxU1ZReqWsg4MQD6UIduBPinS011wmH88cu2hL1UnCQzrb6ocMOGKtS PCtHAgZo0JwDOKFKx6PNeO24oMql7Z03Gb4yXT3lYwOUhnpwZBIZ5dRxNPF8Gg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=AylLcuxP; 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.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=AylLcuxP; 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: BCC581AA5B X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: uFjts1OEGQ52 * gnu/packages/python-xyz.scm (python-moto)[source]: Make some cosmetic changes. [arguments]: Respect #:tests? in the custom 'check phase. --- gnu/packages/python-xyz.scm | 81 +++++++++++++++++++------------------ 1 file changed, 41 insertions(+), 40 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 57b4e7fa58..0b358ceca3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12475,12 +12475,12 @@ text.") (package (name "python-moto") (version "2.2.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "moto" version)) - (sha256 - (base32 - "09dpjxp7xb5y1haj5aq6f5lcfzjd0121xqv75zyk6j6bkcbskddh")))) + (source + (origin + (method url-fetch) + (uri (pypi-uri "moto" version)) + (sha256 + (base32 "09dpjxp7xb5y1haj5aq6f5lcfzjd0121xqv75zyk6j6bkcbskddh")))) (build-system python-build-system) (arguments `(#:phases @@ -12494,40 +12494,41 @@ text.") (("#!/bin/bash") (string-append "#!" (which "bash")))))) (replace 'check - (lambda _ - (setenv "PYTHONPATH" (string-append "./build/lib:" - (getenv "PYTHONPATH"))) - (invoke "pytest" "-vv" "-m" "not network" "-k" - ;; These tests require Docker. - (string-append "not test_terminate_job" - " and not test_invoke_function_from_sqs_exception" - " and not test_rotate_secret_lambda_invocations" - ;; No indication of why this one fails. - " and not test_container_overrides" - " and not test_dependencies" - ;; Exception from python-botocore 1.19.22. - ;; XXX: May pass after update. - " and not test_object_headers" - " and not test_delete_connection_not_present" - " and not test_delete_connection_success" - " and not test_describe_connection_not_present" - " and not test_describe_connection_success" - " and not test_delete_api_destination" - " and not test_create_and_list_api_destinations" - " and not test_delete_connection" - " and not test_create_and_describe_connection" - " and not test_create_and_list_connections" - " and not test_create_file_system_az_name_given_backup_default" - " and not test_create_file_system_aws_sample_2" - " and not test_describe_file_systems_aws_create_sample_2" - " and not test_create_file_system_aws_sample_1" - " and not test_create_image_with_tag_specification" - " and not test_get_group_configuration" - " and not test_create_and_update_api_destination" - ;; Exception from python-sure 1.4.11. - ;; XXX: May pass after update. - " and not test_encryption" - " and not test_create_transit_gateway"))))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "PYTHONPATH" (string-append "./build/lib:" + (getenv "PYTHONPATH"))) + (invoke "pytest" "-vv" "-m" "not network" "-k" + ;; These tests require Docker. + (string-append "not test_terminate_job" + " and not test_invoke_function_from_sqs_exception" + " and not test_rotate_secret_lambda_invocations" + ;; No indication of why this one fails. + " and not test_container_overrides" + " and not test_dependencies" + ;; Exception from python-botocore 1.19.22. + ;; XXX: May pass after update. + " and not test_object_headers" + " and not test_delete_connection_not_present" + " and not test_delete_connection_success" + " and not test_describe_connection_not_present" + " and not test_describe_connection_success" + " and not test_delete_api_destination" + " and not test_create_and_list_api_destinations" + " and not test_delete_connection" + " and not test_create_and_describe_connection" + " and not test_create_and_list_connections" + " and not test_create_file_system_az_name_given_backup_default" + " and not test_create_file_system_aws_sample_2" + " and not test_describe_file_systems_aws_create_sample_2" + " and not test_create_file_system_aws_sample_1" + " and not test_create_image_with_tag_specification" + " and not test_get_group_configuration" + " and not test_create_and_update_api_destination" + ;; Exception from python-sure 1.4.11. + ;; XXX: May pass after update. + " and not test_encryption" + " and not test_create_transit_gateway")))))))) (native-inputs `(("python-flask" ,python-flask) ("python-flask-cors" ,python-flask-cors) -- 2.30.2