You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aki Sukegawa (JIRA)" <ji...@apache.org> on 2016/01/03 07:27:39 UTC

[jira] [Created] (THRIFT-3515) Python 2.6 compatibility and test on CI

Aki Sukegawa created THRIFT-3515:
------------------------------------

             Summary: Python 2.6 compatibility and test on CI
                 Key: THRIFT-3515
                 URL: https://issues.apache.org/jira/browse/THRIFT-3515
             Project: Thrift
          Issue Type: Improvement
          Components: Python - Library
            Reporter: Aki Sukegawa
            Assignee: Aki Sukegawa
            Priority: Minor


There were a few trivial problems with Python 2.6.

* format string '{}' is not supported
* bytearray cannot be used as str

While we can drop 2.6 support now, IMO there isn't enough motivation yet.
With 2.7.9 enhancement for SSL, it makes sense to me to drop 2.7.8- once major distros have 2.7.9+. (jessie has 2.7.9 but trusty still has 2.7.6 amd CentOS 7, 2.7.5)

With the patch, it should be now fully compatible with 2.6.

I also added Travis build that runs python test with Python 2.6 on CentOS 6.
For some reason I had to adjust CMake script to successfully configure without C++ and C-GLib.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)