[New-bugs-announce] [issue31998] test_zipapp failed when the zlib module is not available

Serhiy Storchaka report at bugs.python.org
Fri Nov 10 04:25:53 EST 2017


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

http://buildbot.python.org/all/#/builders/14/builds/160/steps/4/logs/stdio
======================================================================
ERROR: test_create_archive_with_compression (test.test_zipapp.ZipAppTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_zipapp.py", line 111, in test_create_archive_with_compression
    zipapp.create_archive(source, target, compressed=True)
  File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/zipapp.py", line 138, in create_archive
    with zipfile.ZipFile(fd, 'w', compression=compression) as z:
  File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/zipfile.py", line 1061, in __init__
    _check_compression(compression)
  File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/zipfile.py", line 644, in _check_compression
    "Compression requires the (missing) zlib module")
RuntimeError: Compression requires the (missing) zlib module
----------------------------------------------------------------------

----------
assignee: serhiy.storchaka
components: Tests
messages: 306009
nosy: paul.moore, serhiy.storchaka
priority: normal
severity: normal
stage: needs patch
status: open
title: test_zipapp failed when the zlib module is not available
type: behavior
versions: Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31998>
_______________________________________


More information about the New-bugs-announce mailing list