Discussion:
[Twisted-Python] Twisted 16.4.0 Prerelease 1 Announcement
Amber "Hawkie" Brown
2016-08-13 06:18:26 UTC
Permalink
In a rare Twisted release double feature right after 16.3.1, I bring you the first prerelease of Twisted 16.4.0.

This is a big release, the first after the Git migration has really kicked in! And so, here's what it brings us:

- twist, a new command line tool for running Twisted plugins, similar to twistd but with a simpler, cleaner interface.
- A new interface for Protocols, IHandshakeListener, which tells Twisted to tell the Protocol when the TLS handshake has been completed.
- async/await support for Deferreds, allowing you to write Python 3.5+ coroutines using Twisted
- Trial can be invoked with "python -m twisted.trial".
- 35+ more modules ported to Python 3, and many many cleanups on the way to Python 3 on Windows support.
- 240+ closed tickets overall.

For more information, check the NEWS file (link provided below).

As usual, it's available for download -- go here (https://twistedmatrix.com/Releases/pre/16.4.0pre1/ <https://twistedmatrix.com/Releases/pre/16.4.0pre1/>) to get the prerelease tarballs and the full NEWS file. If you want to install it right away, run:

pip install https://twistedmatrix.com/Releases/pre/16.4.0pre1/Twisted-16.4.0rc1.tar.bz2 <https://twistedmatrix.com/Releases/pre/16.4.0pre1/Twisted-16.4.0rc1.tar.bz2>

Please let me know if you have any issues, as well as if you don't! If everything works well, that's a good thing for me to know :)

Twisted Regards,
Amber Brown (HawkOwl)
Glyph Lefkowitz
2016-08-13 23:33:58 UTC
Permalink
Post by Amber "Hawkie" Brown
In a rare Twisted release double feature right after 16.3.1, I bring you the first prerelease of Twisted 16.4.0.
- twist, a new command line tool for running Twisted plugins, similar to twistd but with a simpler, cleaner interface.
- A new interface for Protocols, IHandshakeListener, which tells Twisted to tell the Protocol when the TLS handshake has been completed.
- async/await support for Deferreds, allowing you to write Python 3.5+ coroutines using Twisted
- Trial can be invoked with "python -m twisted.trial".
- 35+ more modules ported to Python 3, and many many cleanups on the way to Python 3 on Windows support.
- 240+ closed tickets overall.
For more information, check the NEWS file (link provided below).
pip install https://twistedmatrix.com/Releases/pre/16.4.0pre1/Twisted-16.4.0rc1.tar.bz2 <https://twistedmatrix.com/Releases/pre/16.4.0pre1/Twisted-16.4.0rc1.tar.bz2>
Please let me know if you have any issues, as well as if you don't! If everything works well, that's a good thing for me to know :)
This is a _lot_ of stuff. I can only imagine what a mega-blockbuster release we are going to have once we have this level of investment but we are already _done_ with python 3 porting (a day which, at this clip, will come soon)!!!

Two minor points:

This release _also_ comes with setuptools console scripts. That sounds a bit dull, but for those of you on Windows, the exciting consequence of this apparently mundane tweak is that that this is the first release to have programs like twistd (and the new 'twist'!) work properly at a Windows command line, without any special %PATHEXT% configuration! setuptools/virtualenv/pip's .exe-stub generation makes .exe files that work more or less like regular Windows executables, and therefore integrate much better into the environment for all kinds of purposes.
I'm about to land the fix for <https://twistedmatrix.com/trac/ticket/8754>. While not technically a regression, I believe we should have a pre2 for this; it would be sad for our first asyncioreactor release to be beset by random EPIPE tracebacks (even if asyncio itself would be without our help ;-)).

