You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by dg...@apache.org on 2019/05/29 15:26:07 UTC

[trafficcontrol] branch 3.0.x updated: Added Python version 2 deprecation notice. (#3639)

This is an automated email from the ASF dual-hosted git repository.

dgelinas pushed a commit to branch 3.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/3.0.x by this push:
     new e9eda86  Added Python version 2 deprecation notice. (#3639)
e9eda86 is described below

commit e9eda86d8c3126dfedc6642af800af479e5debb3
Author: ocket8888 <oc...@gmail.com>
AuthorDate: Wed May 29 09:26:01 2019 -0600

    Added Python version 2 deprecation notice. (#3639)
---
 traffic_control/clients/python/trafficops/README.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/traffic_control/clients/python/trafficops/README.txt b/traffic_control/clients/python/trafficops/README.txt
index f8843c9..8dd47ac 100644
--- a/traffic_control/clients/python/trafficops/README.txt
+++ b/traffic_control/clients/python/trafficops/README.txt
@@ -4,6 +4,10 @@ This directory contains the Traffic Ops Python Client for Python 2.x and Python
 
 NOTE: This client has only been tested against Python 2.7 and Python 3.6.  Other versions
       may work, so, you mileage may vary.
+      
+NOTICE: As of Apache Traffic Control release version 4.0.0, Python 2 will no longer be supported! Developers are encouraged
+        to switch to version 3 as soon as possible. The CPython project has a free tool for automating much of the process of
+        translating Python2 code to Python3, read more about it here: https://docs.python.org/3/library/2to3.html
 
 - Installation