Jump to: navigation, search

Difference between revisions of "StarlingX/Python2"

(Python2 Transition Sub-project)
(Python2 Transition Sub-project)
Line 29: Line 29:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Project !! Python3 Compatible (Y/N) !! Links !! Zuul checker enabled !! Zuul checker made Voting !! Comments
+
! Project !! Python3 Compatible (Y/N) !! Python Version !! Links !! Zuul checker enabled !! Zuul checker made Voting !! Comments
 
|-
 
|-
| stx-ceilometer || N ||  || N || N ||  
+
|stx-config  || N ||  ||  || N || N || Risk: 1. grubby-8.28 is used in stx-config/puppet-manifests for system config, Python 2.7 only and no Python 3 version.
 
|-
 
|-
| stx-ceph  || N || || N || N ||
+
|stx-fault  || N || ||  || N || N || Risk: 1. net-snmp-5.7.2 is used by snmp-audittrail, Python 2.7 only and no Python 3 version, under stx-integ/networking/net-snmp.
 
|-
 
|-
|stx-cinder || N || || N || N ||  
+
|stx-gui || N || || || N || N ||  
 
|-
 
|-
|stx-config  || N || || N || N ||  
+
|stx-ha  || N || || || N || N ||  
 
|-
 
|-
|stx-fault   || N || || N || N ||  
+
|stx-integ   || N || || || N || N || Risk: 1. stx-integ/networking/net-snmp; 2. stx-integ/extended/python-cephclient (old cephclient with WRS patches, but no Python 3 version)
 
|-
 
|-
|stx-glance  || N || || N || N ||  
+
|stx-metal  || N || || || N || N ||  
 
|-
 
|-
|stx-gui  || N || || N || N ||  
+
|stx-nfv  || N || || || N || N ||  
 
|-
 
|-
|stx-ha   || N || || N || N ||  
+
|stx-root   || N || || || N || N ||  
 
|-
 
|-
|stx-heat  || N || || N || N ||  
+
|stx-update  || N || || || N || N || Risk: 1. createrepo-0.9.9 is used by cgcs-patch-controller, Python 2.7 only and no Python 3 version
 
|-
 
|-
|stx-horizon || N || || N || N ||  
+
|stx-upstream || N || || || N || N ||  
 
|-
 
|-
|stx-integ  || N || || N || N ||  
+
|stx-utils  || N || || || N || N ||  
 +
|}
 +
 
 +
{| class="wikitable"
 
|-
 
|-
|stx-ironic  || N ||  || N || N ||
+
! Staging Project !! Python3 Compatible (Y/N) !! Python Version !! Links !! Zuul checker enabled !! Zuul checker made Voting !! Comments
 
|-
 
|-
|stx-keystone  || N || || N || N ||  
+
| stx-ceilometer || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-kingbird || N || || N || N ||  
+
| stx-ceph || Y || Python 3 (minor not specified) || || N || N || latest version specified Python 3.4
 
|-
 
|-
|stx-libvirt || N || || N || N ||  
+
|stx-cinder || Y || Python 2.7 + Python 3 compatible patches || || N || N || Latest version has Python 3.5 support.
 
|-
 
|-
|stx-magnum-ui   || N ||  || N || N ||  
+
|stx-glance   || '''N''' || Python 2.7 (blocked) ||  || N || N ||  
 
|-
 
|-
|stx-metal  || N || || N || N ||  
+
|stx-heat  || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-murano  || N || || N || N ||  
+
|stx-horizon  || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-murano-dashboard   || N ||  || N || N ||  
+
|stx-ironic   || '''N''' || Python 2.7 ||  || N || N || Not used now.
 
|-
 
|-
|stx-networking-bgpvpn  || N || || N || N ||  
+
|stx-keystone  || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-networking-odl  || N || || N || N ||  
+
|stx-kingbird  || Y || Python 3.4 || || N || N || latest version still Python 3.4
 
|-
 
|-
|stx-networking-sfc  || N || || N || N ||  
+
|stx-libvirt  || Y || Python 3 (minor not specified) || || N || N ||  
 
|-
 
|-
|stx-neutron  || N || || N || N ||  
+
|stx-magnum-ui  || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-neutron-dynamic-routing  || N || || N || N ||  
+
|stx-murano  || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-neutron-lib   || N || || N || N ||  
+
|stx-murano-dashboard   || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-nfv   || N || || N || N ||  
+
|stx-networking-bgpvpn   || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-nova   || N || || N || N ||  
+
|stx-networking-odl   || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-openstacksdk  || N || || N || N || ||
+
|stx-networking-sfc  || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-python-ceilometerclient  || N || || N || N ||  
+
|stx-neutron  || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|sx-python-cinderclient || N || || N || N ||  
+
|stx-neutron-dynamic-routing || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-python-glanceclient  || N || || N || N ||  
+
|stx-neutron-lib  || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-python-kingbirdclient  || N || || N || N ||  
+
|stx-nova  || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-python-magnumclient || N || || N || N ||  
+
|stx-openstacksdk || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-python-muranoclient  || N || || N || N ||  
+
|stx-python-ceilometerclient  || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-python-neutronclient || N || || N || N ||  
+
|sx-python-cinderclient || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-python-novaclient || N || || N || N ||  
+
|stx-python-glanceclient || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-qemu || N || || N || N ||  
+
|stx-python-kingbirdclient || Y || Python 3.4 || || N || N || latest version still Python 3.4
 
|-
 
|-
|stx-root  || N || || N || N ||  
+
|stx-python-magnumclient  || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-ryu || N || || N || N ||  
+
|stx-python-muranoclient || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-update || N || || N || N ||  
+
|stx-python-neutronclient || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-upstream || N || || N || N ||  
+
|stx-python-novaclient || Y || Python 3.5 || || N || N ||  
 
|-
 
|-
|stx-utils || N ||  || N || N ||  
+
|stx-qemu || '''N''' || Python 2.7 || || N || N || python scripts under folder qemu/scripts and qemu/tests, but only dump-guest-memory.py is packed into the rpm.
 +
|-
 +
|stx-ryu || Y || Python 3.4 || || N || N || latest version still Python 3.4, used by neutron.
 
|}
 
