• Bug#1061763: ufw ftbfs with Python 3.12 as default

    From Matthias Klose@21:1/5 to All on Mon Jan 29 14:00:01 2024
    Package: src:ufw
    Version: 0.36.2-1
    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_write_to_file (tests.unit.test_util.UtilTestCase.test_write_to_file)
    Test write_to_file() ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/unit/test_util.py", line 607, in test_write_to_file
    self.assertEquals(out, search)
    ^^^^^^^^^^^^^^^^^
    AttributeError: 'UtilTestCase' object has no attribute 'assertEquals'.
    Did you mean: 'assertEqual'?

    ----------------------------------------------------------------------
    Ran 49 tests in 0.211s

    FAILED (errors=24)

    ------------------
    Unit tests summary
    ------------------
    Total=8 (Passed=2, Failed=6)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Jan 31 17:00:02 2024
    This is a multi-part message in MIME format...

    Your message dated Wed, 31 Jan 2024 15:47:52 +0000
    with message-id <E1rVCoa-00GUwO-Nt@fasolo.debian.org>
    and subject line Bug#1061763: fixed in ufw 0.36.2-2
    has caused the Debian Bug report #1061763,
    regarding ufw 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.)


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

    Received: (at submit) by bugs.debian.org; 29 Jan 2024 12:48:22 +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, 23; hammy, 145; neutral, 32; spammy,
    0. spammytokens: 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]:54753 helo=einhorn-mail-out.in-berlin.de)
    by buxtehude.debian.org wi
  • From Debian Bug Tracking System@21:1/5 to All on Thu Feb 1 07:50:02 2024
    Processing control commands:

    reopen -1
    Bug #1061763 {Done: Jamie Strandboge <jdstrand@ubuntu.com>} [src:ufw] ufw ftbfs with Python 3.12 as default
    'reopen' may be inappropriate when a bug has been closed with a version;
    all fixed versions will be cleared, and you may need to re-add them.
    Bug reopened
    No longer marked as fixed in versions ufw/0.36.2-2.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Klose@21:1/5 to All on Thu Feb 1 07:50:02 2024
    Control: reopen -1

    still fails to build with Python 3.12:

    Performing tests 'good/reports'
    - installing
    - result:
    FAIL:
    4a5,8
    /<<PKGBUILDDIR>>/tests/testarea/lib/python/ufw/util.py:483:
    SyntaxWarning: invalid escape sequence '\.'
    quads = re.split('\.', nm) /<<PKGBUILDDIR>>/tests/testarea/lib/python/ufw/util.py:745:
    SyntaxWarning: invalid escape sequence '\s'
    tmp = re.split('\s', out)

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

    Your message dated Fri, 2 Feb 2024 08:33:12 -0600
    with message-id <Zbz9KHVcuYXyxNhd@iolanthe>
    and subject line Re: Processed: still fails to build with Python 3.12
    has caused the Debian Bug report #1061763,
    regarding ufw 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.)


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

    Received: (at submit) by bugs.debian.org; 29 Jan 2024 12:48:22 +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, 23; hammy, 145; neutral, 32; spammy,
    0. spammytokens: 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]:54753 helo=einhorn-mail-out.in-berlin.de)
    by buxtehude.debian.org wi