From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4G7cH9ghZmKQ9QAAbAwnHQ (envelope-from ) for ; Mon, 25 Apr 2022 06:21:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OES+H9ghZmJRWQAAauVa8A (envelope-from ) for ; Mon, 25 Apr 2022 06:21:44 +0200 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 2EF012A108 for ; Mon, 25 Apr 2022 06:21:44 +0200 (CEST) Received: from localhost ([::1]:43732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niqEJ-0000f7-AG for larch@yhetil.org; Mon, 25 Apr 2022 00:21:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nipvi-00081k-0H for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:31 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nipvh-0001pD-LE for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nipvh-0008IE-IW for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:29 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55104] [PATCH 094/232] gnu: pylint: Run tests in parallel. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 04:02:29 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55104@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 55104-submit@debbugs.gnu.org id=B55104.165085934631826 (code B ref 55104); Mon, 25 Apr 2022 04:02:29 +0000 Received: (at 55104) by debbugs.gnu.org; 25 Apr 2022 04:02:26 +0000 Received: from localhost ([127.0.0.1]:60953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipve-0008H3-3O for submit@debbugs.gnu.org; Mon, 25 Apr 2022 00:02:26 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:33398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipuC-0007ub-G5 for 55104@debbugs.gnu.org; Mon, 25 Apr 2022 00:01:00 -0400 Received: by mail-qt1-f181.google.com with SMTP id hf18so9594699qtb.0 for <55104@debbugs.gnu.org>; Sun, 24 Apr 2022 21:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fxl6l6g/Ft4pLJ7EN4g9jG5NFxWR29urreUIOYI4dJk=; b=nPMc3mEoCOhEIzY8gFuc7F7Xzq18OYMwXtB5xB/cW8fShWAf2KW2IiqzO0qFU61cHt o0z8EPaHLny8iDC27C6eQXiKdCvCB7Ux4TDWaHHzgSpxaPpoGp3XfcOYp8Q84pYLM6OH YLqvMXjCx/tg8xVvZkO63K4aHeQbxlbsRLGaUV3q+epEyFGZXrswn0hBn/zxNzTEuI0o 5Esfgz0CMWcuJ+LMaUg/YbyCya7UuZZU0+ErljbuVHT8uxy8INGeSqrvDDAGDrsQWiAg JjpVtTv+ATxhLInLXWNY1Y74ca6coHbQycEQwNqvSm5Js8CdRhhMGw73G40+CEjJTA2U hwLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fxl6l6g/Ft4pLJ7EN4g9jG5NFxWR29urreUIOYI4dJk=; b=Yooo08T6SsQvldQoATxPc0OMKyv9oCDolFzANomhh028BB4Vm7LbhBVUlXdrFZ/Jqq J2sUIT+crYQ6Nrsqmy5OWTtidExTRU4zeWMR3VLc6+10+hgPgIYIlm8TXgUEK34ISjJx vZIrPi9IGcjsl1JFDytPu1+RY3x8pQ/qXshHYEdAxhzKonDYy0olPGHrYE66imXFWxQF zWjJDjcePnQXYPs1QyZs0sWinH61DtQdgWBQjPeN+w+CM06vC5ndM6wDSHfKwQdxY2rv lj9QEbxz/ZIUlLP6wJNqUgTrf2eXk8M4o6bFBtFhtvaY1JrWSGiBRmODMlZcwR0u/Xlj uMMg== X-Gm-Message-State: AOAM532WgS/KHiwShjl1eNOixcKdgQh9FbRk7RO1Fxkqh9+cN9Xmdqbq JdYTzGO1zBt2QeBssYwvzztEpM0Rv3wfsg== X-Google-Smtp-Source: ABdhPJyA82edBBdqjU0mr63mZ7rs/V1iX4YK6amhe9FgKzbYHlEi+buAvWUDCJWLCSwU7qtqxmv8Sw== X-Received: by 2002:ac8:4813:0:b0:2f1:eb06:55c8 with SMTP id g19-20020ac84813000000b002f1eb0655c8mr10668973qtq.177.1650859250929; Sun, 24 Apr 2022 21:00:50 -0700 (PDT) Received: from localhost.localdomain (dsl-150-232.b2b2c.ca. [66.158.150.232]) by smtp.gmail.com with ESMTPSA id w82-20020a376255000000b0069ee3f0ae63sm4478142qkb.45.2022.04.24.21.00.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 21:00:50 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 24 Apr 2022 23:57:00 -0400 Message-Id: <20220425035918.25683-94-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220425035918.25683-1-maxim.cournoyer@gmail.com> References: <20220425035918.25683-1-maxim.cournoyer@gmail.com> 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650860504; 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=fxl6l6g/Ft4pLJ7EN4g9jG5NFxWR29urreUIOYI4dJk=; b=uS9XAUDTsFt23TcCEciNazAD5cm8onMA4svO+YmVuWmD9S98wzxaZe3uEg2kSWKueZ/lCd hwoOXdoSQ/EBrd8Y6Jam6kL+nVPmdUPgKq8uekfKRnvAs2zxZFHBGvNESA6u7vhzJ/DDex ejHHjyx+w3d1Xpz2Q81HPdbTYZvkxN8ZzXCrldmK2M6FfVEdkFGURuppldjrN3bmHBwpOC 3ot+6ueMHohEl5PpFZ5dhDxxsixCYa1Z20TgjfCeWwespSSoHiP25genYfSQ5/iZJgO34f oUUXkXUDSl1f64YpQjfMQNTJBEIiyNh6LVMyqMvgb6xMgKiHHXbE+DRhONflnQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650860504; a=rsa-sha256; cv=none; b=eaai7ZJwkm5b4vUcPXPCi92XvXqF0CDBSPHDjCE3bx+ak07f8QwzULb/T3bb+GT4Hgd7dG nFicpVVq+Rzwx8Q3Qk1ywAEdIS7xL7f6u3+NK82lDekQs8XcPoGSAPP5SUhEHGkVtvZs/J cOGwsLk5MDCCepWSWtoI4onmeecbzdIaVP47nX5YNzZDDwBds9S1f+Q5yviXoV1FrApx8g 5O5PH6eBH029p2e3hmqAazcNf11b1PXz1xK6/arQbHHjnnA+5Ad2COhGJCwMVTYNSEXral hCAOzElN6ZXCyyu3ugDGEUNJlf3JUwSYrTfXUqObO+yPdJA7z+U5zVBJKtikRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nPMc3mEo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 7.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nPMc3mEo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 2EF012A108 X-Spam-Score: 7.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: 04RAnaZIuDhd * gnu/packages/check.scm (python-pylint) [phases]{check}: Add the '-n' option to use xdist with pytest. [native-inputs]: Add python-pytest-xdist. --- gnu/packages/check.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index b7a5a9bd46..005a3bde7c 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2532,9 +2532,10 @@ (define-public python-pylint (delete-file "tests/primer/test_primer_external.py") (delete-file "tests/testutils/test_package_to_lint.py") (setenv "HOME" "/tmp") - (invoke "pytest" "-k" "test_functional"))))))) + (invoke "pytest" "-k" "test_functional" + "-n" (number->string (parallel-job-count))))))))) (native-inputs - (list python-pytest)) + (list python-pytest python-pytest-xdist)) (propagated-inputs (list python-astroid python-isort -- 2.34.0