Discussion:
[Twisted-Python] twisted on Windows with python 3.5?
Jeffrey DeLeo
2016-11-16 18:24:17 UTC
Permalink
After seeing a talk by Glyph and Moshe last month, I have looked into
twisted. It seems like a natural fit for a current project. Thought to
use klein for the web application portion as well.

But - we are using Python 3.5, and one of our deliverable platforms is
Windows 7 (64 bit). Bad idea? Things to watch out for?

I have been able to build twisted on Windows with Python 3.5, no cygwin. Simple
examples I tried run. Some klein examples run (some don't).

Greatly appreciated:

+ comments from anyone doing something similar

+ pointers to Windows status - what's available, what to avoid

+ amusing or snarky comments ;)

thanks in advance!
Craig Rodrigues
2016-11-16 19:17:35 UTC
Permalink
Hi,

Over the past 4-5 months or so, I have been doing some major heavy lifting
to port large parts of Twisted to Python 3.
One of the biggest hurdles I overcame was to port the Twisted IOCP reactor
to Python 3. I got that to work.

So, I think things are in good shape. However, getting feedback from
actual users like yourself would be very valuable. That will allow us
to squash any remaining bugs and corner cases.

In terms of status, I invite you to look at the Windows Python 3.5 build
and test status on Appveyor:

https://ci.appveyor.com/project/adiroiban/twisted/history

Not specific to Windows, I reported the latest Python 3 status on Linux
here:

http://twistedmatrix.com/pipermail/twisted-python/2016-November/030869.html

--
Craig
Post by Jeffrey DeLeo
After seeing a talk by Glyph and Moshe last month, I have looked into
twisted. It seems like a natural fit for a current project. Thought to
use klein for the web application portion as well.
But - we are using Python 3.5, and one of our deliverable platforms is
Windows 7 (64 bit). Bad idea? Things to watch out for?
I have been able to build twisted on Windows with Python 3.5, no cygwin. Simple
examples I tried run. Some klein examples run (some don't).
+ comments from anyone doing something similar
+ pointers to Windows status - what's available, what to avoid
+ amusing or snarky comments ;)
thanks in advance!
_______________________________________________
Twisted-Python mailing list
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Glyph Lefkowitz
2016-11-16 19:48:02 UTC
Permalink
Post by Jeffrey DeLeo
After seeing a talk by Glyph and Moshe last month, I have looked into
twisted. It seems like a natural fit for a current project. Thought to
use klein for the web application portion as well.
But - we are using Python 3.5, and one of our deliverable platforms is
Windows 7 (64 bit). Bad idea? Things to watch out for?
I have been able to build twisted on Windows with Python 3.5, no cygwin. Simple
examples I tried run. Some klein examples run (some don't).
+ comments from anyone doing something similar
+ pointers to Windows status - what's available, what to avoid
+ amusing or snarky comments ;)
thanks in advance!
I'm not currently deploying on Windows 7 anywhere in production, but:

a) We have a windows 7/2.7 builder which we try to keep passing; it is a supported platform: https://buildbot.twistedmatrix.com/builders/windows7-64-py2.7 <https://buildbot.twistedmatrix.com/builders/windows7-64-py2.7>. While, technically speaking, 3.5+win7 is not a supported platform, we do also test with 3.5 on other versions of Windows, so if there's a problem we'd be surprised.

b) I say this because some open source / Python projects don't, but: we take Windows support seriously. If you report issues and submit patches, we will definitely try to investigate and or integrate them. If there's demand from users to support it, we can set up a win7+py3.5 builder as well, and support it if it's green.

So while I can't promise everything will work perfectly out of the box, it's definitely supposed to :-).

-g
Jeffrey DeLeo
2016-11-17 19:33:39 UTC
Permalink
Thank you Craig and Glyph for your comments. I am heartened!
From my side I'll raise issues and express appreciation as appropriate.
Loading...