Skip to content

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

Closed
@timhoffm

Description

@timhoffm

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions