Source: python-cassandra-driver
Version: 3.25.0-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=python-cassandra-driver&ver=3.25.0-1%2Bb2

...
======================================================================
ERROR: Failure: AttributeError (module 'asyncio' has no attribute 'coroutine')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in 
loadTestsFromName
    module = self.importer.importFromPath(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in 
importFromPath
    return self.importFromDir(dir_path, fqname)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in 
importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/imp.py", line 235, in load_module
    return load_source(name, filename, file)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/imp.py", line 172, in load_source
    module = _load(spec)
             ^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 721, in _load
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cassandra/build/tests/unit/io/test_asyncioreactor.py",
 line 3, in <module>
    from cassandra.io.asyncioreactor import AsyncioConnection
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cassandra/build/cassandra/io/asyncioreactor.py",
 line 29, in <module>
    class AsyncioTimer(object):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cassandra/build/cassandra/io/asyncioreactor.py",
 line 49, in AsyncioTimer
    @asyncio.coroutine
     ^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'

======================================================================
FAIL: test_immutable_predicate 
(tests.unit.test_policies.HostFilterPolicyInitTest.test_immutable_predicate)
----------------------------------------------------------------------
AttributeError: property 'predicate' of 'HostFilterPolicy' object has no setter

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cassandra/build/tests/unit/test_policies.py",
 line 1304, in test_immutable_predicate
    with self.assertRaisesRegexp(AttributeError, expected_message_regex):
AssertionError: "can't set attribute" does not match "property 'predicate' of 
'HostFilterPolicy' object has no setter"

----------------------------------------------------------------------
Ran 611 tests in 20.442s

FAILED (SKIP=28, errors=1, failures=1)
E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cassandra/build; python3.11 -m nose -v 
tests

Reply via email to