[Bug 278788] devel/py-flaky: cannot import name 'call_runtest_hook' from '_pytest.runner'

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 May 2024 15:00:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278788

            Bug ID: 278788
           Summary: devel/py-flaky: cannot import name 'call_runtest_hook'
                    from '_pytest.runner'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kai@FreeBSD.org
          Reporter: thierry@FreeBSD.org
             Flags: maintainer-feedback?(kai@FreeBSD.org)
          Assignee: kai@FreeBSD.org

Running `make test' on the port math/py-cypari2 produces this error:

File "/usr/local/lib/python3.9/site-packages/flaky/flaky_pytest_plugin.py",
line 5, in <module>
    from _pytest.runner import call_runtest_hook  # pylint:disable=import-error
ImportError: cannot import name 'call_runtest_hook' from '_pytest.runner'
(/usr/local/lib/python3.9/site-packages/_pytest/runner.py)

This is a known bug, and it has been fixed in flaky 3.8.1: see
<https://github.com/pytest-dev/pytest/issues/12066>.

Could you please upgrade this port?

-- 
You are receiving this mail because:
You are the assignee for the bug.