Re: [Freeipa-devel] minimum python version

2014-05-09 Thread Martin Kosek

On 05/06/2014 07:55 AM, Alexander Bokovoy wrote:

On Tue, 06 May 2014, Fraser Tweedale wrote:

Hi all,

What's are the versions of Python that must be supported in the
freeipa codebase?  And do older branches have to support earlier
versions?

Any Python language features that should be avoided, by policy?
Forward-portability considerations?

We attempt to not overcomplicate backport efforts for stable
branches. This means we stuck mostly with features provided by the
Python 2.6 (2.6.6 in RHEL 6, for example).



In master branch and FreeIPA versions post RHEL-6 (i.e. FreeIPA 3.0.0 based) we 
require at least Python 2.7. For instance, we already use set literals 
({1,2,3}) that require Python 2.7.


Martin

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


Re: [Freeipa-devel] minimum python version

2014-05-05 Thread Alexander Bokovoy

On Tue, 06 May 2014, Fraser Tweedale wrote:

Hi all,

What's are the versions of Python that must be supported in the
freeipa codebase?  And do older branches have to support earlier
versions?

Any Python language features that should be avoided, by policy?
Forward-portability considerations?

We attempt to not overcomplicate backport efforts for stable
branches. This means we stuck mostly with features provided by the
Python 2.6 (2.6.6 in RHEL 6, for example).

--
/ Alexander Bokovoy

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel