TF Python 2 support ends on January 1, 2020

69 views
Skip to first unread message

Günhan Gülsoy

unread,
Dec 18, 2019, 4:14:37 PM12/18/19
to anno...@tensorflow.org, TensorFlow Developers, SIG Build
Hi all,

TL;DR: The Python Software Foundation will be dropping support for Python 2 on January 1, 2020.
Therefore, TensorFlow will drop support for Python 2 at the same date.

As announced earlier, TensorFlow will stop supporting Python 2 on 1/1/2020.
By dropping support, we mean:
New TF major or minor releases will not have Python 2 packages
Any patch releases will not have Python 2 packages
Any security issues affecting only Python 2 packages will not be patched
We will stop testing TF codebase in Python 2.
We are still cleaning up infrastructure and tests. While we do so, we won’t be able to accept PRs that break Python 2 compatibility (e.g. removing all import six statements).

The above is in line with https://www.python.org/doc/sunset-python-2/.
TensorFlow 2.1.0 will be the last release we will package for Python 2.7. After that, we will not build or release any other Python 2.7 packages.
Our recommendation is for our users to migrate to Python 3 as soon as possible, as recommended by the Python Software Foundation.

On behalf of TensorFlow Team
Gunhan
Reply all
Reply to author
Forward
0 new messages