Skip to content

Commit 4855964

Browse files
committed
DOC: Plans for 2.7
Closes pandas-dev#18894
1 parent 14889f1 commit 4855964

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

doc/source/install.rst

+25
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,31 @@ Instructions for installing from source,
1515
`PyPI <http://pypi.python.org/pypi/pandas>`__, `ActivePython <https://www.activestate.com/activepython/downloads>`__, various Linux distributions, or a
1616
`development version <http://github.com/pandas-dev/pandas>`__ are also provided.
1717

18+
.. _install.dropping_27
19+
20+
Plan for dropping Python 2.7
21+
----------------------------
22+
23+
The Python core team plans to stop supporting Python 2.7 on January 1st, 2020.
24+
In line with `NumPy's plans`_, all pandas releases through December 31, 2018 will
25+
support Python 2.
26+
27+
The final major release before **December 31, 2018** will be a long term support (LTS) release.
28+
The pandas maintainers will backport bugfixes and make releases supporting Python 2 to that branch.
29+
For example, if ``0.25.0`` is the last major release, we'll make make releases for ``0.25.1``, ``0.25.2``, etc., as needed.
30+
This branch will not receive new features.
31+
32+
Starting **January 1, 2019**, all major release will be Python 3 only.
33+
34+
Starting **January 1, 2020**, the pandas maintainers will stop supporting Python 2. The released packages will still be
35+
available on PyPI and through conda, but will not recieve any more bugfixes.
36+
37+
For more information, see the `Python 3 statement`_ and the `Porting to Python 3 guide`_.
38+
39+
.. _NumPy's plans: https://github.com/numpy/numpy/blob/master/doc/neps/nep-0014-dropping-python2.7-proposal.rst#plan-for-dropping-python-27-support
40+
.. _Python 3 statement: http://python3statement.org/
41+
.. _Porting to Python 3 guide: https://docs.python.org/3/howto/pyporting.html
42+
1843
Python version support
1944
----------------------
2045

doc/source/whatsnew/v0.23.0.txt

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ deprecations, new features, enhancements, and performance improvements along
88
with a large number of bug fixes. We recommend that all users upgrade to this
99
version.
1010

11+
.. warning::
12+
13+
Starting January 1, 2019, pandas feature releases will support Python 3 only.
14+
See :ref:`install.dropping_27` for more.
15+
1116
.. _whatsnew_0230.enhancements:
1217

1318
New features

0 commit comments

Comments
 (0)