Skip to content

Deprecation Roadmap

Bruno Oliveira edited this page Nov 15, 2017 · 13 revisions

This page lists deprecated features and when we plan to remove them. It is important to list the feature, the version where it got deprecated and the version we plan to remove it.

Following our deprecation policy, we should aim to keep features for at least two minor versions after it was considered deprecated.

3.4

Old style classes

Deprecated in 3.2.

4.0

Yield tests

Deprecated in 3.0.

pytest-namespace hook

deprecated in 3.2

Marks in parameter sets

Deprecated in 3.2.

--result-log

Deprecated in 3.0.

See #830 for more information. Suggested alternative: pytest-tap.

RemovedInPytest4Warning

Every code which issues the RemovedInPytest4Warning should be removed.

pytest_plugins in non-toplevel conftests

There is a deep conceptual confusion as conftest.py files themselves are activated/deactivated based on path, but the plugins they depend on aren't.

Not yet officially deprecated.