Skip to content

Commit

Permalink
Merge pull request #4646 from nicoddemus/2.7-deprecation-docs
Browse files Browse the repository at this point in the history
Add docs page about plans for dropping py27 and py34
  • Loading branch information
nicoddemus committed Jan 16, 2019
2 parents 1a04e89 + e2a9aaf commit 6154a5a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/en/contents.rst
Expand Up @@ -41,6 +41,7 @@ Full pytest documentation

backwards-compatibility
deprecations
py27-py34-deprecation
historical-notes
license
contributing
Expand Down
22 changes: 22 additions & 0 deletions doc/en/py27-py34-deprecation.rst
@@ -0,0 +1,22 @@
Python 2.7 and 3.4 support plan
===============================

Python 2.7 EOL is fast approaching, with
upstream support `ending in 2020 <https://legacy.python.org/dev/peps/pep-0373/#id4>`__.
Python 3.4's last release is scheduled for
`March 2019 <https://www.python.org/dev/peps/pep-0429/#release-schedule>`__. pytest is one of
the participating projects of the https://python3statement.org.

We plan to drop support for Python 2.7 and 3.4 at the same time with the release of **pytest 5.0**,
scheduled to be released by **mid-2019**. Thanks to the `python_requires <https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires>`__ ``setuptools`` option,
Python 2.7 and Python 3.4 users using a modern ``pip`` version
will install the last compatible pytest ``4.X`` version automatically even if ``5.0`` or later
are available on PyPI.

During the period **from mid-2019 and 2020**, the pytest core team plans to make
bug-fix releases of the pytest ``4.X`` series by back-porting patches to the ``4.x-maintenance``
branch.

**After 2020**, the core team will no longer actively back port-patches, but the ``4.x-maintenance``
branch will continue to exist so the community itself can contribute patches. The
core team will be happy to accept those patches and make new ``4.X`` releases **until mid-2020**.

0 comments on commit 6154a5a

Please sign in to comment.