[openstack-dev] [oslo] python 2.6 support for oslo libraries

Andrey Kurilin akurilin at mirantis.com
Thu Oct 23 15:56:23 UTC 2014


Just a joke: Can we drop supporting Python 2.6, when several project still
have hooks for Python 2.4?

https://github.com/openstack/python-novaclient/blob/master/novaclient/exceptions.py#L195-L203
https://github.com/openstack/python-cinderclient/blob/master/cinderclient/exceptions.py#L147-L155

On Wed, Oct 22, 2014 at 9:15 PM, Doug Hellmann <doug at doughellmann.com>
wrote:

> The application projects are dropping python 2.6 support during Kilo, and
> I’ve had several people ask recently about what this means for Oslo.
> Because we create libraries that will be used by stable versions of
> projects that still need to run on 2.6, we are going to need to maintain
> support for 2.6 in Oslo until Juno is no longer supported, at least for
> some of our projects. After Juno’s support period ends we can look again at
> dropping 2.6 support in all of the projects.
>
>
> I think these rules cover all of the cases we have:
>
> 1. Any Oslo library in use by an API client that is used by a supported
> stable branch (Icehouse and Juno) needs to keep 2.6 support.
>
> 2. If a client library needs a library we graduate from this point
> forward, we will need to ensure that library supports 2.6.
>
> 3. Any Oslo library used directly by a supported stable branch of an
> application needs to keep 2.6 support.
>
> 4. Any Oslo library graduated during Kilo can drop 2.6 support, unless one
> of the previous rules applies.
>
> 5. The stable/icehouse and stable/juno branches of the incubator need to
> retain 2.6 support for as long as those versions are supported.
>
> 6. The master branch of the incubator needs to retain 2.6 support until we
> graduate all of the modules that will go into libraries used by clients.
>
>
> A few examples:
>
> - oslo.utils was graduated during Juno and is used by some of the client
> libraries, so it needs to maintain python 2.6 support.
>
> - oslo.config was graduated several releases ago and is used directly by
> the stable branches of the server projects, so it needs to maintain python
> 2.6 support.
>
> - oslo.log is being graduated in Kilo and is not yet in use by any
> projects, so it does not need python 2.6 support.
>
> - oslo.cliutils and oslo.apiclient are on the list to graduate in Kilo,
> but both are used by client projects, so they need to keep python 2.6
> support. At that point we can evaluate the code that remains in the
> incubator and see if we’re ready to turn of 2.6 support there.
>
>
> Let me know if you have questions about any specific cases not listed in
> the examples.
>
> Doug
>
> PS - Thanks to fungi and clarkb for helping work out the rules above.
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Best regards,
Andrey Kurilin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141023/85773274/attachment-0001.html>


More information about the OpenStack-dev mailing list