Skip to content

Commit

Permalink
Merge pull request #3087 from nicoddemus/deprecation-roadmap
Browse files Browse the repository at this point in the history
Update deprecation/removal docs to point to labels/milestones instead
  • Loading branch information
nicoddemus authored Jan 11, 2018
2 parents 2674f35 + cb6b851 commit 3181718
Showing 1 changed file with 2 additions and 87 deletions.
89 changes: 2 additions & 87 deletions doc/en/backwards-compatibility.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,91 +15,6 @@ We will only remove deprecated functionality in major releases (e.g. if we depre
Deprecation Roadmap
-------------------

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.
We track deprecation and removal of features using milestones and the `deprecation <https://github.com/pytest-dev/pytest/issues?q=label%3A%22type%3A+deprecation%22>`_ and `removal <https://github.com/pytest-dev/pytest/labels/type%3A%20removal>`_ labels on GitHub.

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


Future Releases
~~~~~~~~~~~~~~~

3.4
^^^

**Old style classes**

Issue: `#2147 <https://github.com/pytest-dev/pytest/issues/2147>`_.

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 <https://github.com/pytest-dev/pytest/issues/830>`_ for more information. Suggested alternative: `pytest-tap <https://pypi.python.org/pypi/pytest-tap>`_.

**metafunc.addcall**

Issue: `#2876 <https://github.com/pytest-dev/pytest/issues/2876>`_.

Deprecated in ``3.3``.

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

Issue: `#2639 <https://github.com/pytest-dev/pytest/issues/2639>`_.

Not yet officially deprecated.

**passing a single string to pytest.main()**

Pass a list of strings to ``pytest.main()`` instead.

Deprecated in ``3.1``.

**[pytest] section in setup.cfg**

Use ``[tool:pytest]`` instead for compatibility with other tools.

Deprecated in ``3.0``.

Past Releases
~~~~~~~~~~~~~

3.0
^^^

* The following deprecated commandline options were removed:

* ``--genscript``: no longer supported;
* ``--no-assert``: use ``--assert=plain`` instead;
* ``--nomagic``: use ``--assert=plain`` instead;
* ``--report``: use ``-r`` instead;

* Removed all ``py.test-X*`` entry points. The versioned, suffixed entry points
were never documented and a leftover from a pre-virtualenv era. These entry
points also created broken entry points in wheels, so removing them also
removes a source of confusion for users.



3.3
^^^

* Dropped support for EOL Python 2.6 and 3.3.
Following our deprecation policy, after starting issuing deprecation warnings we keep features for *at least* two minor versions before considering removal.

0 comments on commit 3181718

Please sign in to comment.