From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +IqtH0Ojc2fBcgEA62LTzQ:P1 (envelope-from ) for ; Tue, 31 Dec 2024 07:54:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +IqtH0Ojc2fBcgEA62LTzQ (envelope-from ) for ; Tue, 31 Dec 2024 08:54:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ZdEsJzoF; dkim=fail ("headers rsa verify failed") header.d=scratchpost.org header.s=kas202409041115 header.b=ew6ouhtm; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735631683; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: 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=wD54r8yIXSBcl6UCQgzjrz3nktaFxQ46y5XTPRJuU70=; b=qZEtBJDz9X6LAzic60ap6z6hYJ2UBoLcWud7UsDtoJbSR5Q+AUM6DIN65ScETMlJg5LmkY 0NalafNyDLKn9ZBbktF1Vw9vkZPaooeo+jDRB7jugwgHsMKAECFuxuoCP+yDvZwFuhora6 zHq2hNgQiratrzKUMcsgsYtJhIkzLNmBCjo2ZOgOUtg2I//7kSC2icOwBcoOlVPE5A/LfG jQkAIe9Ou6V0uMU5ErgzHJuV5NW2ujOMICNUb5iNkbhX3v3Twi20jVBfK5s1c3dmrjzvD1 iBiYEbCHhAxRLDYy8suKkkigX3USEWwMCrorHiK7blY4ZT9G8EPgNf5sGDg3ng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ZdEsJzoF; dkim=fail ("headers rsa verify failed") header.d=scratchpost.org header.s=kas202409041115 header.b=ew6ouhtm; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735631683; a=rsa-sha256; cv=none; b=k2ZY4fySYtiBFgcqUvb6N93H7ZP1LjCobyO1NFpQ//iFF6lIu83NZZqcoLqB4n2Cqst5sb 4tqP7M8Vgl6ZL2fCvDvfBEOOwBvOiXTtXJ/3Y2Jh+pdKewCNaPPo5o9ydJ+lqQHbRYczn9 oiGJJlRJ5v0XEHp3ElyNcWN1o2R0JNvsYJhchqgWFcudzQPpqeDRJJ7T2bGwiMv3oCKXxd mE9IBiB7FzA2hEku6lRSUXAy1tniIZPTmlgYSZ8W/aQlGr9Oitv/Y5170Y/Y1H/cuIdKv8 6+gGghkN3jecs6v6ywKskL0G79YoPB6jdBp2L11x+wY7jP/QOhnHCyyFkYStYw== 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 B2F619C091 for ; Tue, 31 Dec 2024 08:54:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSX4t-0000fv-U1; Tue, 31 Dec 2024 02:54:11 -0500 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 1tSX4m-0000fU-VZ for bug-guix@gnu.org; Tue, 31 Dec 2024 02:54:06 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSX4l-0005Vb-EW for bug-guix@gnu.org; Tue, 31 Dec 2024 02:54:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:In-Reply-To:MIME-Version:From:References:To:Subject; bh=wD54r8yIXSBcl6UCQgzjrz3nktaFxQ46y5XTPRJuU70=; b=ZdEsJzoFDySGH8e/l7uWAEXV/2JNlK0vJRjAx8p1f5pgn+Ank+W0iWI44Ababh/P+Kn4fufiRrnuRr7mvmt5OhlA7gjLobbjatNjf+mrvuPelAv9bLMxe0TbW2uTNlm1YR4rLOjdREJVSin9BiQH3dXeETA7tnLBo/J3+QEvQeETnneBxchgcVdi2qtFITLEw6iBX3HoVkGLsJP+ZQNpidivB5pl7dsFJzFl607ASQbraMnWUVQ09z8qsUpSFxU/4ZqbGc0HA1QJHmXXhXNgL/tk/A0VDxHFF1HzGZcoeWYucE2chmVa8JhfcoQYpxi3k3Ss+YMbd+2BexJR/JQB3w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSX4k-0004LJ-Al for bug-guix@gnu.org; Tue, 31 Dec 2024 02:54:02 -0500 Subject: bug#74969: trash-cli does not build Resent-From: "Danny Milosavljevic" Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 31 Dec 2024 07:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74969 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74969-done@debbugs.gnu.org, flake@uni-koblenz.de Mail-Followup-To: 74969@debbugs.gnu.org, dannym@scratchpost.org, flake@uni-koblenz.de Received: via spool by 74969-done@debbugs.gnu.org id=D74969.173563163816680 (code D ref 74969); Tue, 31 Dec 2024 07:54:02 +0000 Received: (at 74969-done) by debbugs.gnu.org; 31 Dec 2024 07:53:58 +0000 Received: from localhost ([127.0.0.1]:33154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSX4g-0004Ky-4K for submit@debbugs.gnu.org; Tue, 31 Dec 2024 02:53:58 -0500 Received: from dd30410.kasserver.com ([85.13.145.193]:56912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSX4c-0004Kn-Ux for 74969-done@debbugs.gnu.org; Tue, 31 Dec 2024 02:53:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scratchpost.org; s=kas202409041115; t=1735631632; bh=wD54r8yIXSBcl6UCQgzjrz3nktaFxQ46y5XTPRJuU70=; h=Subject:To:References:From:In-Reply-To:Date:From; b=ew6ouhtmOS68q9bxzmKO9MAY1FGe0bF3SOtwZkeyzi1jYwahkWYnG8o9oa+bDw+w3 lEG32rPOdZFdBXMDcjAzsqcI1wG4bc3XVafxYy0+fTq+tqP2vqtcmyQIjR0lKweX8G fgohfiSN0k1NnHx3nqBS5UzGYVhrcCGGQJ9eKvmboNOgv10ixkr/LFN7EcttHfQhrH +ovd5lR6FX8BMt1IsJwMd/OBKsnTC9cVKRUpSlmPP0Ez17Kr+uxbN0XMNd2IsWwT4A Fhe97BqBLEKX/zmgSOPc9iRFbZPE7vBMQCuZ0AZ0fWM2AIqmjYIugrkW9Do4YY+K7t Mdy8E0vMv+vng== Received: from dd30410.kasserver.com (dd0806.kasserver.com [85.13.161.252]) by dd30410.kasserver.com (Postfix) with ESMTPSA id 80BE61122F0A; Tue, 31 Dec 2024 08:53:52 +0100 (CET) References: <87zfks7x7e.fsf@uni-koblenz.de> From: "Danny Milosavljevic" User-Agent: ALL-INKL Webmail 2.11 X-SenderIP: 85.132.229.252 MIME-Version: 1.0 In-Reply-To: <87zfks7x7e.fsf@uni-koblenz.de> Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-Id: <20241231075352.80BE61122F0A@dd30410.kasserver.com> Date: Tue, 31 Dec 2024 08:53:52 +0100 (CET) X-Spamd-Bar: - X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.16 X-Spam-Score: -8.16 X-Migadu-Queue-Id: B2F619C091 X-Migadu-Scanner: mx10.migadu.com X-TUID: z7YDiJNG15Nl

