GNU bug report logs - #74969
trash-cli does not build

Previous Next

Package: guix;

Reported by: Julian Flake <flake <at> uni-koblenz.de>

Date: Thu, 19 Dec 2024 11:03:02 UTC

Severity: normal

Done: "Danny Milosavljevic" <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74969 in the body.
You can then email your comments to 74969 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#74969; Package guix. (Thu, 19 Dec 2024 11:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Julian Flake <flake <at> uni-koblenz.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 19 Dec 2024 11:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Julian Flake <flake <at> uni-koblenz.de>
To: bug-guix <at> gnu.org
Subject: trash-cli does not build
Date: Thu, 19 Dec 2024 12:01:57 +0100
[Message part 1 (text/plain, inline)]
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 <module>
   from flexmock import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: 
in <module>
   _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 <module>
   import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: 
in <module>
   _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 <module>
   from flexmock import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: 
in <module>
   _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 <module>
   import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: 
in <module>
   _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 <module>
   import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: 
in <module>
   _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 <module>
   import flexmock
/gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246: 
in <module>
   _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
[signature.asc (application/pgp-signature, inline)]

Reply sent to "Danny Milosavljevic" <dannym <at> scratchpost.org>:
You have taken responsibility. (Tue, 31 Dec 2024 07:54:02 GMT) Full text and rfc822 format available.

Notification sent to Julian Flake <flake <at> uni-koblenz.de>:
bug acknowledged by developer. (Tue, 31 Dec 2024 07:54:02 GMT) Full text and rfc822 format available.

Message #10 received at 74969-done <at> debbugs.gnu.org (full text, mbox):

From: "Danny Milosavljevic" <dannym <at> scratchpost.org>
To: 74969-done <at> debbugs.gnu.org, flake <at> uni-koblenz.de
Subject: Re: bug#74969: trash-cli does not build
Date: Tue, 31 Dec 2024 08:53:52 +0100 (CET)
[Message part 1 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#74969; Package guix. (Tue, 31 Dec 2024 08:47:01 GMT) Full text and rfc822 format available.

Message #13 received at 74969-done <at> debbugs.gnu.org (full text, mbox):

From: Julian Flake <flake <at> uni-koblenz.de>
To: "Danny Milosavljevic" <dannym <at> scratchpost.org>
Cc: 74969-done <at> debbugs.gnu.org
Subject: Re: bug#74969: trash-cli does not build
Date: Tue, 31 Dec 2024 09:45:58 +0100
[Message part 1 (text/plain, inline)]
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 <module>
>     from flexmock import flexmock
> /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246:
>
> in <module>
>     _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 <module>
>     import flexmock
> /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246:
>
> in <module>
>     _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 <module>
>     from flexmock import flexmock
> /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246:
>
> in <module>
>     _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 <module>
>     import flexmock
> /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246:
>
> in <module>
>     _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 <module>
>     import flexmock
> /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246:
>
> in <module>
>     _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 <module>
>     import flexmock
> /gnu/store/nz16773zhc6f8xs5dhglwf6qpg8avxcz-python-flexmock-0.10.4/lib/python3.10/site-packages/flexmock.py:1246:
>
> in <module>
>     _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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Jan 2025 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.