Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CI fails for 3.0.x and 2.2.x due to recent pytest version #12825

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
timhoffm opened this issue Nov 17, 2018 · 2 comments
Closed

CI fails for 3.0.x and 2.2.x due to recent pytest version #12825

timhoffm opened this issue Nov 17, 2018 · 2 comments

Comments

@timhoffm
Copy link
Member

timhoffm commented Nov 17, 2018

Bug report

CI fails on branches 3.0.x and 2.2.x fails with

E               _pytest.warning_types.RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
E               Please use node.get_closest_marker(name) or node.iter_markers(name).
E               Docs: https://docs.pytest.org/en/latest/mark.html#updating-code

See e.g. #12811, #12812.

This is due to a recent pytest version.

Solution: Either pin pytest<3.8 (I think that's the correct number) or backport #12154 (and maybe #12297).

@QuLogic
Copy link
Member

QuLogic commented Nov 17, 2018

Note also that backporting those would bump the minimum required version as well.

@timhoffm
Copy link
Member Author

Fixed by #12878 and #12879.

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

No branches or pull requests

3 participants