Package: src:python-django-tagging
Version: 1:0.5.0-5
Severity: serious
Tags: sid trixie ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.12

With python3-defaults from experimental, the package fails to build:

[...]
======================================================================
ERROR: test_tag_get_from_model (tagging.tests.tests.TestTagFieldInForms.test_tag_get_from_model)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1142, in test_tag_get_from_model
    self.assertEquals(FormTest.tags, 'test1 test2 test3 titi toto')
    ^^^^^^^^^^^^^^^^^
AttributeError: 'TestTagFieldInForms' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_view_404 (tagging.tests.tests.TestTaggedObjectList.test_view_404)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1227, in test_view_404
    self.get_view('/unavailable/', code=404)
  File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1197, in get_view
    self.assertEquals(response.status_code, code)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'TestTaggedObjectList' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_view_dynamic (tagging.tests.tests.TestTaggedObjectList.test_view_dynamic)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1212, in test_view_dynamic
    self.get_view('/tag/', expected_items=1)
  File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1197, in get_view
    self.assertEquals(response.status_code, code)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'TestTaggedObjectList' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_view_related (tagging.tests.tests.TestTaggedObjectList.test_view_related)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1215, in test_view_related
    response = self.get_view('/static/related/',
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1197, in get_view
    self.assertEquals(response.status_code, code)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'TestTaggedObjectList' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

======================================================================
ERROR: test_view_static (tagging.tests.tests.TestTaggedObjectList.test_view_static)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1209, in test_view_static
    self.get_view('/static/', expected_items=2)
  File "/<<PKGBUILDDIR>>/tagging/tests/tests.py", line 1197, in get_view
    self.assertEquals(response.status_code, code)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'TestTaggedObjectList' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?

----------------------------------------------------------------------
Ran 75 tests in 0.534s

FAILED (errors=5)

  • Bug#1061752: python-django-tagging ftbfs with Python 3.12 ... Matthias Klose

Reply via email to