[webkit-dev] Removing Support for Python 2.5

Adam Barth abarth at webkit.org
Mon Nov 7 13:36:07 PST 2011


$ /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%20%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
>


More information about the webkit-dev mailing list