You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/en/backwards-compatibility.rst
+2-87
Original file line number
Diff line number
Diff line change
@@ -15,91 +15,6 @@ We will only remove deprecated functionality in major releases (e.g. if we depre
15
15
Deprecation Roadmap
16
16
-------------------
17
17
18
-
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.
18
+
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.
19
19
20
-
Following our deprecation policy, we should aim to keep features for *at least* two minor versions after it was considered deprecated.
See `#830 <https://github.com/pytest-dev/pytest/issues/830>`_ for more information. Suggested alternative: `pytest-tap <https://pypi.python.org/pypi/pytest-tap>`_.
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.
Pass a list of strings to ``pytest.main()`` instead.
73
-
74
-
Deprecated in ``3.1``.
75
-
76
-
**[pytest] section in setup.cfg**
77
-
78
-
Use ``[tool:pytest]`` instead for compatibility with other tools.
79
-
80
-
Deprecated in ``3.0``.
81
-
82
-
Past Releases
83
-
~~~~~~~~~~~~~
84
-
85
-
3.0
86
-
^^^
87
-
88
-
* The following deprecated commandline options were removed:
89
-
90
-
* ``--genscript``: no longer supported;
91
-
* ``--no-assert``: use ``--assert=plain`` instead;
92
-
* ``--nomagic``: use ``--assert=plain`` instead;
93
-
* ``--report``: use ``-r`` instead;
94
-
95
-
* Removed all ``py.test-X*`` entry points. The versioned, suffixed entry points
96
-
were never documented and a leftover from a pre-virtualenv era. These entry
97
-
points also created broken entry points in wheels, so removing them also
98
-
removes a source of confusion for users.
99
-
100
-
101
-
102
-
3.3
103
-
^^^
104
-
105
-
* Dropped support for EOL Python 2.6 and 3.3.
20
+
Following our deprecation policy, after starting issuing deprecation warnings we keep features for *at least* two minor versions before considering removal.
0 commit comments