From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 14 15:59:57 2023 Received: (at submit) by debbugs.gnu.org; 14 Apr 2023 19:59:57 +0000 Received: from localhost ([127.0.0.1]:47778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnPaP-0000bY-FJ for submit@debbugs.gnu.org; Fri, 14 Apr 2023 15:59:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:47142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnPaN-0000bP-TH for submit@debbugs.gnu.org; Fri, 14 Apr 2023 15:59:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnPaM-0001cd-C8 for guix-patches@gnu.org; Fri, 14 Apr 2023 15:59:54 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnPaK-00015C-Ja for guix-patches@gnu.org; Fri, 14 Apr 2023 15:59:54 -0400 Date: Fri, 14 Apr 2023 19:59:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1681502389; x=1681761589; bh=lUbVa05UnjtAwy04La9wccnOS/i6buzPeEDVw7LsFCc=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=guD47pqOJmq3C9B9dCnMHeYCo7ZwJfwfSaEuu/GaVDyf/HBEafACVyVW0r/ZSIRJ2 FX/7T2Zxt/F7FVwBMmts8HjVCI9GaV0hOQdfbcZj9bDWlLzW2TfHouRVbThLolbBRe ndVWWI6zcIiYOVM2hmxWw6WlTB/Lf9wIN7F3TlqNoxqbHNM/FVNz8viJS0JApdXWZr MFT1dUwSa2BFS8ouNlyj8FDIpTMYfJ/KphSlnqz7c0knUPihiC9/jEuDEbDsYQLxjE q2q4KiVM0eFpdHtP7cQ1eZFhgyw/FEg149SV2CS+ypyoInE9iKEjOhQXNEzPnCftgL A9UA8gihkrXLg== To: guix-patches@gnu.org From: Kaelyn Takata Subject: [PATCH core-updates] gnu: python-numpy: Skip failing tests on i686. Message-ID: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-4322.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Kaelyn Takata X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-xyz.scm (python-numpy): Skip failing tests on i686. --- gnu/packages/python-xyz.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ae20f48ac6..26502a6d81 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -135,6 +135,7 @@ ;;; Copyright =C2=A9 2023 Gabriel Wicki ;;; Copyright =C2=A9 2023 Amade Nemes ;;; Copyright =C2=A9 2023 Bruno Victal +;;; Copyright =C2=A9 2023 Kaelyn Takata ;;; ;;; This file is part of GNU Guix. ;;; @@ -6300,6 +6301,15 @@ (define-public python-numpy ;; x86_64 CPUs such as the Core 2 Duo (see: ;; https://github.com/numpy/numpy/issues/221= 70). "and not test_rint_big_int " + ;; The huge_array test is too large for 32-b= it (see: + ;; https://bugs.gentoo.org/843599 and + ;; https://bugs.gentoo.org/846548). + ;; TestKind.test_all is a Fortran type failu= re + ;; that may be toolchain or environment rela= ted. + #$@(if (or (target-x86?) (target-arm32?)) + `(" and not test_identityless_reducti= on_huge_array" + " and not (TestKind and test_all)") + '()) ;; These tests seem to fail on machines with= out ;; an FPU is still under investigation upstr= eam. ;; https://github.com/numpy/numpy/issues/206= 35 base-commit: 1e28aed2eb7049c8a40092071ac1ca1142869b6d -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 15 07:20:18 2023 Received: (at 62843) by debbugs.gnu.org; 15 Apr 2023 11:20:18 +0000 Received: from localhost ([127.0.0.1]:48381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pndx4-00029P-98 for submit@debbugs.gnu.org; Sat, 15 Apr 2023 07:20:18 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:50972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pndx2-00029D-VG for 62843@debbugs.gnu.org; Sat, 15 Apr 2023 07:20:17 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 0A0CE1D91; Sat, 15 Apr 2023 13:20:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s6l7vxMBEfke; Sat, 15 Apr 2023 13:20:09 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3575637A; Sat, 15 Apr 2023 13:20:09 +0200 (CEST) Date: Sat, 15 Apr 2023 13:20:07 +0200 From: Andreas Enge To: Kaelyn Subject: Re: python-pytest on core-updates (was: i686 core-updates failure.) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62843 Cc: guix-devel , 62843@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Fri, Apr 14, 2023 at 08:05:46PM +0000 schrieb Kaelyn: > I just sent in https://issues.guix.gnu.org/62843 to disable the two tests for i686 and armhf (disabling TestKind.test_all for armhf might not be needed, but the Gentoo package definition suggests the huge array test will fail for armhf as well). Thanks for taking care of this! Disabling the large array test on all 32 bit architectures sounds reasonable, and I think that disabling the fortran test on armhf is a reasonable approach also given that we have no CI for this architecture. The recent master/staging merge apparently broke python-pytest even on x86_64, see message below, which should be sorted out first. Andreas =================================== FAILURES =================================== ___________________ test_raise_assertion_error_raising_repr ____________________ pytester = def test_raise_assertion_error_raising_repr(pytester: Pytester) -> None: pytester.makepyfile( """ class RaisingRepr(object): def __repr__(self): raise Exception() def test_raising_repr(): raise AssertionError(RaisingRepr()) """ ) result = pytester.runpytest() if sys.version_info >= (3, 11): # python 3.11 has native support for un-str-able exceptions result.stdout.fnmatch_lines( ["E AssertionError: "] ) else: > result.stdout.fnmatch_lines( ["E AssertionError: "] ) E Failed: nomatch: 'E AssertionError: ' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.10.7, pytest-7.1.3, pluggy-1.0.0' E and: 'rootdir: /tmp/guix-build-python-pytest-7.1.3.drv-0/pytest-of-nixbld/pytest-0/test_raise_assertion_error_raising_repr0' E and: 'collected 1 item' E and: '' E and: 'test_raise_assertion_error_raising_repr.py F [100%]' E and: '' E and: '=================================== FAILURES ===================================' E and: '______________________________ test_raising_repr _______________________________' E and: '' E and: ' def test_raising_repr():' E and: '> raise AssertionError(RaisingRepr())' E and: 'E AssertionError: ' E and: '' E and: 'test_raise_assertion_error_raising_repr.py:5: AssertionError' E and: '=========================== short test summary info ============================' E and: 'FAILED test_raise_assertion_error_raising_repr.py::test_raising_repr - Assert...' E and: '============================== 1 failed in 0.01s ===============================' E remains unmatched: 'E AssertionError: ' /tmp/guix-build-python-pytest-7.1.3.drv-0/pytest-7.1.3/testing/test_assertion.py:1655: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.10.7, pytest-7.1.3, pluggy-1.0.0 rootdir: /tmp/guix-build-python-pytest-7.1.3.drv-0/pytest-of-nixbld/pytest-0/test_raise_assertion_error_raising_repr0 collected 1 item test_raise_assertion_error_raising_repr.py F [100%] =================================== FAILURES =================================== ______________________________ test_raising_repr _______________________________ def test_raising_repr(): > raise AssertionError(RaisingRepr()) E AssertionError: test_raise_assertion_error_raising_repr.py:5: AssertionError =========================== short test summary info ============================ FAILED test_raise_assertion_error_raising_repr.py::test_raising_repr - Assert... ============================== 1 failed in 0.01s =============================== =========================== short test summary info ============================ FAILED testing/test_assertion.py::test_raise_assertion_error_raising_repr - F... = 1 failed, 3040 passed, 92 skipped, 15 deselected, 9 xfailed in 290.90s (0:04:50) = error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "pytest" arguments: ("-vv" "-k" " not test_argcomplete and not test_code_highlight and not test_color_yes") exit-status: 1 term-signal: #f stop-signal: #f> phase `check' failed after 292.0 seconds command "pytest" "-vv" "-k" " not test_argcomplete and not test_code_highlight and not test_color_yes" failed with status 1 builder for `/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' failed with exit code 1 @ build-failed /gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv - 1 builder for `/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' failed with exit code 1 derivation '/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' offloaded to '141.80.167.159' failed: build of `/gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv' failed build of /gnu/store/rd9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv failed View build log at '/var/log/guix/drvs/rd/9aiszfkb8k96magk1y59hya79c9ch4-python-pytest-7.1.3.drv.gz'. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 15 16:49:18 2023 Received: (at 62843-done) by debbugs.gnu.org; 15 Apr 2023 20:49:18 +0000 Received: from localhost ([127.0.0.1]:50213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnmpi-000589-9U for submit@debbugs.gnu.org; Sat, 15 Apr 2023 16:49:18 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:38738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnmpg-00057v-J5 for 62843-done@debbugs.gnu.org; Sat, 15 Apr 2023 16:49:17 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 2C0401965; Sat, 15 Apr 2023 22:49:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3_uvFldSJ_oW; Sat, 15 Apr 2023 22:49:10 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 9ACD2166; Sat, 15 Apr 2023 22:49:10 +0200 (CEST) Date: Sat, 15 Apr 2023 22:49:09 +0200 From: Andreas Enge To: Kaelyn Subject: Re: python-pytest on core-updates (was: i686 core-updates failure.) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62843-done Cc: guix-devel , 62843-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Sat, Apr 15, 2023 at 01:20:07PM +0200 schrieb Andreas Enge: > The recent master/staging merge apparently broke python-pytest even on > x86_64, see message below, which should be sorted out first. With pytest repaired, your patch builds numpy successfully on both x86 architectures. Pushed, thanks again! Andreas From unknown Sat Aug 09 09:35:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 14 May 2023 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator