<div dir="ltr"><div><div>Out of curiosity - why do you even try running Buildbot on PyPy, is it doing some heavy work that you want JIT for?..<br><br></div>Thanks,<br></div>Vasily<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-27 17:47 GMT+03:00 Dustin J. Mitchell <span dir="ltr"><<a href="mailto:dustin@v.igoro.us" target="_blank">dustin@v.igoro.us</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That suggests that MySQLdb itself isn't pypy-compatible. I suspect<br>
anything that depends heavily on __del__ will have issues on pypy.<br>
<br>
There are other MySQL drivers available for SQLAlchemy, including<br>
PyMySQL -- perhaps one of those would work better?<br>
<span class="HOEnZb"><font color="#888888"><br>
Dustin<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, Nov 27, 2015 at 8:36 AM, Elmir Jagudin <<a href="mailto:elmir@unity3d.com">elmir@unity3d.com</a>> wrote:<br>
><br>
><br>
> On Thu, Nov 26, 2015 at 7:53 PM, Pierre Tardy <<a href="mailto:tardyp@gmail.com">tardyp@gmail.com</a>> wrote:<br>
>><br>
>> There are no fundamental reasons known to me why buildbot will not work<br>
>> with pypy.<br>
>><br>
>> I tried to run the unit tests once, and saw a few issues in the unit tests<br>
>> which were related to the order of dictionaries iteration (which is<br>
>> implementation specific).<br>
>><br>
>> Can you tell us more about your failures?<br>
><br>
><br>
> I'm working on the same Buildbot/Katana set-up as Maria.<br>
><br>
> We tried running full Katana instance under pypy in our staging set-up. It<br>
> seemed to work fine, showing the home page, running the builds on the<br>
> slaves, etc. However the twisted log was filling up with:<br>
><br>
> 2015-11-26 13:50:11+0100 [-] Exception ProgrammingError: (2014,<br>
> "Commands out of<br>
> sync; you can't run this command now") in method __del__ of<br>
> <MySQLdb.cursors.Cursor object<br>
> at 0x00000000061875c8> ignored<br>
><br>
> This is probably some issue related to pypy garbage collection vs cpython's<br>
> reference counting. Not sure if this causing actual problems or not.<br>
><br>
> Another issue I have noticed was that running 'buildbot create-master' hangs<br>
> during "creating database (sqlite:///state.sqlite)" step.<br>
><br>
> When running unit tests, a bunch of master upgrade tests hangs. A bunch of<br>
> other tests fails with DB releated error messages.<br>
><br>
> Btw, this is on eight branch of the buildbot.<br>
><br>
> /Elmir<br>
><br>
><br>
><br>
><br>
>><br>
>> Le jeu. 26 nov. 2015 à 19:26, Bill Deegan <<a href="mailto:bill@baddogconsulting.com">bill@baddogconsulting.com</a>> a<br>
>> écrit :<br>
>>><br>
>>> Does twisted run under pypy?<br>
>>> (I've not tried)<br>
>>><br>
>>> -Bill<br>
>>><br>
>>> On Thu, Nov 26, 2015 at 6:00 AM, Maria Marcano<br>
>>> <<a href="mailto:mariangemarcano@gmail.com">mariangemarcano@gmail.com</a>> wrote:<br>
>>>><br>
>>>> Hi,<br>
>>>><br>
>>>> We are trying to run buildbot (our custom katana version) with pypy,<br>
>>>> we run buildbot with mysql and we got some failures,<br>
>>>><br>
>>>> Has anyone tried doing this before? What did you do to get it working?<br>
>>>><br>
>>>> Thanks!<br>
>>>><br>
>>>> Maria.<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> devel mailing list<br>
>>>> <a href="mailto:devel@buildbot.net">devel@buildbot.net</a><br>
>>>> <a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/devel</a><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> devel mailing list<br>
>>> <a href="mailto:devel@buildbot.net">devel@buildbot.net</a><br>
>>> <a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/devel</a><br>
>><br>
>><br>
>> _______________________________________________<br>
>> devel mailing list<br>
>> <a href="mailto:devel@buildbot.net">devel@buildbot.net</a><br>
>> <a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/devel</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@buildbot.net">devel@buildbot.net</a><br>
> <a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/devel</a><br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@buildbot.net">devel@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/devel</a></div></div></blockquote></div><br></div>