Hello,

Thanks for the report!

I fixed this bug in guix master commit 1fc78ed02d890692fa3fb6a9609fc5cf5= 4658a20.

BR,

   Danny

Julian Flake via Bug reports for GNU Guix wrote on 19.12.2024 12:01 (GMT= +01:00):

Hi,

after recent python updates in master, tests in trash-cli fail and=20
therefore, the derivation fails to build:

--8<---------------cut here---------------start------------->8---
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D test session starts=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
platform linux -- Python 3.10.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /tmp/guix-build-trash-cli-0.22.10.20.drv-0/source
configfile: pyproject.toml
plugins: hypothesis-6.54.5
collected 354 items / 6 errors

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERRORS=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
________ ERROR collecting=20
tests/test_empty/empty_cmd/test_empty_cmd.py _________
tests/test_empty/empty_cmd/test_empty_cmd.py:9: in <module>
    from flexmock import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1246:

in <module>
    _hook_into_pytest()
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1228:

in _hook_into_pytest
    saved =3D runner.call_runtest_hook
E   AttributeError: module '_pytest.runner' has no attribute=20
'call_runtest_hook'
_____________ ERROR collecting tests/test_put/test_file_trasher.py=20
_____________
tests/test_put/test_file_trasher.py:3: in <module>
    import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1246:

in <module>
    _hook_into_pytest()
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1228:

in _hook_into_pytest
    saved =3D runner.call_runtest_hook
E   AttributeError: module '_pytest.runner' has no attribute=20
'call_runtest_hook'
_______ ERROR collecting=20
tests/test_put/test_trash_directory_for_put.py ________
tests/test_put/test_trash_directory_for_put.py:6: in <module>
    from flexmock import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1246:

in <module>
    _hook_into_pytest()
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1228:

in _hook_into_pytest
    saved =3D runner.call_runtest_hook
E   AttributeError: module '_pytest.runner' has no attribute=20
'call_runtest_hook'
____________ ERROR collecting tests/test_put/test_trash_file_in.py=20
_____________
tests/test_put/test_trash_file_in.py:3: in <module>
    import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1246:

in <module>
    _hook_into_pytest()
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1228:

in _hook_into_pytest
    saved =3D runner.call_runtest_hook
E   AttributeError: module '_pytest.runner' has no attribute=20
'call_runtest_hook'
_______________ ERROR collecting tests/test_put/test_trasher.py=20
________________
tests/test_put/test_trasher.py:5: in <module>
    import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1246:

in <module>
    _hook_into_pytest()
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1228:

in _hook_into_pytest
    saved =3D runner.call_runtest_hook
E   AttributeError: module '_pytest.runner' has no attribute=20
'call_runtest_hook'
_________________ ERROR collecting tests/test_put/test_user.py=20
_________________
tests/test_put/test_user.py:4: in <module>
    import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1246:

in <module>
    _hook_into_pytest()
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/pyth=
on3.10/site-packages/flexmock.py:1228:

in _hook_into_pytest
    saved =3D runner.call_runtest_hook
E   AttributeError: module '_pytest.runner' has no attribute=20
'call_runtest_hook'
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D short test summary info=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
ERROR tests/test_empty/empty_cmd/test_empty_cmd.py -=20
AttributeError: module '...
ERROR tests/test_put/test_file_trasher.py - AttributeError: module=20
'_pytest.r...
ERROR tests/test_put/test_trash_directory_for_put.py -=20
AttributeError: module...
ERROR tests/test_put/test_trash_file_in.py - AttributeError:=20
module '_pytest....
ERROR tests/test_put/test_trasher.py - AttributeError: module=20
'_pytest.runner...
ERROR tests/test_put/test_user.py - AttributeError: module=20
'_pytest.runner' h...
!!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection=20
                    !!!!!!!!!!!!!!!!!!!!
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D 6 errors in 0.50s=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "pytest" arguments: ()=20
 exit-status: 2 term-signal: #f stop-signal: #f>=20
phase `check' failed after 0.6 seconds
command "pytest" failed with status 2
build process 18 exited with status 256
--8<---------------cut here---------------end--------------->8---

cheers,
nutcase