[devel at bb.net] [Buildbot-devel] Has anyone tried running buildbot with pypy?

Dustin J. Mitchell dustin at v.igoro.us
Fri Nov 27 14:47:41 UTC 2015


That suggests that MySQLdb itself isn't pypy-compatible.  I suspect
anything that depends heavily on __del__ will have issues on pypy.

There are other MySQL drivers available for SQLAlchemy, including
PyMySQL -- perhaps one of those would work better?

Dustin

On Fri, Nov 27, 2015 at 8:36 AM, Elmir Jagudin <elmir at unity3d.com> wrote:
>
>
> On Thu, Nov 26, 2015 at 7:53 PM, Pierre Tardy <tardyp at gmail.com> wrote:
>>
>> There are no fundamental reasons known to me why buildbot will not work
>> with pypy.
>>
>> I tried to run the unit tests once, and saw a few issues in the unit tests
>> which were related to the order of dictionaries iteration (which is
>> implementation specific).
>>
>> Can you tell us more about your failures?
>
>
> I'm working on the same Buildbot/Katana set-up as Maria.
>
> We tried running full Katana instance under pypy in our staging set-up. It
> seemed to work fine, showing the home page, running the builds on the
> slaves, etc. However the twisted log was filling up with:
>
>     2015-11-26 13:50:11+0100 [-] Exception ProgrammingError: (2014,
> "Commands out of
>        sync; you can't run this command now") in method __del__ of
> <MySQLdb.cursors.Cursor object
>        at 0x00000000061875c8> ignored
>
> This is probably some issue related to pypy garbage collection vs cpython's
> reference counting. Not sure if this causing actual problems or not.
>
> Another issue I have noticed was that running 'buildbot create-master' hangs
> during "creating database (sqlite:///state.sqlite)" step.
>
> When running unit tests, a bunch of master upgrade tests hangs. A bunch of
> other tests fails with DB releated error messages.
>
> Btw, this is on eight branch of the buildbot.
>
> /Elmir
>
>
>
>
>>
>> Le jeu. 26 nov. 2015 à 19:26, Bill Deegan <bill at baddogconsulting.com> a
>> écrit :
>>>
>>> Does twisted run under pypy?
>>> (I've not tried)
>>>
>>> -Bill
>>>
>>> On Thu, Nov 26, 2015 at 6:00 AM, Maria Marcano
>>> <mariangemarcano at gmail.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> We are trying to run buildbot (our custom katana version) with pypy,
>>>> we run buildbot with mysql and we got some failures,
>>>>
>>>> Has anyone tried doing this before? What did you do to get it working?
>>>>
>>>> Thanks!
>>>>
>>>> Maria.
>>>>
>>>> _______________________________________________
>>>> devel mailing list
>>>> devel at buildbot.net
>>>> https://lists.buildbot.net/mailman/listinfo/devel
>>>
>>>
>>> _______________________________________________
>>> devel mailing list
>>> devel at buildbot.net
>>> https://lists.buildbot.net/mailman/listinfo/devel
>>
>>
>> _______________________________________________
>> devel mailing list
>> devel at buildbot.net
>> https://lists.buildbot.net/mailman/listinfo/devel
>
>
>
> _______________________________________________
> devel mailing list
> devel at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/devel


More information about the devel mailing list