-glyph
Amber Brown
2016-08-13 23:38:04 UTC
Permalink
You needn't be concerned, Glyph, the asyncio reactor landed after I cut the
release, so it's existence is currently a spoiler for season 16.5 of
Twisted ;)
On Aug 12, 2016, at 11:18 PM, Amber Hawkie Brown <
In a rare Twisted release double feature right after 16.3.1, I bring you
the first prerelease of Twisted 16.4.0.
This is a big release, the first after the Git migration has really kicked
- twist, a new command line tool for running Twisted plugins, similar to
twistd but with a simpler, cleaner interface.
- A new interface for Protocols, IHandshakeListener, which tells Twisted
to tell the Protocol when the TLS handshake has been completed.
- async/await support for Deferreds, allowing you to write Python 3.5+
coroutines using Twisted
- Trial can be invoked with "python -m twisted.trial".
- 35+ more modules ported to Python 3, and many many cleanups on the way
to Python 3 on Windows support.
- 240+ closed tickets overall.
For more information, check the NEWS file (link provided below).
As usual, it's available for download -- go here (
https://twistedmatrix.com/Releases/pre/16.4.0pre1/) to get the prerelease
pip install https://twistedmatrix.com/Releases/pre/16.4.0pre1/
Twisted-16.4.0rc1.tar.bz2
Please let me know if you have any issues, as well as if you don't! If
everything works well, that's a good thing for me to know :)
This is a _lot_ of stuff. I can only imagine what a mega-blockbuster
release we are going to have once we have this level of investment but we
are already _done_ with python 3 porting (a day which, at this clip, will
come soon)!!!
1. This release _also_ comes with setuptools console scripts. That
sounds a bit dull, but for those of you on Windows, the exciting
consequence of this apparently mundane tweak is that that this is the first
release to have programs like twistd (and the new 'twist'!) work properly
at a Windows command line, without any special %PATHEXT% configuration!
setuptools/virtualenv/pip's .exe-stub generation makes .exe files that
work more or less like regular Windows executables, and therefore integrate
much better into the environment for all kinds of purposes.
2. I'm about to land the fix for <https://twistedmatrix.com/
trac/ticket/8754>. While not technically a regression, I believe we
should have a pre2 for this; it would be sad for our first asyncioreactor
release to be beset by random EPIPE tracebacks (even if asyncio itself
would be without our help ;-)).
-glyph
_______________________________________________
Twisted-Python mailing list
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Glyph Lefkowitz
2016-08-13 23:41:59 UTC
Permalink
You needn't be concerned, Glyph, the asyncio reactor landed after I cut the release, so it's existence is currently a spoiler for season 16.5 of Twisted ;)
Oops! :)

We should have an easier system for tracking this stuff. In any case, looks like we are already teed up for an amazing 16.5 ;)

-g
meejah
2016-08-13 23:49:08 UTC
Permalink
txtorcon runs all tests fine with 16.4.0pre1

Thanks! Lots of great additions, it looks like :)
meejah
John Santos
2016-08-15 04:18:33 UTC
Permalink
Quick check with my app (Python 2.7) which uses twisted.conch and t.c.insults
pretty heavily shows no problems with Twisted 16.4.0.

I really appreciate the Twisted project's attention to backwards
compatibility, though someday I will port this to Python 3 :-)
--
John Santos
Evans Griffiths & Hart, Inc.
781-861-0670 ext 539
Glyph Lefkowitz
2016-08-15 04:37:54 UTC
Permalink
Post by John Santos
Quick check with my app (Python 2.7) which uses twisted.conch and t.c.insults
pretty heavily shows no problems with Twisted 16.4.0.
I really appreciate the Twisted project's attention to backwards
compatibility, though someday I will port this to Python 3 :-)
Thanks a ton for testing the upgrade!

-g
Tristan Seligmann
2016-08-15 09:43:03 UTC
Permalink
Post by Amber "Hawkie" Brown
In a rare Twisted release double feature right after 16.3.1, I bring you
the first prerelease of Twisted 16.4.0.
FWIW my $DAYJOB test suite passes against 16.4.0rc1.

Loading...