> On Dec 14, 2015, at 12:38 PM, pisymbol . <pisym...@gmail.com> wrote:
> 
> On Mon, Dec 14, 2015 at 10:09 AM, Amber "Hawkie" Brown
> <hawk...@atleastfornow.net> wrote:
>> 
>>> On 14 Dec 2015, at 22:52, pisymbol . <pisym...@gmail.com> wrote:
>>> 
>>> Hi:
>>> 
>>> I'd like to adopt Twisted for a current project I'm coding up. I'm on
>>> CentOS 6.7 x86-64 using python v2.6 and the stock
>>> python-twisted-8.2.0-3.1 package built for this release.
>> 
>> ...
>> 
>>> Is there anyway to get rid of this message? I realize I'm using an
>>> older release of twisted but I can't upgrade to the latest without
>>> incurring the cost of installing an python v2.7 or greater.
>> 
>> Hi,
>> 
>> Python 2.6 has been EOL for years and Twisted 8.2.0 is nearly seven years 
>> old. We can't really help with things that old (many, many issues have since 
>> been fixed, so remembering what's a bug that's been squashed and what's a 
>> platform bug is nearly impossible), but upgrading to Twisted 15.4 (the last 
>> release with Python 2.6 support, and only 4 or so months old) may help.
> 
> That maybe, but CentOS 6.7 is the latest 6.x release which ships with
> 8.2.x (somebody maintaining the RHEL 6.x series should update these
> packages then).
> 
> I did a pip install and it said I needed Python 2.7 or higher. Let me
> reevaluate if I can just update twisted.

Try `pip install twisted==15.4´ if you still require Python2.6 support; `pip 
install twisted´ will install the latest, which no longer works on 2.6.

But again: Python 2.6 is unsupported by the upstream Python developers.  You 
really should not be using it, since it won't receive security updates (of 
course, Red Hat and transitively CentOS claim to "support" these packages, but 
if upstream is refusing patches at this point, it's not clear where that 
support will come from).  This is why we changed our policy to proactively 
disable it: it's a security risk and we would like to put pressure on 
downstreams (such as yourself) to stop taking on this risk without realizing it.

If you must use CentOS 6, then I'd recommend installing PyPy 4.0 from 
https://github.com/squeaky-pl/portable-pypy#portable-pypy-distribution-for-linux
 
<https://github.com/squeaky-pl/portable-pypy#portable-pypy-distribution-for-linux>
 and using that.  In addition to being security-supported, it will also make 
your python code run 10x faster :).

-glyph

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to