• Bug#1061747: liac-arff ftbfs with Python 3.12 as default

    From Matthias Klose@21:1/5 to All on Mon Jan 29 12:50:01 2024
    Package: src:liac-arff
    Version: 2.5.0-4
    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_encode_too_many_attributes_coo (tests.test_data.TestCOOData.test_encode_too_many_attributes_coo) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_data.py", line 206, in test_encode_too_many_attributes_coo
    with self.assertRaisesRegexp(arff.BadObject,
    ^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'TestCOOData' object has no attribute
    'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

    ======================================================================
    ERROR: test_encode_too_many_attributes_dense (tests.test_data.TestData.test_encode_too_many_attributes_dense) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_data.py", line 99, in test_encode_too_many_attributes_dense
    with self.assertRaisesRegexp(arff.BadObject,
    ^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'TestData' object has no attribute 'assertRaisesRegexp'.
    Did you mean: 'assertRaisesRegex'?

    ======================================================================
    ERROR: test_encode_too_many_attributes_lod (tests.test_data.TestLODData.test_encode_too_many_attributes_lod) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_data.py", line 300, in test_encode_too_many_attributes_lod
    with self.assertRaisesRegexp(arff.BadObject,
    ^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'TestLODData' object has no attribute
    'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

    ======================================================================
    ERROR: test_encode_duplicate_attribute_name (tests.test_encode.TestEncodeComment.test_encode_duplicate_attribute_name) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_encode.py", line 169, in test_encode_duplicate_attribute_name
    with self.assertRaisesRegexp(arff.BadObject,
    ^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'TestEncodeComment' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

    ======================================================================
    ERROR: test_decode
    (tests.test_decode.TestDuplicateAttributeName.test_decode) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_decode.py", line 359, in test_decode
    with self.assertRaisesRegexp(arff.BadAttributeName,
    ^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'TestDuplicateAttributeName' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

    ======================================================================
    ERROR: test_dense (tests.test_decode.TestInvalidValues.test_dense) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_decode.py", line 382, in test_dense
    with self.assertRaisesRegexp(arff.ArffException,
    ^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'TestInvalidValues' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

    ======================================================================
    ERROR: test_sparse (tests.test_decode.TestInvalidValues.test_sparse) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_decode.py", line 399, in test_sparse
    with self.assertRaisesRegexp(arff.ArffException,
    ^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'TestInvalidValues' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

    ======================================================================
    ERROR: test_coo (tests.test_decode.TestTooManyAttributes.test_coo) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_decode.py", line 333, in test_coo
    with self.assertRaisesRegexp(arff.BadDataFormat,
    ^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'TestTooManyAttributes' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

    ======================================================================
    ERROR: test_dense (tests.test_decode.TestTooManyAttributes.test_dense) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_decode.py", line 326, in test_dense
    with self.assertRaisesRegexp(arff.BadDataFormat,
    ^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'TestTooManyAttributes' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

    ======================================================================
    ERROR: test_lod (tests.test_decode.TestTooManyAttributes.test_lod) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_decode.py", line 340, in test_lod
    with self.assertRaisesRegexp(arff.BadDataFormat,
    ^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: 'TestTooManyAttributes' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

    ----------------------------------------------------------------------
    Ran 141 tests in 0.040s

    FAILED (errors=10)
    Test failed: <unittest.runner.TextTestResult run=141 errors=10 failures=0> error: Test failed: <unittest.runner.TextTestResult run=141 errors=10 failures=0>

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

    Your message dated Sat, 03 Feb 2024 23:19:17 +0000
    with message-id <E1rWPI5-001Zop-QQ@fasolo.debian.org>
    and subject line Bug#1061747: fixed in liac-arff 2.5.0-5
    has caused the Debian Bug report #1061747,
    regarding liac-arff 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.)


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

    Received: (at submit) by bugs.debian.org; 29 Jan 2024 11:43:20 +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, 16; hammy, 150; neutral, 115; 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]:34479 helo=einhorn-mail-out.in-berlin.de)
    by buxtehude.debian.org w