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

New release for pytest 7.2 compatibility? #568

Closed
The-Compiler opened this issue Oct 31, 2022 · 4 comments
Closed

New release for pytest 7.2 compatibility? #568

The-Compiler opened this issue Oct 31, 2022 · 4 comments

Comments

@The-Compiler
Copy link
Member

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?

@drothlis
Copy link
Contributor

drothlis commented Nov 3, 2022

There's also this CI failure seen in #570 (comment):

INTERNALERROR>     tw = py.io.TerminalWriter()
INTERNALERROR> AttributeError: module 'py' has no attribute 'io'

pytest 7.2.0 (2022-10-23) release notes say:

#10396: pytest no longer depends on the py library. pytest provides a vendored copy of py.error and py.path modules but will use the py library if it is installed. If you need other py.* modules, continue to install the deprecated py library separately, otherwise it can usually be removed as a dependency.

@drothlis
Copy link
Contributor

drothlis commented Nov 3, 2022

There's also this CI failure seen in #570 (comment):

Fixed in #571.

@youtux
Copy link
Contributor

youtux commented Nov 3, 2022

Right, I’ll make a release by the end of the weekend, thanks for notifying us

@youtux
Copy link
Contributor

youtux commented Nov 5, 2022

pytest_bdd 6.1.0 just released

@youtux youtux closed this as completed Nov 5, 2022
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

3 participants