[Twisted-Python] [RFC] Introducing six as a dependency

Jonathan Lange jml at mumak.net
Thu Jul 26 12:02:52 EDT 2012

On Thu, Jul 26, 2012 at 4:55 PM, Vladimir Perić <vlada.peric at gmail.com> wrote:
> Hello all,


> Now, one approach is to add six as a dependency of Twisted - it is a
> very small library so hardly a problem; on the other hand, it is an
> additional dependency.
> What do you all think? In the end, it boils down to "additional
> dependency" vs. "less code to maintain".

Not strictly what I think, but here's the relevant bits from what
Glyph said last time I asked about adding a dependency, testtools, to

Users still routinely struggle with the one dependency we allowed
Twisted core to have - zope.interface. I do still think that's worth
it, since it freed us from a significant and complex maintenance
burden.  And I do sometimes wish that we could make it an optional or
bundled dependency, to give users who have to download Twisted
themselves a gentler on-ramp. [...]

[...] I would set the bar very high for making testtools a required
dependency for Twisted's own test suite.  Just for starters, the
Python packaging ecosystem disaster would need to be fixed; also, the
name of the package should be changed to be more unique so that users
wouldn't find things like <http://www.testtools.com/> and
<https://github.com/ferruhy/testtools> when searching around the web
for the contents of the inevitable packaging error message.


More information about the Twisted-Python mailing list