From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 675FD158021 for ; Sun, 30 Oct 2022 21:09:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DDFDE07EA; Sun, 30 Oct 2022 21:09:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73C80E07EA for ; Sun, 30 Oct 2022 21:09:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 63C64340EA4 for ; Sun, 30 Oct 2022 21:09:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81FE0629 for ; Sun, 30 Oct 2022 21:09:34 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1667164160.173bb4015477ec628b948cef72540f66e4e8fe3b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qiskit-terra/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/qiskit-terra/qiskit-terra-0.22.0.ebuild X-VCS-Directories: dev-python/qiskit-terra/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 173bb4015477ec628b948cef72540f66e4e8fe3b X-VCS-Branch: master Date: Sun, 30 Oct 2022 21:09:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cd285255-69de-459d-af6d-e0c2b539c49f X-Archives-Hash: 9f8d3a6291c034fabb7f53ad79383965 commit: 173bb4015477ec628b948cef72540f66e4e8fe3b Author: Sam James gentoo org> AuthorDate: Sun Oct 30 21:09:20 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 30 21:09:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=173bb401 dev-python/qiskit-terra: use xdist for tests Huge speedup. Signed-off-by: Sam James gentoo.org> dev-python/qiskit-terra/qiskit-terra-0.22.0.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-python/qiskit-terra/qiskit-terra-0.22.0.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.22.0.ebuild index 21deb84ad942..7a0c507d8577 100644 --- a/dev-python/qiskit-terra/qiskit-terra-0.22.0.ebuild +++ b/dev-python/qiskit-terra/qiskit-terra-0.22.0.ebuild @@ -74,7 +74,7 @@ CRATES=" DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..10} ) -inherit cargo distutils-r1 +inherit cargo distutils-r1 multiprocessing DESCRIPTION="Terra is the foundation on which Qiskit is built" HOMEPAGE="https://github.com/Qiskit/qiskit-terra" @@ -115,6 +115,7 @@ BDEPEND=" >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] >=dev-python/networkx-2.2[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/qiskit-aer[${PYTHON_USEDEP}] >=sci-libs/scikit-learn-0.20.0[${PYTHON_USEDEP}] ) @@ -135,7 +136,7 @@ python_test() { # Some small tests are failing which test optional features. # Why they fail is still under investigation. # transpiler_equivalence tests take too long time, they are also skipped. - epytest -k 'not (TestOptions and test_copy) and not TestUnitarySynthesisPlugin and not test_transpiler_equivalence and not (TestPauliSumOp and test_to_instruction)' + epytest -n "$(makeopts_jobs)" -k 'not (TestOptions and test_copy) and not TestUnitarySynthesisPlugin and not test_transpiler_equivalence and not (TestPauliSumOp and test_to_instruction)' mv qiskit.hidden qiskit || die }