testtools 0.9.14 released

testtools‘s sister project, subunit, was using a private API that we deleted in the 0.9.13 release.  This release restores that API in order to smooth out the upgrade path.

If you don’t use subunit, then this release won’t matter very much to you.

more ...


Simple made easy

Rich Hickey did a great talk at Strange Loop called “Simple Made Easy“. You should watch it.

When I tried to explain the talk to someone, I stumbled a lot and it was obvious to me that I didn’t really understand it. So I’m going through it again …

more ...

Undistract me

Here’s a thing that happens a lot to me: I’m doing some work, and as part of that work I need to run a command in my terminal that takes a little while. I run the command, look at it for about a second and then switch to …

more ...

What are my projects?

Launchpad doesn’t really have any good mechanism for letting you review a list of “your” projects.

That’s partly because there are a lot of different ways that it could do it. You could be the maintainer of a project, or its driver, or its bug supervisor, or you …

more ...

pyflakes update

Thanks to radix, exarkun & dash, my branch to pyflakes to warn about duplicate definitions of classes finally landed. I did the work a year ago as an outrage-powered, opportunistic fix after I saw a co-worker struggle with tests weirdly not failing (Turned out it was a huge test module and …

more ...




doctest really isn’t very good

I just got sick of trying to decode obtuse doctest diff errors when using NORMALIZE_WHITESPACE and ELLIPSIS options. Although doctest gives you hooks to do something about this, it’s really hard to actually write the logic.


See, NORMALIZE_WHITESPACE also normalizes line breaks, and ‘…’ can match across multiple lines. That …

more ...


How dependency guessing works

Although in my last post I talked about our proof of concept tool, I didn’t actually explain how to use it. That’s mostly because it’s not quite ready to be used by others. There’s a good reason.

The most interesting thing that pkgme-binary does is to …

more ...

Automagic packaging of binary apps for Ubuntu

For the last few weeks I’ve been working on a tool to automagically package binary applications for Ubuntu. The idea is that anyone who wants to distribute a binary app on Ubuntu should be able to do so without having to learn how to package it.

I’ve used …

more ...

launchpadlib helper

I often need to muck around in a Python interpreter to figure out what I need to do with Launchpad’s API. As it is, I write out the same commands over and over.

Since repetition is a stupid boring job that we should force machines to do while they …

more ...

Command line apps

Back in the day, I used to want to use twisted.python.usage for all of my command-line apps. It’s a fairly nice API & a good way of writing code.

Since I started writing Bazaar plugins though, I’ve fallen in love with Bazaar’s command interface. [Jamu](https …
more ...

Ubuntu on my iMac

Long time readers will know of my attempts to get Ubuntu running on my iMac. Now that I’m working within the Ubuntu Engineering team at Canonical, I figured it would be a good time to try again.

Installing natively fails on 11.04 in the same way that it …

more ...