Before pluggy, pytest’s plugin library, was its own package and had a clear API, pytest just used pytest.mark to configure hooks.
The pytest.hookimpl() and pytest.hookspec() decorators have been available since years and should be used instead.
Reference: https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers