Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 May 2024 15:00:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278788] devel/py-flaky: cannot import name 'call_runtest_hook' from '_pytest.runner'
Message-ID:  <bug-278788-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278788

            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=3Dimport=
-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?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278788-7788>