Skip to content

Fix fixture wrap with pytest 8.4 #238

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

Closed

Conversation

dvcorreia
Copy link

pytest-8.4.0 introduced a type for fixtures, removing the __pytest_wrapped__ attribute on a fixture object.
Now instead of unwrapping the object, it now keeps __wrapped__ that we can use instead.

This issue was breaking the CI on pytest latest (v8.4.1), so I took the opportunity to add pytest-8.4.0 to tox.

See: pytest-dev/pytest#12473

Pytest 8.4.0 introduced a type for fixtures, removing the
__pytest_wrapped__ attribute on a fixture object.

See: pytest-dev/pytest#12473
@dvcorreia
Copy link
Author

dvcorreia commented Jun 26, 2025

Didn't noticed there was already a PR tackling this (#233).
This work is redundant so I will close it. Feel free to open if is relevant 😄

@dvcorreia dvcorreia closed this Jun 26, 2025
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

Successfully merging this pull request may close these issues.

1 participant