|}

Revision as of 03:22, 3 August 2018

Python2 Transition Sub-project

Welcome to the Python2 sub-project!

Python 2 support will be ending in the community in 2020. We have a lot of Python2 code that needs to be converted to be 2/3 compatible.

Members of the team: TBD

All Storyboard stories created for this team should use the tag "stx.python2" and the prefix [Python2].

The work items for this team can be found in Storyboard here.

There is an Etherpad with some notes here.

There is a Story with a good summary of the work needed here.

Deliverables for this sub-project:

  1. All python code in StarlingX is python 3 compatible
  2. All python repos have Zuul jobs which check for python 3 compatibility
  3. All Zuul jobs are made Voting
  4. Once all the Python 2 code is removed, any python 2 support packages are removed from the build and build mirror

ToDo:

  • Turn the Notes in the Etherpad into Stories
  • Write stories for each of the repos in the table below and list the Links in the table below
  • We also use packages that have Python2 code. We need to replace and/or update such packages. Need to identify that list.
  • Once all the P2 code is removed we need to remove the P2 dependencies

Python3 Transition Status

Project Python3 Compatible (Y/N) Python Version Links Zuul checker enabled Zuul checker made Voting Comments
stx-config N N N Risk: 1. grubby-8.28 is used in stx-config/puppet-manifests for system config, Python 2.7 only and no Python 3 version.
stx-fault N N N Risk: 1. net-snmp-5.7.2 is used by snmp-audittrail, Python 2.7 only and no Python 3 version, under stx-integ/networking/net-snmp.
stx-gui N N N
stx-ha N N N
stx-integ N N N Risk: 1. stx-integ/networking/net-snmp; 2. stx-integ/extended/python-cephclient (old cephclient with WRS patches, but no Python 3 version)
stx-metal N N N
stx-nfv N N N
stx-root N N N
stx-update N N N Risk: 1. createrepo-0.9.9 is used by cgcs-patch-controller, Python 2.7 only and no Python 3 version
stx-upstream N N N
stx-utils N N N
Staging Project Python3 Compatible (Y/N) Python Version Links Zuul checker enabled Zuul checker made Voting Comments
stx-ceilometer Y Python 3.5 N N
stx-ceph Y Python 3 (minor not specified) N N latest version specified Python 3.4
stx-cinder Y Python 2.7 + Python 3 compatible patches N N Latest version has Python 3.5 support.
stx-glance N Python 2.7 (blocked) N N
stx-heat Y Python 3.5 N N
stx-horizon Y Python 3.5 N N
stx-ironic N Python 2.7 N N Not used now.
stx-keystone Y Python 3.5 N N
stx-kingbird Y Python 3.4 N N latest version still Python 3.4
stx-libvirt Y Python 3 (minor not specified) N N
stx-magnum-ui Y Python 3.5 N N
stx-murano Y Python 3.5 N N
stx-murano-dashboard Y Python 3.5 N N
stx-networking-bgpvpn Y Python 3.5 N N
stx-networking-odl Y Python 3.5 N N
stx-networking-sfc Y Python 3.5 N N
stx-neutron Y Python 3.5 N N
stx-neutron-dynamic-routing Y Python 3.5 N N
stx-neutron-lib Y Python 3.5 N N
stx-nova Y Python 3.5 N N
stx-openstacksdk Y Python 3.5 N N
stx-python-ceilometerclient Y Python 3.5 N N
sx-python-cinderclient Y Python 3.5 N N
stx-python-glanceclient Y Python 3.5 N N
stx-python-kingbirdclient Y Python 3.4 N N latest version still Python 3.4
stx-python-magnumclient Y Python 3.5 N N
stx-python-muranoclient Y Python 3.5 N N
stx-python-neutronclient Y Python 3.5 N N
stx-python-novaclient Y Python 3.5 N N
stx-qemu N Python 2.7 N N python scripts under folder qemu/scripts and qemu/tests, but only dump-guest-memory.py is packed into the rpm.
stx-ryu Y Python 3.4 N N latest version still Python 3.4, used by neutron.