[dev][goal][python3][qa][devstack][ptl] changing devstack's python 3 behavior

Slawomir Kaplonski skaplons at redhat.com
Wed Jan 9 20:22:26 UTC 2019


Just to be sure, does it mean that we don’t need to add USE_PYTHON3=True to run job on python3, right?

Slawek Kaplonski
Senior software engineer
Red Hat

> Wiadomość napisana przez Doug Hellmann <doug at doughellmann.com> w dniu 09.01.2019, o godz. 20:57:
> Doug Hellmann <doug at doughellmann.com> writes:
>> Doug Hellmann <doug at doughellmann.com> writes:
>>> Today devstack requires each project to explicitly indicate that it can
>>> be installed under python 3, even when devstack itself is running with
>>> python 3 enabled.
>>> As part of the python3-first goal, I have proposed a change to devstack
>>> to modify that behavior [1]. With the change in place, when devstack
>>> runs with python3 enabled all services are installed under python 3,
>>> unless explicitly listed as not supporting python 3.
>>> If your project has a devstack plugin or runs integration or functional
>>> test jobs that use devstack, please test your project with the patch
>>> (you can submit a trivial change to your project and use Depends-On to
>>> pull in the devstack change).
>>> [1] https://review.openstack.org/#/c/622415/
>>> -- 
>>> Doug
>> We have had a few +1 votes on the patch above with comments that
>> indicate at least a couple of projects have taken the time to test and
>> verify that things won't break for them with the change.
>> Are we ready to proceed with merging the change?
>> -- 
>> Doug
> The patch mentioned above that changes the default version of Python in
> devstack to 3 by default has merged. If this triggers a failure in your
> devstack-based jobs, you can use the disable_python3_package function to
> add your package to the list *not* installed using Python 3 until the
> fixes are available.
> -- 
> Doug

More information about the openstack-discuss mailing list