[Starlingx-discuss] Python 2to3 code porting
Chen, Yan
yan.chen at intel.com
Wed Aug 1 02:12:06 UTC 2018
Sorry for late reply, I’m just back from some family affairs.
Thanks for your suggestion, I will update the wiki and etherpad.
Yan
From: Jones, Bruce E
Sent: Wednesday, July 25, 2018 06:32
To: Ramirez, Eddie <eddie.ramirez at intel.com>; Chen, Yan <yan.chen at intel.com>
Cc: starlingx-discuss at lists.starlingx.io
Subject: RE: [Starlingx-discuss] Python 2to3 code porting
Thanks for getting started on this.
I’m setting up formal sub-projects and giving each its own wiki page. I’ve started one for this sub-project: https://wiki.openstack.org/wiki/StarlingX/Pyton2. It links to the Etherpad below.
Eddie and Yan – can you please update that wiki page so it captures the info in this email thread?
And meanwhile, while we thank you both for looking at this, this is not the highest priority work right now, and there are some very big work items hiding under the covers of this one. Please focus on tasks higher on the project's priority list.<https://wiki.openstack.org/wiki/StarlingX/Project_Priorities>
brucej
From: Ramirez, Eddie [mailto:eddie.ramirez at intel.com]
Sent: Tuesday, July 24, 2018 10:16 AM
To: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] Python 2to3 code porting
Yan,
I created this list https://etherpad.openstack.org/p/stx-python-2-to-3, I hope it can help us to track those packages as we make more discoveries.
From: "Ramirez, Eddie" <eddie.ramirez at intel.com<mailto:eddie.ramirez at intel.com>>
Date: Tuesday, July 24, 2018 at 9:52 AM
To: Scott Little <scott.little at windriver.com<mailto:scott.little at windriver.com>>, "starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>" <starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>>
Subject: Re: [Starlingx-discuss] Python 2to3 code porting
+1
We would need to add cgtsclient to the list. I will confirm with other TiS packages today as Horizon uses packages like: cgtsclient, cgcs_patch, sysinv, tsconfig and mfclient…
From: Scott Little <scott.little at windriver.com<mailto:scott.little at windriver.com>>
Date: Tuesday, July 24, 2018 at 7:23 AM
To: "starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>" <starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>>
Subject: Re: [Starlingx-discuss] Python 2to3 code porting
Agreed. We need the code restructuring and a working build before starting this task.
Scott
On 18-07-24 07:22 AM, Rowsell, Brent wrote:
The priority of this needs to be discussed at the next architecture meeting.
With all current churn and lack of a working build, this activity in my opinion needs to wait.
Brent
From: Chen, Yan [mailto:yan.chen at intel.com]
Sent: Tuesday, July 24, 2018 12:38 AM
To: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: [Starlingx-discuss] Python 2to3 code porting
Hi, there,
I just wonder if anyone is already working on this task now?
I created a story days ago, and studied most of our Python code and the python rpms in the system.
Here’s the conclusions:
1. Most of the Tis dependency python packages are already Python 2/3 compatible, but still some exceptions:
* The following packages are Python2 only and same for the latest code tree:
i. createrepo-0.9.9 (used by cgcs-patch-controller)
ii. net-snmp-5.7.2 (used by snmp-audittrail)
iii. pyparted-3.9 (used by sysinv)
* The following packages are Python 2 but the latest version has Python 3 support, need upgrade:
i. python-daemon-1.6 (used by logmgmt)
* This analysis is still on-going, more packages may be found.
1. The Python modules for Python 2/3 compatibility (python-futures and python-six) are already included.
2. Some of the openstack packages/dependencies are Python 2 only, we may need to find a good version of Openstack to upgrade.
We can start to clean our code first, I think we follow the guideline here, one topic each time, how do you think?
http://python-future.org/compatible_idioms.html
Here’s the link for the story:
https://storyboard.openstack.org/#!/story/2002909<https://storyboard.openstack.org/#%21/story/2002909>
Yan
_______________________________________________
Starlingx-discuss mailing list
Starlingx-discuss at lists.starlingx.io<mailto:Starlingx-discuss at lists.starlingx.io>
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20180801/533f0012/attachment-0001.html>
More information about the Starlingx-discuss
mailing list