Wednesday, December 26, 2012

Twisted 12.3.0 released

On behalf of Twisted Matrix Laboratories, I am pleased to announce, in extremis, the release of Twisted 12.3.
161 tickets are closed by this release, with the following highlights:
  • Support for local parallel testing in trial
  • A new "react" function to easily run a single asynchronous function in a script with the reactor.
  • Partial support for Python 3.3.
Twisted 12.3 requires zope.interface 3.6.0 or later, so you may need to upgrade.  Also, on Windows, Python 2.7 or later is now required.

For more information, see the NEWS file here: NEWS.txt
Download it now from: Twisted-12.3.0.tar.bz2 or Twisted-12.3.0.win32-py2.7.msi
Thanks to the supporters of Twisted via the Software Freedom Conservancy and to the many contributors for this release.

Thursday, December 20, 2012

Second pre-release of Twisted 12.3.0

As it turns out, making a 4th release in 2012 wasn't going to be easy! Thanks to the testing of David Reid, we found and fixed an issue with pip which was making installation difficult when zope.interface was missing. And we got another fix with the help of Eric Mangold, fixing the compilation on OpenBSD.

The tarballs of the second pre-release can be found here: http://twistedmatrix.com/~therve/12.3.0pre2/

Thank you for testing it again!

Friday, December 14, 2012

Seeking a Motivated Maintainer for Twisted

The Twisted project, via the Software Freedom Conservancy, is seeking to recruit a full-time paid maintainer. We've got a fellowship proposal published on the wiki, but here are some highlights:
  • You will be working on an open source project and your contributions will be consumed by companies such as Google, Canonical, Lucasfilm/Disney, Rackspace, and Justin.TV to name a few.
  • We want to hire a full-time maintainer who will assist with the continued growth of the Twisted project.
  • Thanks to the meticulous work of your predecessors, we have a clear view of what your average week would look like in terms of tasks and responsibilities (more below).
Desired qualifications in a maintainer:
  • The ability to review code for suitability, stability, and clarity; to point out meritable work, and provide actionable feedback on how to improve the code when necessary. 
  • The ability to implement features in the Twisted library. 
  • A positive presence in Twisted's online community on IRC and the mailing list. 
  • Have familiarity with the infrastructure of the Twisted project (including trac and buildbot). 
  • Work to provide education or outreach on Twisted in other forums such as workshops, conferences, and user groups. 
We will strongly consider someone with experience maintaining other open source projects, but with just a little Twisted experience, as long as such an applicant is passionate about and committed to becoming a Twisted expert.

During an average work week, the maintainer will distribute their work along these lines:
  • Code review (55%) Review code, apply patches, and set and enforce standards for code quality. Improve documentation and code test coverage. 
  • Mailing list and IRC participation (10%) Encourage and participate in discussions on Twisted's mailing lists and IRC channels. 
  • Bug report triage (5%) Supervise Twisted's ticket workflow to ensure that bug tickets are addressed and closed. 
  • New feature development (30%) Serve as architect for the development and implementation of new features. 
Furthermore, the Maintainer will provide a forthnightly written report of their progress to the Conservancy and the Twisted community.

Information on whom to contact in the event of your interest is provided at the bottom of the page.

We look forward to hearing from you!


First pre-release of Twisted 12.3.0

Yes, you're reading well. For the first time ever (since 2008), we're actually pushing not 2, not 3, but 4 releases in a calendar year! Just to be able to use the fancy 12.3 version number.

But, apart from this nice label, this release also closes 158 tickets, among them:

  • Support for local parallel testing in trial.
  • A new "react" function to easily run a single asynchronous function in a script with the reactor.
  • Partial support for Python 3.3.

Note that only Python 2.7 is supported on Windows now. We also require zope.interface 3.6.0 or newer.

You can find the tarballs of the pre-release here: http://twistedmatrix.com/~therve/12.3.0pre1/

For more information, see the NEWS file.

Please download the tarballs and test them!

Sunday, September 2, 2012

Quick Fix: Upgrading Zope Interface so you can work on Twisted trunk post-12.2 release

