• Bug#1061752: python-django-tagging ftbfs with Python 3.12 as default

    From Matthias Klose@21:1/5 to All on Mon Jan 29 13:10:01 2024
    Package: src:python-django-tagging
    Version: 1:0.5.0-5
    Severity: serious
    Tags: sid trixie ftbfs
    User: debian-python@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)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alexandre Rossi@21:1/5 to All on Wed Feb 7 14:30:01 2024
    Hi,

    I opened a MR to fix the issue. I can also prepare an upload if wanted.

    https://salsa.debian.org/python-team/packages/python-django-tagging/-/merge_requests/3

    Thanks,

    Alex

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Fri Mar 15 13:00:01 2024
    Processing control commands:

    tag -1 pending
    Bug #1061752 [src:python-django-tagging] python-django-tagging ftbfs with Python 3.12 as default
    Added tag(s) pending.

    --
    1061752: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061752
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christoph Martin@21:1/5 to All on Fri Mar 15 13:00:02 2024
    Control: tag -1 pending

    Hello,

    Bug #1061752 in python-django-tagging reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/python-team/packages/python-django-tagging/-/commit/990c5567b375457197212f4c6e2c34a317102237

    ------------------------------------------------------------------------
    Fix FTBFS with python3.12 (Closes: #1061752) ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1061752

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Fri Mar 15 13:30:02 2024
    This is a multi-part message in MIME format...

    Your message dated Fri, 15 Mar 2024 12:22:34 +0000
    with message-id <E1rl6a2-00GjVT-R2@fasolo.debian.org>
    and subject line Bug#1061752: fixed in python-django-tagging 1:0.5.0-5.1
    has caused the Debian Bug report #1061752,
    regarding python-django-tagging ftbfs with Python 3.12 as default
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1061752: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061752
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 29 Jan 2024 12:01:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-12.8 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,FORGED_SPF_HELO,FROMDEVELOPER,HAS_PACKAGE,
    RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,
    SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 22; hammy, 149; neutral, 71; spammy,
    1. spammytokens:0.987-1--H*r:36481 hammytokens:0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*doko, 0.000-+--trixie,
    0.000-+--H*RU:sk:einhorn
    Return-path: <doko@debian.org>
    Received: from einhorn.in-berlin.de ([192.109.42.8]:36481 helo=einhorn-mail-out.in-berlin.de)
    by buxte