[issue11501] distutils.archive_util should handle absence of zlib module

Natalia B. Bidart report at bugs.python.org
Mon Mar 14 21:46:06 CET 2011


Natalia B. Bidart <nataliabidart at gmail.com> added the comment:

Attaching patch that performs the following:

* skip all the distutils tests that need zlib in order to run properly.
* add a new test (test_make_zipfile_no_zlib) to ensure that make_zipfile uses the compression option from zipfile module that works without zlib.
* add a helper method to patch objects.

The fix itself was discussed with Tarek, and the patch helper implementation was discussed with Michael Foord.

----------
components: +Distutils -Distutils2
keywords: +patch
Added file: http://bugs.python.org/file21137/pycon-issue11501.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11501>
_______________________________________


More information about the Python-bugs-list mailing list