Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946569 - dev-python/nbclient-0.10.1: fails tests: Error importing plugin "rerunfailures": No module named 'rerunfailures'
Summary: dev-python/nbclient-0.10.1: fails tests: Error importing plugin "rerunfailure...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-12-17 05:44 UTC by Gabi Falk
Modified: 2024-12-17 10:42 UTC (History)
1 user (show)

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


Attachments
/var/tmp/portage/dev-python/nbclient-0.10.1/temp/build.log (build.log,8.40 KB, text/x-log)
2024-12-17 05:44 UTC, Gabi Falk
Details
emerge --info =dev-python/nbclient-0.10.1 (emerge-info-nbclient.txt,6.40 KB, text/plain)
2024-12-17 05:45 UTC, Gabi Falk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabi Falk 2024-12-17 05:44:04 UTC
Created attachment 914198 [details]
/var/tmp/portage/dev-python/nbclient-0.10.1/temp/build.log

nbclient fails tests due to missing bdep on dev-python/pytest-rerunfailures.

...
>>> Test phase: dev-python/nbclient-0.10.1
 * python3_13: running distutils-r1_run_phase python_test
python3.13 -m pytest -vv -ra -l -Wdefault -Werror::pytest.PytestUnhandledCoroutineWarning --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o tmp_path_retention_policy=failed -p xdist -n 6
 --dist=worksteal --deselect tests/test_client.py::test_run_all_notebooks[Interrupt.ipynb-opts6] -p asyncio -p rerunfailures --reruns=3
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 858, in import_plugin
    __import__(importspec)
    ~~~~~~~~~~^^^^^^^^^^^^
ModuleNotFoundError: No module named 'rerunfailures'
...
Comment 1 Gabi Falk 2024-12-17 05:45:47 UTC
Created attachment 914199 [details]
emerge --info =dev-python/nbclient-0.10.1
Comment 2 Larry the Git Cow gentoo-dev 2024-12-17 10:42:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b53762753462c3d42eeca13fc6746474a70284f

commit 9b53762753462c3d42eeca13fc6746474a70284f
Author:     Gabi Falk <gabifalk@gmx.com>
AuthorDate: 2024-12-17 04:45:00 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-12-17 10:42:27 +0000

    dev-python/nbclient: add missing pytest-rerunfailures bdepend for USE=test
    
    Closes: https://bugs.gentoo.org/946569
    Signed-off-by: Gabi Falk <gabifalk@gmx.com>
    Closes: https://github.com/gentoo/gentoo/pull/39748
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/nbclient/nbclient-0.10.1.ebuild | 1 +
 1 file changed, 1 insertion(+)