Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922579 - dev-python/GitPython-3.1.41 fails tests: fixture 'mocker' not found
Summary: dev-python/GitPython-3.1.41 fails tests: fixture 'mocker' not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921721
  Show dependency tree
 
Reported: 2024-01-20 19:31 UTC by matoro
Modified: 2024-01-20 20:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_922579.txt,155.37 KB, text/plain)
2024-01-20 19:34 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-01-20 19:31:35 UTC
ERROR test/test_util.py::TestRmtree::test_does_not_wrap_perm_error_unless_enabled[False]
ERROR test/test_util.py::TestRmtree::test_does_not_wrap_perm_error_unless_enabled[True]
ERROR test/test_util.py::TestRmtree::test_does_not_wrap_other_errors[False]
ERROR test/test_util.py::TestRmtree::test_does_not_wrap_other_errors[True]
=============================== 483 passed, 73 skipped, 10 deselected, 1 xfailed, 47 warnings, 4 errors in 272.40s (0:04:32) ===============================

Sample:

E       fixture 'mocker' not found
>       available fixtures: _session_event_loop, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, event_loop, event_loop_policy,
monkeypatch, permission_error_tmpdir, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, test/test_util.py::<event_loo
p>, test/test_util.py::TestRmtree::<event_loop>, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_po
rt, unused_udp_port_factory
>       use 'pytest --fixtures [testpath]' for help on them.

/var/tmp/portage/dev-python/GitPython-3.1.41/temp/test/test/test_util.py:160

Reproducible: Always
Comment 1 matoro archtester 2024-01-20 19:34:19 UTC
Created attachment 882704 [details]
build.log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-01-20 20:00:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66df27dc512897f3badf618395a546f2921f2b31

commit 66df27dc512897f3badf618395a546f2921f2b31
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-01-20 19:56:24 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-01-20 20:00:12 +0000

    dev-python/GitPython: Add a dep on pytest-mock
    
    Closes: https://bugs.gentoo.org/922579
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/GitPython/GitPython-3.1.41.ebuild | 1 +
 1 file changed, 1 insertion(+)