[Buildbot-devel] Switching from rfc822 to email?

Brian Warner warner-buildbot at lothar.com
Sun Oct 2 23:47:57 UTC 2005

> Are there any plans to switch buildbot to email (which would be,
> effectively, the end of python 2.1 support)?

I think we're there already.. the README says we require python-2.2 or later.
(the Waterfall display uses generators all over the place, and they aren't
available in python2.1). The comment in parseFreshCVSMail about using
rfc822.Message for the sake of python2.1 compatibility is out of date.

buildbot.status.mail can only attach build logs in outbound email with python
2.2.2 or later, since the 'email' module in 2.2.0 and 2.2.1 is missing
email.MIMEMultipart .

So if you'd like to write or rewrite some parsers in terms of 'email' instead
of 'rfc822', go for it. I'd prefer that it work against 2.2.0 so we don't
have to complicate the README with too many minor-version requirements, but
even that's not a hard requirement.


More information about the devel mailing list