python3 support

Bug #1799341 reported by Huang Rui
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
networking-zvm
New
Undecided
Unassigned

Bug Description

Should add python3 support in future.

Before adding py3 support, should move zuul job setting from project config to networking-zvm. Some reference info for this:

The current tox.ini for ceilometer-zvm includes this line [1] similar to what ceilometer-powervm was doing up until recently:

   -egit+https://github.com/openstack/ceilometer@master#egg=ceilometer

We found that this no longer works since ceilometer was added to upper-constraints [2]. We first got things working again by [3] and are now improving on that by [4]. I expect you will need to make similar changes.

I was going to propose this to ceilometer-zvm for you, but then noticed that you don't even have a zuul.yaml file. You're missing changes like [5] adding lower-constraints checking and [6] for the python3-first effort. So that is probably a bigger issue to address first (and for networking-powervm and nova-zvm-virt-driver as well as ceilometer-zvm). When you get to the python3 stuff, I suggest you work with dhellmann on that. He's got scripts to generate at least some of those commits.

[1] http://git.openstack.org/cgit/openstack/ceilometer-zvm/tree/tox.ini#n19
[2] https://review.openstack.org/#/c/601498
[3] https://review.openstack.org/#/c/609058/
[4] https://review.openstack.org/#/c/609823/
[5] https://review.openstack.org/#/c/555358/
[6] https://review.openstack.org/#/c/594984/

W. Matthew Edmonds
Sr. Software Engineer, IBM Power Systems
Email: <email address hidden>
Phone: (919) 543-7538 / Tie-Line: 441-7538

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Python 3 support is very much needed. Just about every openstack package has py3 support. Note that py2.7 is almost end of life: https://pythonclock.org/.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Fyi I can't package this for ubuntu without python3 support. We've moved to python3 only for stein+.

Revision history for this message
jichenjc (jichenjc) wrote :

@Corey we will make this high priority
https://releases.openstack.org/stein/schedule.html is community schedule
what's your deadline to have this onboard? Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.