[lttng-dev] [PATCH babeltrace 1/2] Added Python 3.0 or better requirement to the README file

Jérémie Galarneau jeremie.galarneau at efficios.com
Wed Mar 13 10:51:31 EDT 2013


If I'm not mistaken, the scripts do work with Python 2.7. However,
maintaining this compatibility comes with a significant development
and testing overhead which I don't think brings that much value in the
end.

We're not talking about dropping support for tracing on RHEL here...
we're talking about Python bindings which are completely optional and
not part of the master branch. To me this is simply a case of handling
a dependency just like any other... a package exists for most users,
and RHEL users may have to install from source. I just don't see the
problem.

Anyway, RHEL/CentOS 6 does not even provide a Python 2.7 package...
Only Python 2.6 is officially supported[1].

Jérémie

[1] http://mirror.centos.org/centos/6/os/x86_64/Packages/

On Wed, Mar 13, 2013 at 10:23 AM, Mathieu Desnoyers
<mathieu.desnoyers at efficios.com> wrote:
> * Yannick Brosseau (yannick.brosseau at gmail.com) wrote:
>> On 2013-03-13 10:06, Mathieu Desnoyers wrote:
>> > Hi Yannick,
>> >
>> > Please list all the distro and distro versions you care about that still
>> > ship with python 2.7 by default today, along with the time-frame for
>> > which they are going to still be supported by the vendors, and whether
>> > those distributions allow users to install python 3.0 side-by-side with
>> > 2.7 or not.
>> Just to name 2: Centos/RHEL 6.x and Debian.
>>
>> CentOS/RHEL does not have a Python 3 package
>>
>> Debian is default to 2.7, can install python3, but will potentially
>> breaks apps that rely on python 2 if I set python 3 to default.
>
> For our python scripts to work, do we need python 3 to be default ?
>
> About RHEL6, interesting links:
>
> http://www.muktware.com/5203/google-says-red-hat-enterprise-linux-6-obsolete
>
> Something to think about ;)
>
> Jérémie: how much extra effort would be required to support python 2.7+
> (only) as well as python 3 ?
>
> Thanks,
>
> Mathieu
>
>>
>>
>>
>> > Thanks,
>> >
>> > Mathieu
>> >
>> > * Jérémie Galarneau (jeremie.galarneau at efficios.com) wrote:
>> >> Although I agree it can prove to be an inconvenience for some users,
>> >> most distributions provide a Python 3 package at this point.
>> >>
>> >> The reasoning is that since these bindings are still in development
>> >> and won't be integrated into the master branch for some time, the
>> >> effort needed to develop and test them while targeting two versions of
>> >> Python is hard to justify.
>> >>
>> >> On Mon, Mar 11, 2013 at 10:55 PM, Yannick Brosseau
>> >> <yannick.brosseau at gmail.com> wrote:
>> >>> On 2013-02-01 08:54, Jérémie Galarneau wrote:
>> >>>> As for as I know, the bindings do work with Python 2.7.
>> >>>> However, we have decided to no longer explicitly support older
>> >>>> versions of Python in order to make the bindings, along with future
>> >>>> developments, easily maintainable.
>> >>>>
>> >>> My main concern is that 2.7 is still the default version for many linux
>> >>> distribution, so it might be early to drop 2.7 support.
>> >>>
>> >>> Yannick
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> lttng-dev mailing list
>> >>> lttng-dev at lists.lttng.org
>> >>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>> >> _______________________________________________
>> >> lttng-dev mailing list
>> >> lttng-dev at lists.lttng.org
>> >> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>>
>
> --
> Mathieu Desnoyers
> EfficiOS Inc.
> http://www.efficios.com



More information about the lttng-dev mailing list