<div dir="ltr">Hi,<div><br></div><div>Buildbot at the moment only works with python 2.</div><div>We are working at the python3 port but it is not quite ready (I'm hoping we can have worker support for 0.9.4 thanks to the great work from Craig)</div><div><br></div><div>As per the Windows support, we are supporting windows by running unit test suite and integration suite on appveyor.</div><div>However, according to our statistics, we have no user accepting to send info to the statistic server and running windows. :-(</div><div>So I cannot say "it works, we have people running it". We are however interested in having windows users, and are willing to help as much as we can.</div><div><br></div><div>You can see on the appveyor.yml how we install pywin32 and other buildbot dependencies:</div><div><a href="https://github.com/buildbot/buildbot/blob/master/appveyor.yml#L13">https://github.com/buildbot/buildbot/blob/master/appveyor.yml#L13</a><br></div><div><br></div><div>Let us know.</div><div>Pierre</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Le lun. 16 janv. 2017 à 12:15, Grzegorz Antoniak <<a href="mailto:ga@anadoxin.org">ga@anadoxin.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br class="gmail_msg">
<br class="gmail_msg">
I would like to know what is the preferred version of Python for running<br class="gmail_msg">
buildbot-worker on Windows?<br class="gmail_msg">
<br class="gmail_msg">
Currently I'm trying 0.9.3 on Python 3.6, but it fails with an error:<br class="gmail_msg">
<br class="gmail_msg">
    File "C:\python36\lib\site-packages\twisted\spread\pb.py", line 1076 [...]<br class="gmail_msg">
        m.update(password)<br class="gmail_msg">
    builtins.TypeError: Unicode-objects must be encoded before hashing<br class="gmail_msg">
<br class="gmail_msg">
I've also tried 0.9.2 and 0.9.1, same error.<br class="gmail_msg">
<br class="gmail_msg">
I've tried to install 0.9.3 on Python 2.7, but it failed with this<br class="gmail_msg">
error:<br class="gmail_msg">
<br class="gmail_msg">
    File "c:\python27\lib\site-packages\buildbot_worker\base.py", line 315[...]<br class="gmail_msg">
        self.numcpus = multiprocessing.cpu_count()<br class="gmail_msg">
    File "c:\python27\lib\multiprocessing\__init__.py", line 136, in cpu_count<br class="gmail_msg">
        raise NotImplementedError('cannot determine number of cpus')<br class="gmail_msg">
    exceptions.NotImplementedError: cannot determine number of cpus<br class="gmail_msg">
<br class="gmail_msg">
I've checked the documentation for `multiprocessing.cpu_count`, and it<br class="gmail_msg">
says that this function can throw NotImplementedError, as it happens on<br class="gmail_msg">
my machine. I've added a simple patch to catch this exception in<br class="gmail_msg">
`base.py` around line 315, the error was gone and the worker started<br class="gmail_msg">
successfully, but now I'm having some problems installing `pywin32`<br class="gmail_msg">
(which are not related to this mailing list) so the worker is still not<br class="gmail_msg">
fully operational.<br class="gmail_msg">
<br class="gmail_msg">
So I'm wondering, what is the Python setup of the developers? Which<br class="gmail_msg">
version of Python is known to work on Windows without any patches?<br class="gmail_msg">
<br class="gmail_msg">
Regards,<br class="gmail_msg">
Grzegorz Antoniak<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
users mailing list<br class="gmail_msg">
<a href="mailto:users@buildbot.net" class="gmail_msg" target="_blank">users@buildbot.net</a><br class="gmail_msg">
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br class="gmail_msg">
</blockquote></div>