• Bug#1061745: j2cli 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:j2cli
    Version: 0.3.12b-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:

    [...]
    debian/rules override_dh_auto_test
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    python3 -m nose2 -v tests
    test_render (nose2.loader.ModuleImportFailure.test_render) ... ERROR

    ======================================================================
    ERROR: test_render (nose2.loader.ModuleImportFailure.test_render) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_render
    Traceback (most recent call last):
    File
    "/usr/lib/python3/dist-packages/nose2/plugins/loader/discovery.py", line
    196, in _find_tests_in_file
    module = util.module_from_name(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/nose2/util.py", line 73, in module_from_name
    __import__(name)
    File "/<<PKGBUILDDIR>>/tests/test_render.py", line 11, in <module>
    from j2cli.cli import render_command
    File "/<<PKGBUILDDIR>>/j2cli/__init__.py", line 10, in <module>
    from j2cli.cli import main
    File "/<<PKGBUILDDIR>>/j2cli/cli.py", line 8, in <module>
    import imp, inspect
    ModuleNotFoundError: No module named 'imp'


    ----------------------------------------------------------------------
    Ran 1 test in 0.000s

    FAILED (errors=1)

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

    Your message dated Wed, 14 Feb 2024 10:36:50 +0000
    with message-id <E1raCdG-004GHY-0t@fasolo.debian.org>
    and subject line Bug#1061745: fixed in j2cli 0.3.12b-5
    has caused the Debian Bug report #1061745,
    regarding j2cli 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.)


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

    Received: (at submit) by bugs.debian.org; 29 Jan 2024 11:38:38 +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, 30; hammy, 150; neutral, 43; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*doko, 0.000-+--trixie
    Return-path: <doko@debian.org>
    Received: from einhorn.in-berlin.de ([192.109.42.8]:43527 helo=einhorn-mail-out.in-berlin.de)
    by buxtehude.debian.org with esmtps