[Python-Dev] [New-bugs-announce] [issue7064] Python 2.6.3 / setuptools 0.6c9: extension module builds fail with KeyError

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Fri Oct 9 14:52:05 CEST 2009

On 5 Oct, 01:04 pm, ziade.tarek at gmail.com wrote:
>On Mon, Oct 5, 2009 at 2:50 PM,  <skip at pobox.com> wrote:
>>   Ned> Due to a change in distutils released with Python 2.6.3, 
>>   Ned> that use setuptools (version 0.6c9, as of this writing), or 
>>   Ned> easy_install command, to build C extension modules fail ...
>>   ...
>>   Ned> Among the packages known to be affected include lxml,
>>   Ned> zope-interface, jinja2, and, hence, packages dependent on 
>>   Ned> packages (e.g. sphinx, twisted, etc.).
>>Maybe the Python test suite should include tests with a small number 
>>widely used non-core packages like setuptools.  I realize the pybots 
>>exists to tackle this sort of stuff in greater detail.  I'm thinking 
>>more of
>>a smoke test than a comprehensive test suite covering all external 
>>Setuptools is particularly important because so many extension authors 
>>it.  If it breaks it implicitly breaks a lot of PyPI packages.
>I have created 6 months ago such a buildbot that downloads tarballs
>from the community,
>and run a few distutils commands on them, and make sure the result is
>similar in 2.6/2.7.
>and for "sdist" that the resulting tarball is similar.
>It was running over Twisted and Numpy, but has been discontinued 
>it was on my own server, where it was hard to keep it up 
>If the Snakebite project could host my buildbot (or at least slaves)
>or if the PSF could pay for a dedicated
>server for this, we would be able to trigger such warnings, and
>provide an e-mail service to package maintainers for example.
>The build could occur everytime Distutils *or* the project changes.

If you want, until Snakebite is up, I can probably provide a slave which 
can at least do this testing for Twisted and perhaps some other 


More information about the Python-Dev mailing list