[webkit-dev] Removing Support for Python 2.5

Adam Barth abarth at webkit.org
Mon Nov 7 14:42:49 PST 2011


On Mon, Nov 7, 2011 at 2:41 PM, Joe Mason <jmason at rim.com> wrote:
> Has there been any thought of moving to "/usr/bin/env python" for systems with python installed in a different path?

Yes.  I'm happy to review any patches that change use to using
"/usr/bin/env python".

Adam


>> -----Original Message-----
>> From: webkit-dev-bounces at lists.webkit.org [mailto:webkit-dev-
>> bounces at lists.webkit.org] On Behalf Of Adam Barth
>> Sent: Monday, November 07, 2011 4:36 PM
>> To: Rafael Antognolli
>> Cc: WebKit Development
>> Subject: Re: [webkit-dev] Removing Support for Python 2.5
>>
>> $ /usr/bin/python2
>> -bash: /usr/bin/python2: No such file or directory
>>
>> I have a pretty standard setup, so it looks like that won't work for
>> most developers.
>>
>> Adam
>>
>>
>> On Mon, Nov 7, 2011 at 1:08 PM, Rafael Antognolli
>> <antognolli at profusion.mobi> wrote:
>> > Hello,  I should have asked on this thread before, but just saw it
>> > now. But since it's in the same topic, what do you think about
>> > changing python scripts from using /usr/bin/python to
>> /usr/bin/python2
>> > ?
>> >
>> > I opened a bug for this some minutes ago:
>> > https://bugs.webkit.org/show_bug.cgi?id=71723
>> >
>> > Regards,
>> > Rafael
>> >
>> > On Fri, Nov 4, 2011 at 9:45 PM, Eric Seidel <eric at webkit.org> wrote:
>> >> Tony: I would recommend upgrading to at least 2.7 on those machines.
>> >> http://www.python.org/download/releases/2.7.2/
>> >>
>> >> I would love to switch us to require 2.7 but such would currently
>> too
>> >> much of a burden on SnowLeopard-based developers.
>> >>
>> >> -eric
>> >>
>> >> On Fri, Nov 4, 2011 at 4:03 PM, Adam Barth <abarth at webkit.org>
>> wrote:
>> >>> I misremembered.  Looking at depot_tools, it seems Chromium only
>> does
>> >>> this on Windows.
>> >>>
>> >>> Looks like we might need to upgrade the Chromium bots to use 2.6.
>> >>> Python 2.5 is super old at this point.
>> >>>
>> >>> Adam
>> >>>
>> >>>
>> >>> On Fri, Nov 4, 2011 at 4:01 PM, Tony Chang <tony at chromium.org>
>> wrote:
>> >>>> Are you sure?  This output has references
>> >>>> to System/Library/Frameworks/Python.framework/Versions/2.5.  I
>> also thought
>> >>>> that's why NRWT was slow on the Leopard bots: python 2.5 doesn't
>> have the
>> >>>> multiprocess module.
>> >>>>
>> http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Mac10.5%2
>> 0%28dbg%29%281%29/builds/4090/steps/webkit_tests/logs/stdio
>> >>>>
>> >>>> It may just be a bug that these bots aren't using python2.6.
>> >>>>
>> >>>> On Fri, Nov 4, 2011 at 3:40 PM, Adam Barth <abarth at webkit.org>
>> wrote:
>> >>>>>
>> >>>>> Yes, Chromium versions its Python independently from the OS.
>> >>>>>
>> >>>>> Adam
>> >>>>>
>> >>>>>
>> >>>>> On Fri, Nov 4, 2011 at 3:25 PM, Ojan Vafai <ojan at chromium.org>
>> wrote:
>> >>>>> > I believe the chromium port always uses 2.6 though, no?
>> >>>>> >
>> >>>>> > On Fri, Nov 4, 2011 at 3:23 PM, Nico Weber
>> <thakis at chromium.org> wrote:
>> >>>>> >>
>> >>>>> >> The chromium port still has a bot that runs tests (but doesn't
>> build)
>> >>>>> >> on
>> >>>>> >> 10.5.
>> >>>>> >>
>> >>>>> >> Nico
>> >>>>> >>
>> >>>>> >> On Fri, Nov 4, 2011 at 3:20 PM, Eric Seidel <eric at webkit.org>
>> wrote:
>> >>>>> >> > Now that Apple has removed the Leopard build bot (and
>> presumably
>> >>>>> >> > stopped supporting WebKit on Leopard), all webkit platforms
>> I know of
>> >>>>> >> > have Python 2.6 or higher.
>> >>>>> >> >
>> >>>>> >> > My plan is to remove all of our 2.5 supporting code in the
>> next week,
>> >>>>> >> > requiring Python 2.6 or later for WebKit.
>> >>>>> >> >
>> >>>>> >> > Let me know if this will be an issue for you.
>> >>>>> >> >
>> >>>>> >> > Thanks!
>> >>>>> >> >
>> >>>>> >> > -eric
>> >>>>> >> > _______________________________________________
>> >>>>> >> > webkit-dev mailing list
>> >>>>> >> > webkit-dev at lists.webkit.org
>> >>>>> >> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>> >>>>> >> >
>> >>>>> >> _______________________________________________
>> >>>>> >> webkit-dev mailing list
>> >>>>> >> webkit-dev at lists.webkit.org
>> >>>>> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>> >>>>> >
>> >>>>> >
>> >>>>> > _______________________________________________
>> >>>>> > webkit-dev mailing list
>> >>>>> > webkit-dev at lists.webkit.org
>> >>>>> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>> >>>>> >
>> >>>>> >
>> >>>>> _______________________________________________
>> >>>>> webkit-dev mailing list
>> >>>>> webkit-dev at lists.webkit.org
>> >>>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>> >>>>
>> >>>>
>> >>> _______________________________________________
>> >>> webkit-dev mailing list
>> >>> webkit-dev at lists.webkit.org
>> >>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>> >>>
>> >> _______________________________________________
>> >> webkit-dev mailing list
>> >> webkit-dev at lists.webkit.org
>> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>> >>
>> >
>> >
>> >
>> > --
>> > Rafael Antognolli
>> > ProFUSION embedded systems
>> > http://profusion.mobi
>> >
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
>


More information about the webkit-dev mailing list