[Python-modules-team] Bug#973022: python-blosc's autopkg tests are failing with python3.9

Matthias Klose doko at debian.org
Tue Oct 27 12:17:19 GMT 2020


Package: src:python-blosc
Version: 1.8.1+ds1-2
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9

======================================================================
FAIL: compress (blosc.toplevel)
Doctest: blosc.toplevel.compress
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 2204, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for blosc.toplevel.compress
  File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 396, in compress

----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 440, in
blosc.toplevel.compress
Failed example:
    a_bytesobj = a.tostring()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.9/doctest.py", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest blosc.toplevel.compress[2]>", line 1, in <module>
        a_bytesobj = a.tostring()
    AttributeError: 'array.array' object has no attribute 'tostring'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 441, in
blosc.toplevel.compress
Failed example:
    c_bytesobj = blosc.compress(a_bytesobj, typesize=4)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.9/doctest.py", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest blosc.toplevel.compress[3]>", line 1, in <module>
        c_bytesobj = blosc.compress(a_bytesobj, typesize=4)
    NameError: name 'a_bytesobj' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 442, in
blosc.toplevel.compress
Failed example:
    len(c_bytesobj) < len(a_bytesobj)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.9/doctest.py", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest blosc.toplevel.compress[4]>", line 1, in <module>
        len(c_bytesobj) < len(a_bytesobj)
    NameError: name 'c_bytesobj' is not defined


======================================================================
FAIL: decompress (blosc.toplevel)
Doctest: blosc.toplevel.decompress
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 2204, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for blosc.toplevel.decompress
  File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 549, in decompress

----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 579, in
blosc.toplevel.decompress
Failed example:
    a_bytesobj = a.tostring()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.9/doctest.py", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest blosc.toplevel.decompress[2]>", line 1, in <module>
        a_bytesobj = a.tostring()
    AttributeError: 'array.array' object has no attribute 'tostring'
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 580, in
blosc.toplevel.decompress
Failed example:
    c_bytesobj = blosc.compress(a_bytesobj, typesize=4)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.9/doctest.py", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest blosc.toplevel.decompress[3]>", line 1, in <module>
        c_bytesobj = blosc.compress(a_bytesobj, typesize=4)
    NameError: name 'a_bytesobj' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 581, in
blosc.toplevel.decompress
Failed example:
    a_bytesobj2 = blosc.decompress(c_bytesobj)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.9/doctest.py", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest blosc.toplevel.decompress[4]>", line 1, in <module>
        a_bytesobj2 = blosc.decompress(c_bytesobj)
    NameError: name 'c_bytesobj' is not defined
----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 582, in
blosc.toplevel.decompress
Failed example:
    a_bytesobj == a_bytesobj2
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.9/doctest.py", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest blosc.toplevel.decompress[5]>", line 1, in <module>
        a_bytesobj == a_bytesobj2
    NameError: name 'a_bytesobj' is not defined


----------------------------------------------------------------------
Ran 37 tests in 4.209s

FAILED (failures=2)



More information about the Python-modules-team mailing list