Package: src:python-hiredis
Version: 1.0.1-2
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:310: python3.12 setup.py clean
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 7, in <module>
    import sys, imp, os, glob, io
ModuleNotFoundError: No module named 'imp'
E: pybuild pybuild:395: clean: plugin distutils failed with: exit code=1: python3.12 setup.py clean


and then later fails with:

[...]
======================================================================
ERROR: test_status_string (test.reader.ReaderTest.test_status_string)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/12/python-hiredis-1.0.1/test/reader.py", line 123, in test_status_string
    self.assertEquals(b"ok", self.reply())
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ReaderTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_subclassable (test.reader.ReaderTest.test_subclassable)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/12/python-hiredis-1.0.1/test/reader.py", line 219, in test_subclassable
    self.assertEquals(b"ok", reader.gets())
    ^^^^^^^^^^^^^^^^^
AttributeError: 'ReaderTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

----------------------------------------------------------------------
Ran 44 tests in 0.025s

FAILED (errors=30)
E: pybuild pybuild:395: test: plugin custom failed with: exit code=1: BUILDDIR=/home/packages/12/python-hiredis-1.0.1/.pybuild/cpython3_3.12_hiredis/build python3.12 /home/packages/12/python-hiredis-1.0.1/test.py

Reply via email to