You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by ♀蚞藕鳴舞♂ <27...@qq.com.INVALID> on 2022/02/24 03:27:01 UTC

SkyWalking Python 是否可以支持2.x版本

请问:
&nbsp; &nbsp; &nbsp;SkyWalking Python 是否可以支持2.x版本,我看文档说明只支持3.8X,但是当前我们的服务比较旧,是2.x版本,请问该如何可以支持引入SkyWalking

RE: SkyWalking Python 是否可以支持2.x版本

Posted by Yihao Chen <Su...@outlook.com>.
Hello,

I��m sorry but this request would not be fulfilled due to Python 2.x is long gone out of maintenance and we are seeing major differences in terms of syntax, compatibility and performance, it is impractical for an open-source project to maintain such a individual branch.

I��m afraid the workload to adapt SkyWalking Python agent back to Python 2.x is equal to rewriting the entire SDK because every framework intercepted would need an re-evaluation.

It is my personal suggestion, also strongly recommended by Python official website and common security practices that your project should upgrade to > Python 3.7.
Please follow this guide https://docs.python.org/3/howto/pyporting.html to try port your Python 2 code into Python 3, its not hard with the automation 2to3( https://docs.python.org/3/library/2to3.html which will be out of maintenance in Python 3.11 due to the sunset of Python 2.x)

Kind regards,

Yihao Chen
GitHub @Superskyyy

From: Sheng Wu<ma...@gmail.com>
Sent: February 23, 2022 10:50 PM
To: dev<ma...@skywalking.apache.org>; 279251680@qq.com<ma...@qq.com>
Subject: Re: SkyWalking Python �Ƿ����֧��2.x�汾

Mail to dev-subscribe@skywalking.apache.org, follow the reply to
subscribe the mail list.

And use English in the mail list please.

Notice, don't reply to my personal mail.

Sheng Wu ����
Twitter, wusheng1108

���]ź�Q��� <27...@qq.com.invalid> ��2022��2��24������ 11:49д����
>
> ���ʣ�
> &nbsp; &nbsp; &nbsp;SkyWalking Python �Ƿ����֧��2.x�汾���ҿ��ĵ�˵��ֻ֧��3.8X�����ǵ�ǰ���ǵķ���ȽϾɣ���2.x�汾�����ʸ���ο���֧������SkyWalking


Re: SkyWalking Python 是否可以支持2.x版本

Posted by Sheng Wu <wu...@gmail.com>.
Mail to dev-subscribe@skywalking.apache.org, follow the reply to
subscribe the mail list.

And use English in the mail list please.

Notice, don't reply to my personal mail.

Sheng Wu 吴晟
Twitter, wusheng1108

♀蚞藕鳴舞♂ <27...@qq.com.invalid> 于2022年2月24日周四 11:49写道:
>
> 请问:
> &nbsp; &nbsp; &nbsp;SkyWalking Python 是否可以支持2.x版本,我看文档说明只支持3.8X,但是当前我们的服务比较旧,是2.x版本,请问该如何可以支持引入SkyWalking