[Avocado-devel] Port python2 avocado-vt project to python3

Cleber Rosa crosa at redhat.com
Thu Mar 1 00:54:29 UTC 2018


On 02/28/2018 12:08 AM, Xu Han wrote:
> 
> On 02/28/2018 11:29 AM, Chunfu Wen wrote:
>> Hi Xu,
>>
>> I noticed avocado target is 3.4 from
>> https://github.com/avocado-framework/avocado/blob/master/.travis.yml.
>> Currently, we just keep consistent with it.
> 
> OK, I see. Then I would suggest to consider python 3.6 as well since we
> are facing it in the next release.
> 
> Thanks,
> Xu
> 

First of all, this is awesome news!

Second, based on my experience, you can expect code that runs on Python
3.4 to also run on 3.5, 3.6, etc.  But, even if there are small
compatibility issues, they can be worked around.

Finally, using the Avocado example, it's supposed to run under 3.4 *and*
later.

Regards,
- Cleber.

>>
>> Best Regards,
>>
>> Chunfu Wen
>>
>> ----- Original Message -----
>> From: "Xu Han" <xuhan at redhat.com>
>> To: "Chunfu Wen" <chwen at redhat.com>, avocado-devel at redhat.com
>> Cc: sathnaga at linux.vnet.ibm.com, bala24 at linux.vnet.ibm.com,
>> weizhan at redhat.com, "Min Zhan" <mzhan at redhat.com>, "Guannan Sun"
>> <gsun at redhat.com>
>> Sent: Wednesday, February 28, 2018 11:18:13 AM
>> Subject: Re: Port python2 avocado-vt project to python3
>>
>> Hi Chunfu,
>>
>> Thanks for your initiative!
>>
>> My only concern is that I'm not sure whether it means the porting would
>> be compatible with python 3.6,
>> do you have any idea about it?
>>
>> Thanks,
>> Xu
>>
>> On 02/28/2018 10:42 AM, Chunfu Wen wrote:
>>> Dear avocado-vt maintainers,
>>>
>>> This is announcement that libvirt QE automation team is launching one
>>> program to port avocado-vt project to python 3.
>>> The reason for this is quite known that python2 will not be supported
>>> officially in the coming Linux release.
>>>
>>> The general requirements for this porting is to enable avocado-vt on
>>> python 3.4 while keeping compatible with python 2.7.
>>> If you have any questions, please contact me.
>>>
>>> Thank you all in advance for upcoming patch reviewing!
>>>
>>> Best Regards,
>>>
>>> Libvirt QE
>>>
>>> Chunfu Wen
>>>
> 

-- 
Cleber Rosa
[ Sr Software Engineer - Virtualization Team - Red Hat ]
[ Avocado Test Framework - avocado-framework.github.io ]
[  7ABB 96EB 8B46 B94D 5E0F  E9BB 657E 8D33 A5F2 09F3  ]




More information about the Avocado-devel mailing list