Skip to content

Commit 5d28a58

Browse files
authored
Remove docs on Python 2.7 and 3.4 Support (#9957)
This extensive explanation is not need anymore because they are now unsupported for a long time. Instead add as short section on Python version compatibility in the backward compatibility docs.
1 parent cc0fbbe commit 5d28a58

File tree

4 files changed

+24
-103
lines changed

4 files changed

+24
-103
lines changed

doc/en/backwards-compatibility.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,18 @@ Deprecation Roadmap
7777
Features currently deprecated and removed in previous releases can be found in :ref:`deprecations`.
7878

7979
We track future 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.
80+
81+
82+
Python version support
83+
======================
84+
85+
Released pytest versions support all Python versions that are actively maintained at the time of the release:
86+
87+
============== ===================
88+
pytest version min. Python version
89+
============== ===================
90+
7.1+ 3.7+
91+
6.2 - 7.0 3.6+
92+
5.0 - 6.1 3.5+
93+
3.3 - 4.6 2.7, 3.4+
94+
============== ===================

doc/en/changelog.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2618,7 +2618,8 @@ Important
26182618

26192619
This release is a Python3.5+ only release.
26202620

2621-
For more details, see our :std:doc:`Python 2.7 and 3.4 support plan <py27-py34-deprecation>`.
2621+
For more details, see our `Python 2.7 and 3.4 support plan
2622+
<https://docs.pytest.org/en/7.0.x/py27-py34-deprecation.html>`_.
26222623

26232624
Removals
26242625
--------
@@ -2842,7 +2843,11 @@ Features
28422843

28432844
- :issue:`6870`: New ``Config.invocation_args`` attribute containing the unchanged arguments passed to ``pytest.main()``.
28442845

2845-
Remark: while this is technically a new feature and according to our :ref:`policy <what goes into 4.6.x releases>` it should not have been backported, we have opened an exception in this particular case because it fixes a serious interaction with ``pytest-xdist``, so it can also be considered a bugfix.
2846+
Remark: while this is technically a new feature and according to our
2847+
`policy <https://docs.pytest.org/en/7.0.x/py27-py34-deprecation.html#what-goes-into-4-6-x-releases>`_
2848+
it should not have been backported, we have opened an exception in this
2849+
particular case because it fixes a serious interaction with ``pytest-xdist``,
2850+
so it can also be considered a bugfix.
28462851

28472852
Trivial/Internal Changes
28482853
------------------------
@@ -3014,7 +3019,8 @@ Important
30143019

30153020
The ``4.6.X`` series will be the last series to support **Python 2 and Python 3.4**.
30163021

3017-
For more details, see our :std:doc:`Python 2.7 and 3.4 support plan <py27-py34-deprecation>`.
3022+
For more details, see our `Python 2.7 and 3.4 support plan
3023+
<https://docs.pytest.org/en/7.0.x/py27-py34-deprecation.html>`_.
30183024

30193025

30203026
Features

doc/en/contents.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ Further topics
8585

8686
backwards-compatibility
8787
deprecations
88-
py27-py34-deprecation
8988

9089
contributing
9190
development_guide

doc/en/py27-py34-deprecation.rst

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)