Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hookimpl deprecation warning #266

Open
alexforencich opened this issue Jan 23, 2023 · 0 comments
Open

hookimpl deprecation warning #266

alexforencich opened this issue Jan 23, 2023 · 0 comments

Comments

@alexforencich
Copy link

When running pytest with pytest-sugar 0.9.6 installed, I am getting the following warning:

ERROR    cocotb:simulator.py:302 /usr/lib/python3.10/site-packages/pytest_sugar.py:155: PytestDeprecationWarning: The hookimpl pytest_configure uses old-style configuration options (marks or attributes).
ERROR    cocotb:simulator.py:302 Please use the pytest.hookimpl(trylast=True) decorator instead
ERROR    cocotb:simulator.py:302  to configure the hooks.
ERROR    cocotb:simulator.py:302  See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
ERROR    cocotb:simulator.py:302   @pytest.mark.trylast

It looks like this may have been fixed in #255, so presumably this would be fixed by cutting a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant