From 4855964d063c5e696db365a1935441fd3a47413b Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Thu, 29 Mar 2018 14:32:20 -0500 Subject: [PATCH 1/3] DOC: Plans for 2.7 Closes https://github.com/pandas-dev/pandas/issues/18894 --- doc/source/install.rst | 25 +++++++++++++++++++++++++ doc/source/whatsnew/v0.23.0.txt | 5 +++++ 2 files changed, 30 insertions(+) diff --git a/doc/source/install.rst b/doc/source/install.rst index c96d4fbeb4ad2..8ae1b240ea5b4 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -15,6 +15,31 @@ Instructions for installing from source, `PyPI `__, `ActivePython `__, various Linux distributions, or a `development version `__ are also provided. +.. _install.dropping_27 + +Plan for dropping Python 2.7 +---------------------------- + +The Python core team plans to stop supporting Python 2.7 on January 1st, 2020. +In line with `NumPy's plans`_, all pandas releases through December 31, 2018 will +support Python 2. + +The final major release before **December 31, 2018** will be a long term support (LTS) release. +The pandas maintainers will backport bugfixes and make releases supporting Python 2 to that branch. +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. +This branch will not receive new features. + +Starting **January 1, 2019**, all major release will be Python 3 only. + +Starting **January 1, 2020**, the pandas maintainers will stop supporting Python 2. The released packages will still be +available on PyPI and through conda, but will not recieve any more bugfixes. + +For more information, see the `Python 3 statement`_ and the `Porting to Python 3 guide`_. + +.. _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 +.. _Python 3 statement: http://python3statement.org/ +.. _Porting to Python 3 guide: https://docs.python.org/3/howto/pyporting.html + Python version support ---------------------- diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index c6dadb7589869..de49ea754fc69 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -8,6 +8,11 @@ deprecations, new features, enhancements, and performance improvements along with a large number of bug fixes. We recommend that all users upgrade to this version. +.. warning:: + + Starting January 1, 2019, pandas feature releases will support Python 3 only. + See :ref:`install.dropping_27` for more. + .. _whatsnew_0230.enhancements: New features From 4e183a868ee071032262e5be1c1891908e71a853 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Fri, 30 Mar 2018 05:45:06 -0500 Subject: [PATCH 2/3] Typo fix [ci skip] [ci skip] --- doc/source/install.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/doc/source/install.rst b/doc/source/install.rst index 8ae1b240ea5b4..9d87494eb0175 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -21,18 +21,20 @@ Plan for dropping Python 2.7 ---------------------------- The Python core team plans to stop supporting Python 2.7 on January 1st, 2020. -In line with `NumPy's plans`_, all pandas releases through December 31, 2018 will -support Python 2. +In line with `NumPy's plans`_, all pandas releases through December 31, 2018 +will support Python 2. -The final major release before **December 31, 2018** will be a long term support (LTS) release. -The pandas maintainers will backport bugfixes and make releases supporting Python 2 to that branch. -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. +The final major release before **December 31, 2018** will be a long term support +(LTS) release. The pandas maintainers will backport bugfixes and make releases +supporting Python 2 to that branch. 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. This branch will not receive new features. Starting **January 1, 2019**, all major release will be Python 3 only. -Starting **January 1, 2020**, the pandas maintainers will stop supporting Python 2. The released packages will still be -available on PyPI and through conda, but will not recieve any more bugfixes. +Starting **January 1, 2020**, the pandas maintainers will stop supporting +Python 2. The released packages will still be available on PyPI and through +conda, but will not receive any more bugfixes. For more information, see the `Python 3 statement`_ and the `Porting to Python 3 guide`_. From cca50247f3953b55cb1cfe36852af362723452c5 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Fri, 30 Mar 2018 14:54:41 -0500 Subject: [PATCH 3/3] Updates --- doc/source/install.rst | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/doc/source/install.rst b/doc/source/install.rst index 9d87494eb0175..82a97ba7b04e1 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -24,17 +24,15 @@ The Python core team plans to stop supporting Python 2.7 on January 1st, 2020. In line with `NumPy's plans`_, all pandas releases through December 31, 2018 will support Python 2. -The final major release before **December 31, 2018** will be a long term support -(LTS) release. The pandas maintainers will backport bugfixes and make releases -supporting Python 2 to that branch. 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. -This branch will not receive new features. +The final release before **December 31, 2018** will be the last release to +support Python 2. The released package will continue to be available on +PyPI and through conda. -Starting **January 1, 2019**, all major release will be Python 3 only. +Starting **January 1, 2019**, all releases will be Python 3 only. -Starting **January 1, 2020**, the pandas maintainers will stop supporting -Python 2. The released packages will still be available on PyPI and through -conda, but will not receive any more bugfixes. +If there are people interested in continued support for Python 2.7 past December +31, 2018 (either backporting bugfixes or funding) please reach out to the +maintainers on the issue tracker. For more information, see the `Python 3 statement`_ and the `Porting to Python 3 guide`_.