From unknown Sun Jun 15 08:52:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74969: trash-cli does not build Resent-From: Julian Flake Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 19 Dec 2024 11:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74969 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74969@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17346061404148 (code B ref -1); Thu, 19 Dec 2024 11:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Dec 2024 11:02:20 +0000 Received: from localhost ([127.0.0.1]:37650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOEIO-00014q-0Q for submit@debbugs.gnu.org; Thu, 19 Dec 2024 06:02:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:39286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOEIM-00014f-Ak for submit@debbugs.gnu.org; Thu, 19 Dec 2024 06:02:19 -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 1tOEIF-0001Bz-5A for bug-guix@gnu.org; Thu, 19 Dec 2024 06:02:12 -0500 Received: from nsmtp.uni-koblenz.de ([141.26.64.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOEIC-0002Bf-7o for bug-guix@gnu.org; Thu, 19 Dec 2024 06:02:10 -0500 Received: from localhost (localhost [127.0.0.1]) by nsmtp.uni-koblenz.de (Postfix) with ESMTP id 4CE051A0025 for ; Thu, 19 Dec 2024 12:02:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uni-koblenz.de; h=content-type:content-type:mime-version:message-id:date:date :user-agent:subject:subject:from:from:received:received :received; s=mail; t=1734606123; x=1736420524; bh=8AGOOo4NCyY7iw AnmMKwypSW/V+cdGeFqobtLthOHq0=; b=kMffRn7QzsOeoka/1bD68sgACRvidI hhzTR5b9pDM+42Rg3zW2Qw2K9/jtxj1P/P4Hei2ERVnt4kHdVSlTMRE+ujUxhpEn GoqCVnfx+tVmaiiXLSSc8ZNZBOO9mYZ4CuSeyTq8mXl2jpXnufPXN86ZoIEujRzX xBG2auAWmTMz0= X-Virus-Scanned: Debian amavisd-new at uni-koblenz.de Received: from nsmtp.uni-koblenz.de ([127.0.0.1]) by localhost (nsmtp.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M_9d5zf1mmqb for ; Thu, 19 Dec 2024 12:02:03 +0100 (CET) Received: from mailproxy.uni-koblenz.de (mailproxy.uni-koblenz.de [141.26.64.230]) by nsmtp.uni-koblenz.de (Postfix) with ESMTPS for ; Thu, 19 Dec 2024 12:02:03 +0100 (CET) Received: from nutbook9 (unknown [IPv6:2001:9e8:5ef1:bb00:1167:1071:1491:b1f6]) by mailproxy.uni-koblenz.de (Postfix) with ESMTPSA id 12C3710040C for ; Thu, 19 Dec 2024 12:02:03 +0100 (CET) From: Julian Flake User-Agent: mu4e 1.12.7; emacs 29.4 Date: Thu, 19 Dec 2024 12:01:57 +0100 Message-ID: <87zfks7x7e.fsf@uni-koblenz.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=141.26.64.14; envelope-from=flake@uni-koblenz.de; helo=nsmtp.uni-koblenz.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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.4 (--) --=-=-= Content-Type: text/plain; format=flowed Hi, after recent python updates in master, tests in trash-cli fail and therefore, the derivation fails to build: --8<---------------cut here---------------start------------->8--- ============================= test session starts ============================== 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 ==================================== ERRORS ==================================== ________ ERROR collecting tests/test_empty/empty_cmd/test_empty_cmd.py _________ tests/test_empty/empty_cmd/test_empty_cmd.py:9: in from flexmock import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _____________ ERROR collecting tests/test_put/test_file_trasher.py _____________ tests/test_put/test_file_trasher.py:3: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _______ ERROR collecting tests/test_put/test_trash_directory_for_put.py ________ tests/test_put/test_trash_directory_for_put.py:6: in from flexmock import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' ____________ ERROR collecting tests/test_put/test_trash_file_in.py _____________ tests/test_put/test_trash_file_in.py:3: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _______________ ERROR collecting tests/test_put/test_trasher.py ________________ tests/test_put/test_trasher.py:5: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _________________ ERROR collecting tests/test_put/test_user.py _________________ tests/test_put/test_user.py:4: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' =========================== short test summary info ============================ ERROR tests/test_empty/empty_cmd/test_empty_cmd.py - AttributeError: module '... ERROR tests/test_put/test_file_trasher.py - AttributeError: module '_pytest.r... ERROR tests/test_put/test_trash_directory_for_put.py - AttributeError: module... ERROR tests/test_put/test_trash_file_in.py - AttributeError: module '_pytest.... ERROR tests/test_put/test_trasher.py - AttributeError: module '_pytest.runner... ERROR tests/test_put/test_user.py - AttributeError: module '_pytest.runner' h... !!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 6 errors in 0.50s =============================== error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "pytest" arguments: () exit-status: 2 term-signal: #f stop-signal: #f> 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHMEAREKADMWIQSZos45zYG9CgQjO52pmOo730U57wUCZ2P9JRUcZmxha2VAdW5p LWtvYmxlbnouZGUACgkQqZjqO99FOe/WaQCdGoB0dBBrdsy/WXTACfVlYs4juR0A mweCzqFA5Eskpxfkh1XwmlvrjPLs =w4kr -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 15 08:52:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Julian Flake Subject: bug#74969: closed (Re: bug#74969: trash-cli does not build) Message-ID: References: <20241231075352.80BE61122F0A@dd30410.kasserver.com> <87zfks7x7e.fsf@uni-koblenz.de> X-Gnu-PR-Message: they-closed 74969 X-Gnu-PR-Package: guix Reply-To: 74969@debbugs.gnu.org Date: Tue, 31 Dec 2024 07:54:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1735631642-16692-1" This is a multi-part message in MIME format... ------------=_1735631642-16692-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #74969: trash-cli does not build which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 74969@debbugs.gnu.org. --=20 74969: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74969 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1735631642-16692-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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) Subject: Re: bug#74969: trash-cli does not build To: 74969-done@debbugs.gnu.org, flake@uni-koblenz.de 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-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 74969-done 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.6 (-)

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

------------=_1735631642-16692-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Dec 2024 11:02:20 +0000 Received: from localhost ([127.0.0.1]:37650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOEIO-00014q-0Q for submit@debbugs.gnu.org; Thu, 19 Dec 2024 06:02:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:39286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOEIM-00014f-Ak for submit@debbugs.gnu.org; Thu, 19 Dec 2024 06:02:19 -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 1tOEIF-0001Bz-5A for bug-guix@gnu.org; Thu, 19 Dec 2024 06:02:12 -0500 Received: from nsmtp.uni-koblenz.de ([141.26.64.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOEIC-0002Bf-7o for bug-guix@gnu.org; Thu, 19 Dec 2024 06:02:10 -0500 Received: from localhost (localhost [127.0.0.1]) by nsmtp.uni-koblenz.de (Postfix) with ESMTP id 4CE051A0025 for ; Thu, 19 Dec 2024 12:02:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uni-koblenz.de; h=content-type:content-type:mime-version:message-id:date:date :user-agent:subject:subject:from:from:received:received :received; s=mail; t=1734606123; x=1736420524; bh=8AGOOo4NCyY7iw AnmMKwypSW/V+cdGeFqobtLthOHq0=; b=kMffRn7QzsOeoka/1bD68sgACRvidI hhzTR5b9pDM+42Rg3zW2Qw2K9/jtxj1P/P4Hei2ERVnt4kHdVSlTMRE+ujUxhpEn GoqCVnfx+tVmaiiXLSSc8ZNZBOO9mYZ4CuSeyTq8mXl2jpXnufPXN86ZoIEujRzX xBG2auAWmTMz0= X-Virus-Scanned: Debian amavisd-new at uni-koblenz.de Received: from nsmtp.uni-koblenz.de ([127.0.0.1]) by localhost (nsmtp.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M_9d5zf1mmqb for ; Thu, 19 Dec 2024 12:02:03 +0100 (CET) Received: from mailproxy.uni-koblenz.de (mailproxy.uni-koblenz.de [141.26.64.230]) by nsmtp.uni-koblenz.de (Postfix) with ESMTPS for ; Thu, 19 Dec 2024 12:02:03 +0100 (CET) Received: from nutbook9 (unknown [IPv6:2001:9e8:5ef1:bb00:1167:1071:1491:b1f6]) by mailproxy.uni-koblenz.de (Postfix) with ESMTPSA id 12C3710040C for ; Thu, 19 Dec 2024 12:02:03 +0100 (CET) From: Julian Flake To: bug-guix@gnu.org Subject: trash-cli does not build User-Agent: mu4e 1.12.7; emacs 29.4 Date: Thu, 19 Dec 2024 12:01:57 +0100 Message-ID: <87zfks7x7e.fsf@uni-koblenz.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=141.26.64.14; envelope-from=flake@uni-koblenz.de; helo=nsmtp.uni-koblenz.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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.4 (--) --=-=-= Content-Type: text/plain; format=flowed Hi, after recent python updates in master, tests in trash-cli fail and therefore, the derivation fails to build: --8<---------------cut here---------------start------------->8--- ============================= test session starts ============================== 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 ==================================== ERRORS ==================================== ________ ERROR collecting tests/test_empty/empty_cmd/test_empty_cmd.py _________ tests/test_empty/empty_cmd/test_empty_cmd.py:9: in from flexmock import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _____________ ERROR collecting tests/test_put/test_file_trasher.py _____________ tests/test_put/test_file_trasher.py:3: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _______ ERROR collecting tests/test_put/test_trash_directory_for_put.py ________ tests/test_put/test_trash_directory_for_put.py:6: in from flexmock import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' ____________ ERROR collecting tests/test_put/test_trash_file_in.py _____________ tests/test_put/test_trash_file_in.py:3: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _______________ ERROR collecting tests/test_put/test_trasher.py ________________ tests/test_put/test_trasher.py:5: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' _________________ ERROR collecting tests/test_put/test_user.py _________________ tests/test_put/test_user.py:4: in import flexmock /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: in _hook_into_pytest() /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: in _hook_into_pytest saved = runner.call_runtest_hook E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook' =========================== short test summary info ============================ ERROR tests/test_empty/empty_cmd/test_empty_cmd.py - AttributeError: module '... ERROR tests/test_put/test_file_trasher.py - AttributeError: module '_pytest.r... ERROR tests/test_put/test_trash_directory_for_put.py - AttributeError: module... ERROR tests/test_put/test_trash_file_in.py - AttributeError: module '_pytest.... ERROR tests/test_put/test_trasher.py - AttributeError: module '_pytest.runner... ERROR tests/test_put/test_user.py - AttributeError: module '_pytest.runner' h... !!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 6 errors in 0.50s =============================== error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "pytest" arguments: () exit-status: 2 term-signal: #f stop-signal: #f> 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHMEAREKADMWIQSZos45zYG9CgQjO52pmOo730U57wUCZ2P9JRUcZmxha2VAdW5p LWtvYmxlbnouZGUACgkQqZjqO99FOe/WaQCdGoB0dBBrdsy/WXTACfVlYs4juR0A mweCzqFA5Eskpxfkh1XwmlvrjPLs =w4kr -----END PGP SIGNATURE----- --=-=-=-- ------------=_1735631642-16692-1-- From unknown Sun Jun 15 08:52:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74969: trash-cli does not build Resent-From: Julian Flake Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 31 Dec 2024 08:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74969 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Danny Milosavljevic" Cc: 74969-done@debbugs.gnu.org Received: via spool by 74969-done@debbugs.gnu.org id=D74969.173563476926068 (code D ref 74969); Tue, 31 Dec 2024 08:47:01 +0000 Received: (at 74969-done) by debbugs.gnu.org; 31 Dec 2024 08:46:09 +0000 Received: from localhost ([127.0.0.1]:33233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSXt9-0006mM-V9 for submit@debbugs.gnu.org; Tue, 31 Dec 2024 03:46:09 -0500 Received: from nsmtp.uni-koblenz.de ([141.26.64.14]:57771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSXt5-0006m5-Ac for 74969-done@debbugs.gnu.org; Tue, 31 Dec 2024 03:46:07 -0500 Received: from localhost (localhost [127.0.0.1]) by nsmtp.uni-koblenz.de (Postfix) with ESMTP id 78B7A1A0025; Tue, 31 Dec 2024 09:46:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uni-koblenz.de; h=content-type:content-type:mime-version:message-id:date:date :user-agent:references:in-reply-to:subject:subject:from:from :received:received:received; s=mail; t=1735634761; x=1737449162; bh=DPidITF/2Ll/44cYMMWX+EfPYUEXpDaQCcbgacwC69k=; b=BtuajEuEznIE w0e5cLvNvcyLVCNT/0okNojAhcRs5hTtm7oOw8GV+avEqBrfTwiyCVR9V5B/L81Z MyeHjmHPwLhB+8+3YEgmbGYxSjbjdaR4LzAIqXieX2ob3lR3Rpn8MPMvR8P/2p6I mwrOH6zxw+BzqPV4u/JKNewR8KtQcxI= X-Virus-Scanned: Debian amavisd-new at uni-koblenz.de Received: from nsmtp.uni-koblenz.de ([127.0.0.1]) by localhost (nsmtp.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xl56NAGSkT3M; Tue, 31 Dec 2024 09:46:01 +0100 (CET) Received: from mailproxy.uni-koblenz.de (mailproxy.uni-koblenz.de [141.26.64.230]) by nsmtp.uni-koblenz.de (Postfix) with ESMTPS; Tue, 31 Dec 2024 09:46:01 +0100 (CET) Received: from nutbook9 (unknown [IPv6:2001:9e8:5ee6:5800:1ed3:7151:ab:3c5]) by mailproxy.uni-koblenz.de (Postfix) with ESMTPSA id 136DC100207; Tue, 31 Dec 2024 09:46:01 +0100 (CET) From: Julian Flake In-Reply-To: <20241231075352.80BE61122F0A@dd30410.kasserver.com> (Danny Milosavljevic's message of "Tue, 31 Dec 2024 08:53:52 +0100 (CET)") References: <87zfks7x7e.fsf@uni-koblenz.de> <20241231075352.80BE61122F0A@dd30410.kasserver.com> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Tue, 31 Dec 2024 09:45:58 +0100 Message-ID: <87cyh82qbd.fsf@uni-koblenz.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain; format=flowed Hello Danny, thanks for the fix! Best Regards, nutcase On Tue, Dec 31 2024, Danny Milosavljevic wrote: > Hello, > > Thanks for the report! > > I fixed this bug in guix master commit > 1fc78ed02d890692fa3fb6a9609fc5cf54658a20. > > 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 > therefore, the derivation fails to build: > > --8<---------------cut > here---------------start------------->8--- > ============================= test session starts > ============================== > 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 > > ==================================== ERRORS > ==================================== > ________ ERROR collecting > tests/test_empty/empty_cmd/test_empty_cmd.py _________ > tests/test_empty/empty_cmd/test_empty_cmd.py:9: in > from flexmock import flexmock > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: > > in > _hook_into_pytest() > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: > > in _hook_into_pytest > saved = runner.call_runtest_hook > E AttributeError: module '_pytest.runner' has no attribute > 'call_runtest_hook' > _____________ ERROR collecting > tests/test_put/test_file_trasher.py > _____________ > tests/test_put/test_file_trasher.py:3: in > import flexmock > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: > > in > _hook_into_pytest() > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: > > in _hook_into_pytest > saved = runner.call_runtest_hook > E AttributeError: module '_pytest.runner' has no attribute > 'call_runtest_hook' > _______ ERROR collecting > tests/test_put/test_trash_directory_for_put.py ________ > tests/test_put/test_trash_directory_for_put.py:6: in > from flexmock import flexmock > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: > > in > _hook_into_pytest() > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: > > in _hook_into_pytest > saved = runner.call_runtest_hook > E AttributeError: module '_pytest.runner' has no attribute > 'call_runtest_hook' > ____________ ERROR collecting > tests/test_put/test_trash_file_in.py > _____________ > tests/test_put/test_trash_file_in.py:3: in > import flexmock > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: > > in > _hook_into_pytest() > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: > > in _hook_into_pytest > saved = runner.call_runtest_hook > E AttributeError: module '_pytest.runner' has no attribute > 'call_runtest_hook' > _______________ ERROR collecting tests/test_put/test_trasher.py > ________________ > tests/test_put/test_trasher.py:5: in > import flexmock > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: > > in > _hook_into_pytest() > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: > > in _hook_into_pytest > saved = runner.call_runtest_hook > E AttributeError: module '_pytest.runner' has no attribute > 'call_runtest_hook' > _________________ ERROR collecting tests/test_put/test_user.py > _________________ > tests/test_put/test_user.py:4: in > import flexmock > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: > > in > _hook_into_pytest() > /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1228: > > in _hook_into_pytest > saved = runner.call_runtest_hook > E AttributeError: module '_pytest.runner' has no attribute > 'call_runtest_hook' > =========================== short test summary info > ============================ > ERROR tests/test_empty/empty_cmd/test_empty_cmd.py - > AttributeError: module '... > ERROR tests/test_put/test_file_trasher.py - AttributeError: > module > '_pytest.r... > ERROR tests/test_put/test_trash_directory_for_put.py - > AttributeError: module... > ERROR tests/test_put/test_trash_file_in.py - AttributeError: > module '_pytest.... > ERROR tests/test_put/test_trasher.py - AttributeError: module > '_pytest.runner... > ERROR tests/test_put/test_user.py - AttributeError: module > '_pytest.runner' h... > !!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection > !!!!!!!!!!!!!!!!!!!! > ============================== 6 errors in 0.50s > =============================== > error: in phase 'check': uncaught exception: > %exception #<&invoke-error program: "pytest" arguments: () > exit-status: 2 term-signal: #f stop-signal: #f> > 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHMEAREKADMWIQSZos45zYG9CgQjO52pmOo730U57wUCZ3OvRhUcZmxha2VAdW5p LWtvYmxlbnouZGUACgkQqZjqO99FOe8xlgCeJ5ZlR1ZHPpRMsL9TAQUxDNhU+wQA oKpw1XX4oYK4rzGZUscQMhKw4s72 =IxJf -----END PGP SIGNATURE----- --=-=-=--