Immediately after the recent 12.2 release, Twisted has upgraded its required version of Zope Interface.  Some platforms ship with a system-installed version of Zope Interface that is slightly too old for this change.  You may have noticed an unhelpful error message if you happened to svn up before learning about this change.

Upgrading system-installed Python packages without doing harm can be a challenge, so in this post we'll provide simple instructions for users who:
  • have a system-installed version of Zope Interface
  • are on a Unix-y platform, like Linux, BSD, or OS X (if you're on Windows, just upgrade to the latest on your system installation)
  • are not using a tool like virtualenv or Combinator to manage Zope Interface (if you are, you should already know what to do!)
  • don't want to upgrade anything system-wide, so as to avoid disturbing other users or software on their system
  • have easy_install already available in their environment.  (While Pip is generally better, it is pre-installed less often, and Pip doesn't seem to deal as well as easy_install with the case of parallel installation of user and system installed dependencies; it assumes you are using virtualenv for that. Update: as of the most recent release,  pip deals just fine with parallel user/system installation; so, if you've got pip installed, "pip install zope.interface==4.0.2" – possibly with a --user option if that's appropriate to your environment – will work just fine.  Thanks, Pip maintainers!)
This set of attributes describes many Linux and OS X developers who are likely to encounter this version skew issue, so off we go.

Since easy_install can't be coerced to do the right thing by command-line options, you'll need to give it a configuration file that it can read.  The easiest way to do this is to create a temporary directory, cd into it, and create a file called setup.cfg.  For Linux and BSD, setup.cfg looks like this:
[install]
prefix=~/.local
For OS X, the file looks like this:
[install]
prefix=~/.local
install_lib=~/Library/Python/$py_version_short/lib/python/site-packages
Once you've created that file, just  easy_install --upgrade zope.interface from that directory and you should be ready to start developing with Twisted again!  All the older versions of Twisted that I've tried still work with the newest Zope Interface so this shouldn't disturb your ability to test your code against older versions of Twisted as well, if you're managing it with something like Combinator or virtualenv.


Twisted 12.2.0 Released

On behalf of Twisted Matrix Laboratories, I am honored to announce the release of Twisted 12.2.

Highlights for this release include:

To be able to work on Python3 support, Python 2.5 is no longer supported.
  • twisted.mail.imap4 now serves BODYSTRUCTURE responses which provide more information and conform to the IMAP4 RFC more closely.
  • twisted.conch now supports commercial SSH implementations which don't comply with the IETF standard.
  • twisted.internet.endpoints now provides several new endpoints, including aTCP client endpoint that resolves hostnames to IPv6 host addresses.
  • IReactorSocket.adoptStreamConnection, implemented by some reactors, allows adding an existing established connection to the reactor.
Starting with the release after 12.2, Twisted will begin requiring Zope Interface version 3.6 or greater (as part of Python 3 support).

This is the last Twisted release supporting Python 2.6 on Windows.

For more information, see the NEWS file here:

Friday, July 20, 2012

July sprints report


Twisted had its first cross-coast sprint last Saturday! Ying Li and Rackspace organized a Twisted tutorial by project founder Glyph in San Francisco on Friday, which was followed on Saturday by sprints in San Francisco and Boston.
The Boston sprint was made possible by a grant from the Python Software Foundation Sprints Committee. A big thank you to the PSF for their support.

Sprint report for Boston

JP Calderone

Cynthia Andre

Allister MacLeod

David Sturgis

Itamar Turner-Trauring

David Wang

  • Worked on a Twisted web server for an HTML5/JavaScript application

Jessica McKellar

Sprint report for San Francisco

Alex Gaynor

David Reid

Corbin Simpson

Glyph

Ralph Meijer

  • Worked on #3456: srvconnector fails for xmpp-client service on OS X
  • Discussed the intersection of Twisted Cred and Twisted Words with Glyph, laying out some architectural principles for development of things like a generalized SASL layer and proper use of the 'mind' parameter within the XMPP server within Twisted.

Andrew Bennetts

Ying Li

Remote sprinters

We had a number of remote sprinters from around the world, including: