Public bug reported:
python-zipstream 1.1.0-2 currently fails to build from source with the
following errors:
test_write_unicode (tests.test_pointerio.PointerIOTestCase) ... ok
test_init_mode (tests.test_zipstream.ZipStreamTestCase) ... FAIL
test_init_no_args (tests.test_zipstream.ZipStreamTestCase) ... ERROR
test_write_file (tests.test_zipstream.ZipStreamTestCase) ... ERROR
test_write_iterable (tests.test_zipstream.ZipStreamTestCase) ... ERROR
test_write_iterable_no_archive (tests.test_zipstream.ZipStreamTestCase) ...
ERROR
======================================================================
ERROR: test_init_no_args (tests.test_zipstream.ZipStreamTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/tests/test_zipstream.py", line 28, in test_init_no_args
zipstream.ZipFile()
File "/«PKGBUILDDIR»/zipstream/__init__.py", line 167, in __init__
zipfile.ZipFile.__init__(self, fileobj, mode=mode, compression=compression,
allowZip64=allowZip64)
File "/usr/lib/python3.5/zipfile.py", line 1037, in __init__
self.fp.seek(self.start_dir)
TypeError: seek() missing 1 required positional argument: 'whence'
======================================================================
ERROR: test_write_file (tests.test_zipstream.ZipStreamTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/tests/test_zipstream.py", line 43, in test_write_file
z = zipstream.ZipFile(mode='w')
File "/«PKGBUILDDIR»/zipstream/__init__.py", line 167, in __init__
zipfile.ZipFile.__init__(self, fileobj, mode=mode, compression=compression,
allowZip64=allowZip64)
File "/usr/lib/python3.5/zipfile.py", line 1037, in __init__
self.fp.seek(self.start_dir)
TypeError: seek() missing 1 required positional argument: 'whence'
======================================================================
ERROR: test_write_iterable (tests.test_zipstream.ZipStreamTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/tests/test_zipstream.py", line 58, in test_write_iterable
z = zipstream.ZipFile(mode='w')
File "/«PKGBUILDDIR»/zipstream/__init__.py", line 167, in __init__
zipfile.ZipFile.__init__(self, fileobj, mode=mode, compression=compression,
allowZip64=allowZip64)
File "/usr/lib/python3.5/zipfile.py", line 1037, in __init__
self.fp.seek(self.start_dir)
TypeError: seek() missing 1 required positional argument: 'whence'
======================================================================
ERROR: test_write_iterable_no_archive (tests.test_zipstream.ZipStreamTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/tests/test_zipstream.py", line 78, in
test_write_iterable_no_archive
z = zipstream.ZipFile(mode='w')
File "/«PKGBUILDDIR»/zipstream/__init__.py", line 167, in __init__
zipfile.ZipFile.__init__(self, fileobj, mode=mode, compression=compression,
allowZip64=allowZip64)
File "/usr/lib/python3.5/zipfile.py", line 1037, in __init__
self.fp.seek(self.start_dir)
TypeError: seek() missing 1 required positional argument: 'whence'
======================================================================
FAIL: test_init_mode (tests.test_zipstream.ZipStreamTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/tests/test_zipstream.py", line 32, in test_init_mode
zipstream.ZipFile(mode='w')
TypeError: seek() missing 1 required positional argument: 'whence'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/«PKGBUILDDIR»/tests/test_zipstream.py", line 34, in test_init_mode
self.fail(err)
AssertionError: seek() missing 1 required positional argument: 'whence'
----------------------------------------------------------------------
Ran 11 tests in 0.026s
FAILED (failures=1, errors=4)
E: pybuild pybuild:256: test: plugin distutils failed with: exit code=1:
python3.5 setup.py test
(see https://launchpadlibrarian.net/211978288/buildlog_ubuntu-wily-amd64
.python-zipstream_1.1.0-2_BUILDING.txt.gz for complete log)
I get the same errors when I attempt to build the package on Ubuntu
Wily, but I was not able to reproduce the issue on Debian unstable.
Might be related to the on-going python3.5 issues.
** Affects: python-zipstream (Ubuntu)
Importance: Undecided
Status: New
** Tags: ftbfs wily
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1480548
Title:
FTBFS: AssertionError: seek() missing 1 required positional argument:
'whence'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-zipstream/+bug/1480548/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs