From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uIeFF2F9vmH7WgEAgWs5BA (envelope-from ) for ; Sun, 19 Dec 2021 01:31:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MEM9E2F9vmG6QwAAB5/wlQ (envelope-from ) for ; Sun, 19 Dec 2021 00:31:29 +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 025D72F862 for ; Sun, 19 Dec 2021 01:31:29 +0100 (CET) Received: from localhost ([::1]:37272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myk6q-00063P-6a for larch@yhetil.org; Sat, 18 Dec 2021 19:31:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myk6S-0005SP-KK for guix-patches@gnu.org; Sat, 18 Dec 2021 19:31:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:32977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myk6R-0006py-L5 for guix-patches@gnu.org; Sat, 18 Dec 2021 19:31:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myk6R-00043p-Hx for guix-patches@gnu.org; Sat, 18 Dec 2021 19:31:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50018] [PATCH v4 08/12] gnu: python-celery: Enable tests. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Dec 2021 00:31: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.163987381715485 (code B ref 50018); Sun, 19 Dec 2021 00:31:03 +0000 Received: (at 50018) by debbugs.gnu.org; 19 Dec 2021 00:30:17 +0000 Received: from localhost ([127.0.0.1]:44504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myk5g-00041f-Sz for submit@debbugs.gnu.org; Sat, 18 Dec 2021 19:30:17 -0500 Received: from mout02.posteo.de ([185.67.36.66]:49217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myk5f-000407-8D for 50018@debbugs.gnu.org; Sat, 18 Dec 2021 19:30:15 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A592B240103 for <50018@debbugs.gnu.org>; Sun, 19 Dec 2021 01:30:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1639873809; bh=kDvkaif1BnaFdqv0XVc2wr4PCsxe1y3/zH3F1YoHeu4=; h=From:To:Cc:Subject:Date:From; b=C0L3jPGNR12qH0DLBhtCL2EaFx2AxTFProWh+lFvb9SfycdkDL/tZfWxQSTmdyXdE GxJs1ltLpwCAdbFQLFeHd2qBu3fUHUFQC+DUXE+iK5LP7C8B2yJdp+pJ/POaFZp8XT YGhJAS6UxzN+Oc8EOEEXf2LPoL44bqNQ0gZcyreAmrFHo+hE0ZkBIXvoTIfCpFsT6f WrsJUANUUBWAL6ORH/jrjZG+2ImUWlNPgArZ0NnfPwnCUXPbKs3IStAysWDdQSXDuK fSN9hHqAl2wwLqziWOqTRRDeQWbYMYWxAJGSVJarPlcxHRPTaTbsmgKNPxTJqnqqPw pTTsYP0Cc7YoA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JGkBm6NHtz9rxK; Sun, 19 Dec 2021 01:30:08 +0100 (CET) From: Vinicius Monego Date: Sun, 19 Dec 2021 00:29:13 +0000 Message-Id: <20211219002917.119449-8-monego@posteo.net> In-Reply-To: <20211219002917.119449-1-monego@posteo.net> References: <20211219002917.119449-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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639873889; 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=nOojoyLQwxsy11hLL4V2HrzlcH9jMet6yXGXXMX5Upo=; b=XDuusC/JO/4tLpQ7+8+p1A9JQmF7ck3mpw9eZYrX4LoJX110j/FuQEYy0xcsU2abFAZKh3 wspbEtHig+R5WypnnGIVGmmX/G/IgsdbfZSfBlSM/yWM/2pI4Bt4AFnBxPQBgxfr92hiLm 0LoUb5RhCDI3Z5ypMmdhAIF6Kz7LttOS5Jhe3Gqa7UiQVr+amUU0WUKIKu+goRDStp93TZ 9cAHJq9WdX0rJVyi2HNlUaIaz5CCgcHaR7f8YPe8CFGVHlddfrl1sMhC3cjdxGAoGBEwwd QJdacdUsUrKWeHq0P+RKiHxGLGz+EPOYEuVHbk43kc4Vi5gxnzrkdLFxGTzIxg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639873889; a=rsa-sha256; cv=none; b=j9Nuww3Nrx26FrXWRlvWO8CmrgYcmX3YjU3jhpMDdfQPO3d/CfgSynIfsmmANsmyIyKadZ zrqOrqmvu4nTaWRB0OccoF6GibA2rgOk45Uko1qocS9dcvQODx63+dmJJ/aPwKvAs79jrA BAdWIoDESq6Y1aFAV/l3K8ABjV0dXOn6+cUtGokQrYxBQmiNoHGhDEFGkb0ILlOSGr/jqt aggQDGLRQpoXVsZa9CKJ8kLbrgXytv8feeoviF1FTJtcMVssK5Uc9uYZieK+EtxcVgf4Cq U3Q2NKtVJILanABLhKP/SyfVoNzdnZHXKbtx94hO0ZKJlK0qy08RZ87GWj65CA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=C0L3jPGN; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=C0L3jPGN; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 025D72F862 X-Spam-Score: -1.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: GU2z6x5Z6zN/ * gnu/packages/python-xyz.scm (python-celery)[arguments]: Remove 'patch-requirements phase. Remove #:tests?. Override 'check phase. [native-inputs]: Add python-flaky, python-iniconfig, python-moto, python-msgpack, python-pytest-celery, python-pytest-subtests, python-pytest-timeout, python-toml. --- gnu/packages/python-xyz.scm | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 00a834a33a..870685211b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14056,19 +14056,23 @@ Python 2.4 and 2.5, and will draw its fixes/improvements from python-trunk.") (base32 "1c6lw31i3v81fyj4yn37lbvv70xdgb389iccirzyjr992vlkv6ld")))) (build-system python-build-system) (arguments - '(;; TODO The tests fail with Python 3.7 - ;; https://github.com/celery/celery/issues/4849 - #:tests? #f - #:phases + '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-requirements + (add-after 'unpack 'delete-integration-tests (lambda _ - (substitute* "requirements/test.txt" - (("pytest>=3\\.0,<3\\.3") - "pytest>=3.0")) - #t))))) - (native-inputs - (list python-case python-pytest)) + (delete-file-recursively "t/integration"))) ; hangs tests + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest" "t" "-k" + (string-append ; AssertionErrors + "not test_check_privileges_no_fchown" + " and not test_all_reqs_enabled_in_tests")))))))) + (native-inputs + (list python-case python-flaky python-iniconfig python-moto + python-msgpack python-pytest python-pytest-celery + python-pytest-subtests python-pytest-timeout python-toml)) (propagated-inputs (list python-billiard python-boto3 python-click python-click-didyoumean python-click-plugins python-click-repl python-cryptography -- 2.30.2