• Bug#1059669: python-sure: autopkgtest failure with Python 3.12

    From Graham Inggs@21:1/5 to All on Fri Dec 29 22:30:02 2023
    Source: python-sure
    Version: 2.0.0-3
    Severity: serious
    User: debian-python@lists.debian.org
    Usertags: python3.12

    Hi Maintainer

    python-sure's autopkgtests fail with Python 3.12 [1]. I've copied
    what I hope is the relevant part of the log below.

    Regards
    Graham


    [1] https://ci.debian.net/packages/p/python-sure/testing/amd64/


    49s -----------------------------------------------------------------------------
    49s 1) ERROR: Failure: ImportError (cannot import name
    'assert_equals' from 'nose.tools' (/usr/lib/python3/dist-packages/nose/tools/__init__.py))
    49s
    49s Traceback (most recent call last):
    49s /usr/lib/python3/dist-packages/nose/failure.py line 39 in runTest
    49s raise self.exc_val.with_traceback(self.tb)
    49s /usr/lib/python3/dist-packages/nose/loader.py line 416 in loadTestsFromName
    49s module = self.importer.importFromPath(
    49s /usr/lib/python3/dist-packages/nose/importer.py line 47 in importFromPath
    49s return self.importFromDir(dir_path, fqname)
    49s /usr/lib/python3/dist-packages/nose/importer.py line 94 in importFromDir
    49s mod = load_module(part_fqname, fh, filename, desc)
    49s /usr/lib/python3/dist-packages/zombie_imp/imp_3_11.py line
    238 in load_module
    49s return load_source(name, filename, file)
    49s /usr/lib/python3/dist-packages/zombie_imp/imp_3_11.py line
    175 in load_source
    49s module = _load(spec)
    49s <frozen importlib._bootstrap> line 966 in _load
    49s
    49s <frozen importlib._bootstrap> line 935 in _load_unlocked
    49s
    49s <frozen importlib._bootstrap_external> line 994 in exec_module
    49s
    49s <frozen importlib._bootstrap> line 488 in _call_with_frames_removed
    49s
    49s tests/test_old_api.py line 27 in <module>
    49s from nose.tools import assert_equals, assert_raises
    49s ImportError: cannot import name 'assert_equals' from
    'nose.tools' (/usr/lib/python3/dist-packages/nose/tools/__init__.py)

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

    Your message dated Wed, 17 Jan 2024 08:36:01 +0000
    with message-id <E1rQ1Oz-00El5M-Bn@fasolo.debian.org>
    and subject line Bug#1059669: fixed in python-sure 2.0.1-0.1
    has caused the Debian Bug report #1059669,
    regarding python-sure: autopkgtest failure with Python 3.12
    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.)


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

    Received: (at submit) by bugs.debian.org; 29 Dec 2023 21:21:47 +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=-5.8 required=4.0 tests=BAYES_00,FROMDEVELOPER,
    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, 68; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--autopkgtest,
    0.000-+--H*RU:198.252.153.129,
    0.000-+--Hx-spam-relays-external:mx1.riseup.net,
    0.000-+--Hx-spam-relays-external:198.252.153.129
    Return-path: <ginggs@debian.org>
    Received: from mx1.riseup.net ([198.252.153.129]:47592)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X2