For things like this we should steal the requests approach, which is to [have a file called `compat` that pastes over the differences](https://github.com/kennethreitz/requests/blob/master/requests/compat.py). That way we can avoid having this horrible conditional import logic at the top of all our files.