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 uO6PD9CpUGFPvQAAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 19:11:44 +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 +DgPC9CpUGHZGAAAB5/wlQ (envelope-from ) for ; Sun, 26 Sep 2021 17:11:44 +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 CDC9B3418F for ; Sun, 26 Sep 2021 19:11:43 +0200 (CEST) Received: from localhost ([::1]:45004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUXgl-0000qc-0r for larch@yhetil.org; Sun, 26 Sep 2021 13:11:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUXeA-0006hn-Np for guix-patches@gnu.org; Sun, 26 Sep 2021 13:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUXeA-0001Fz-8x for guix-patches@gnu.org; Sun, 26 Sep 2021 13:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUXe9-0007m1-Iz for guix-patches@gnu.org; Sun, 26 Sep 2021 13:09:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50018] [PATCH v3 10/21] gnu: python-moto: Update to 2.2.7. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 17:09:01 +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: Vinicius Monego , 50018@debbugs.gnu.org Received: via spool by 50018-submit@debbugs.gnu.org id=B50018.163267610929843 (code B ref 50018); Sun, 26 Sep 2021 17:09:01 +0000 Received: (at 50018) by debbugs.gnu.org; 26 Sep 2021 17:08:29 +0000 Received: from localhost ([127.0.0.1]:38636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUXdd-0007lH-0X for submit@debbugs.gnu.org; Sun, 26 Sep 2021 13:08:29 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:38142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUXda-0007l7-LV for 50018@debbugs.gnu.org; Sun, 26 Sep 2021 13:08:27 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by xavier.telenet-ops.be with bizsmtp id yh8Q2500G0mfAB401h8Q9k; Sun, 26 Sep 2021 19:08:25 +0200 Message-ID: From: Maxime Devos Date: Sun, 26 Sep 2021 19:08:17 +0200 In-Reply-To: <20210916162112.54462-11-monego@posteo.net> References: <20210916162112.54462-1-monego@posteo.net> <20210916162112.54462-11-monego@posteo.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-JE55HAfMpRVlwDjU+yMO" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1632676105; bh=Y4FU3N4biCD656Mu7ve499uTweUjbInUtakWMUnWKy0=; h=Subject:From:To:Date:In-Reply-To:References; b=pa3NoKnmToTu2IJrICb8azkEeRPeNu6+Fa+e9FzSSwK6l/Z9+Trd/BbNadYQLZls0 /MzaR+O2yZ9JzrgMKWvRlj4vkKa5qtGG0jF5e0SXE662SJJ0B0NZIrMvbFKsJv5gSv 8F9M0X6BqwPX+PH2atRRAaNAFOOVL3M+4UtSxr04puFmOPKgE42AB8vE8qHDWPv7Dy oo7UfpgKvUABOXdsFlb2+oeg1QS67+K0wywKUr/Jz7GhLWUoZ/P6wwXy1Un4Yb2RQa s2727cfq+38RPmrikpf/eNhipthW7LLUjx2myWRnACFUKD7CvRK5kDok0z+c+Xg3Vo DxKwyqSYKNJcw== 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=1632676303; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=Y4FU3N4biCD656Mu7ve499uTweUjbInUtakWMUnWKy0=; b=ZtTKA/eigAYnDRJNK+l2LkCKGmPBO0RUzz9Hf8yuz2KvwfrhgJxZqFG0m06XtbULULTpDh WpiisgVGcyEKDT59ui/50MII2Bb0VoQV+GovWZ5jLHN4SU8yTf3gjsVZgDFfISugolFnNV QXFzfXOa8rOVqiK9Gjy15rk8LmvgUXTnwLPxBCrMSoNBZ9IaCeF/ZSr3eoaKkus/0kLUwP kVPX0eftnMKzxZkxZ3wkkupB2dymURhPxIWfYChdbzmwrAlOBvAAJvDdL+r3JRcEqPQojf 2z0Z40ElmAwCVpKntz7Gv7lptZqDsuE/kE3YQwip96bEjDROoJ6sgC32irlQeg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632676303; a=rsa-sha256; cv=none; b=sblzOPeKWC4pbRKhgz3fIu+p7MqJe/5Klf6PV7M6mwxCbc7Fpd2m1tFr0evvb+s9CSQyCj Obex08usF5W8oKKiSEKEEtSPiln9zozZMJySEaJaLf4I2YheB/pqiQe8sZAFaVGXgEZquJ oRksB2xXHH+Aj3vVtKeS9sEtwaKTdXB1VQjhLk4wcDK1PyPh9EYoMaif9qKfngRDzLbCbX SMqOZd2Zbaa463ZoStd6IAIosg3Q5Iob9yQRPR2r4tNVJi6RrzCSaNJnYhyIr82rAR/3gU qFC4ipw1nhTogid8410+xBmjjDKwAoYn8+r2OvXjSq70c8sYPL0Mnadakh8QIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=pa3NoKnm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=pa3NoKnm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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: CDC9B3418F X-Spam-Score: -3.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: OlvS1dRObB5N --=-JE55HAfMpRVlwDjU+yMO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Vinicius Monego schreef op do 16-09-2021 om 16:21 [+0000]: > * gnu/packages/python-xyz.scm (python-moto): Update to 2.2.7. > [arguments]: Make some cosmetic changes. Skip more tests. Don't return #t= on > phases. > --- > gnu/packages/python-xyz.scm | 49 +++++++++++++++++++++---------------- > 1 file changed, 28 insertions(+), 21 deletions(-) >=20 > diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > index 2b737bc029..b2be163eec 100644 > --- a/gnu/packages/python-xyz.scm > +++ b/gnu/packages/python-xyz.scm > @@ -12653,34 +12653,41 @@ text.") > (define-public python-moto > (package > (name "python-moto") > - ;; XXX: Use a pre-release for compatibility with latest botocore & f= riends. > - (version "1.3.16.dev134") > + (version "2.2.7") > (source (origin > (method url-fetch) > (uri (pypi-uri "moto" version)) > (sha256 > (base32 > - "1pix0c7zszjwzfy88n1rpih9vkdm25nqcvz93z850xvgwb4v81bd"))= )) > + "065m24x9d7vlmd7xfa9f5m7829axhq7r6mj5r44hi2bipv833lgm"))= )) > (build-system python-build-system) > (arguments > - `(#:phases (modify-phases %standard-phases > - (add-after 'unpack 'patch-hardcoded-executable-names > - (lambda _ > - (substitute* "moto/batch/models.py" > - (("/bin/sh") > - (which "sh"))) > - (substitute* (find-files "tests" "\\.py$") > - (("#!/bin/bash") > - (string-append "#!" (which "bash")))) > - #t)) > - (replace 'check > - (lambda _ > - (setenv "PYTHONPATH" (string-append "./build/lib:" > - (getenv "PYTHO= NPATH"))) > - (invoke "pytest" "-vv" "-m" "not network" > - ;; These tests require Docker. > - "-k" "not test_terminate_job \ > -and not test_invoke_function_from_sqs_exception")))))) > + `(#:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'patch-hardcoded-executable-names > + (lambda _ > + (substitute* "moto/batch/models.py" > + (("/bin/sh") > + (which "sh"))) This needs to be something like (search-input-file "bin/sh") instead for cross-compiling python-moto (though python-build-system doesn't support cross-compilation currently), with "bash-minimal" added to the inputs. Or (string-append (assoc-ref inputs "bash-minimal") "/bin/sh"), because search-input-file is only in core-updates and core-updates-frozen, and not yet in master. Greetings, Maxime --=-JE55HAfMpRVlwDjU+yMO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYVCpARccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lFRAP9BYnC8eftfCBn3nRcmQu0gE6lO DXgs71/F5W23K4k0BAEA76oM3Go8q5IiNrjGC763pzA1tvs56Uc/vNIF2LkFEAU= =IFWy -----END PGP SIGNATURE----- --=-JE55HAfMpRVlwDjU+yMO--