Skip to content

New release for pytest 7.2 compatibility? #568

@The-Compiler

Description

@The-Compiler

Running pytest-bdd with pytest 7.2 (released a week ago) leads to:

pytest.PytestDeprecationWarning: The hookimpl pytest_bdd_after_step uses old-style configuration options (marks or attributes).
Please use the pytest.hookimpl(tryfirst=True) decorator instead
 to configure the hooks.
 See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
 at .../pytest_bdd/plugin.py:110

This was fixed by @nicoddemus a few months ago:

but it looks like 689b6a9 hasn't made it into a release so far?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions