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 D033815801B for ; Tue, 29 Aug 2023 16:20:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D16622BC024; Tue, 29 Aug 2023 16:20:16 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5CCD2BC024 for ; Tue, 29 Aug 2023 16:20:16 +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 8AF6F335D0A for ; Tue, 29 Aug 2023 16:20:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 017BB1076 for ; Tue, 29 Aug 2023 16:20:13 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1693326007.6377c8297a92af3206ec741c3e2c1fde4f337370.mgorny@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.25.1-r1.ebuild dev-python/qiskit-terra/qiskit-terra-0.25.1.ebuild X-VCS-Directories: dev-python/qiskit-terra/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6377c8297a92af3206ec741c3e2c1fde4f337370 X-VCS-Branch: master Date: Tue, 29 Aug 2023 16:20:13 +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: 6cbe849e-5612-4cd6-a803-b1399a6978cd X-Archives-Hash: 888f83e58073cc060beaa00f0313a988 commit: 6377c8297a92af3206ec741c3e2c1fde4f337370 Author: Michał Górny gentoo org> AuthorDate: Tue Aug 29 15:27:45 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Aug 29 16:20:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6377c829 dev-python/qiskit-terra: Strip magic -Werror from test base Signed-off-by: Michał Górny gentoo.org> .../{qiskit-terra-0.25.1.ebuild => qiskit-terra-0.25.1-r1.ebuild} | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-python/qiskit-terra/qiskit-terra-0.25.1.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.25.1-r1.ebuild similarity index 96% rename from dev-python/qiskit-terra/qiskit-terra-0.25.1.ebuild rename to dev-python/qiskit-terra/qiskit-terra-0.25.1-r1.ebuild index 0df372dfd7da..cac80a093412 100644 --- a/dev-python/qiskit-terra/qiskit-terra-0.25.1.ebuild +++ b/dev-python/qiskit-terra/qiskit-terra-0.25.1-r1.ebuild @@ -154,6 +154,12 @@ QA_FLAGS_IGNORED=" distutils_enable_tests pytest +src_prepare() { + # strip forcing -Werror from tests that also leaks to other packages + sed -i -e '/filterwarnings.*error/d' qiskit/test/base.py || die + distutils-r1_src_prepare +} + python_test() { local EPYTEST_DESELECT=( # TODO