Package: src:binaryornot
Version: 0.4.4+dfsg-3
Severity: serious
Tags: sid bullseye

binaryornot ftbfs in unstable:

[...]
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:217: python3.8 setup.py test
running test
WARNING: Testing via this command is deprecated and will be removed in a future
version. Users looking for a generic test entry point independent of test runner
are encouraged to use tox.
running egg_info
writing binaryornot.egg-info/PKG-INFO
writing dependency_links to binaryornot.egg-info/dependency_links.txt
writing requirements to binaryornot.egg-info/requires.txt
writing top-level names to binaryornot.egg-info/top_level.txt
reading manifest file 'binaryornot.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found under
directory '*'
warning: no previously-included files matching '*.py[co]' found under directory 
'*'
writing manifest file 'binaryornot.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 24, in <module>
    setup(
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in 
setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 237, 
in run
    self.run_tests()
  File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 255, in
run_tests
    test = unittest.main(
  File "/usr/lib/python3.8/unittest/main.py", line 100, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python3.8/unittest/main.py", line 147, in parseArgs
    self.createTests()
  File "/usr/lib/python3.8/unittest/main.py", line 158, in createTests
    self.test = self.testLoader.loadTestsFromNames(self.testNames,
  File "/usr/lib/python3.8/unittest/loader.py", line 220, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.8/unittest/loader.py", line 220, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.8/unittest/loader.py", line 191, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 55, in
loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib/python3.8/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/<<BUILDDIR>>/binaryornot-0.4.4+dfsg/tests/test_check.py", line 212, in
<module>
    class TestDetectionProperties(unittest.TestCase):
  File "/<<BUILDDIR>>/binaryornot-0.4.4+dfsg/tests/test_check.py", line 213, in
TestDetectionProperties
    @given(binary(average_size=128))
TypeError: binary() got an unexpected keyword argument 'average_size'
E: pybuild pybuild:342: test: plugin distutils failed with: exit code=1:
python3.8 setup.py test
dh_auto_test: pybuild --test -i python{version} -p "3.8 3.7" returned exit code 
13
make: *** [debian/rules:7: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Reply via email to