• Bug#1061751: python-django-debug-toolbar ftbfs with Python 3.12 as defa

    From Matthias Klose@21:1/5 to All on Mon Jan 29 13:10:01 2024
    Package: src:python-django-debug-toolbar
    Version: 1:4.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:

    [...]
    ======================================================================
    FAIL: test_listcomp_escaped (tests.panels.test_profiling.ProfilingPanelTestCase.test_listcomp_escaped) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/panels/test_profiling.py", line 59, in test_listcomp_escaped
    self.assertIn('<span class="djdt-func">&lt;listcomp&gt;</span>',
    content)
    AssertionError: '<span class="djdt-func">&lt;listcomp&gt;</span>' not
    found in '\n<table>\n <thead>\n <tr>\n <th>Call</th>\n <th>CumTime</th>\n <th>Per</th>\n <th>TotTime</th>\n
    <th>Per</th>\n <th>Count</th>\n </tr>\n </thead>\n <tbody>\n
    \n <tr class="djdt-profile-row djdt-highlighted " id="profilingMain_0">\n <td>\n <div data-djdt-styles="paddingLeft:0px">\n \n <button type="button" class="djProfileToggleDetails djToggleSwitch" data-toggle-name="profilingMain" data-toggle-id="0">-</button>\n
    \n <span class="djdt-stack"><span class="djdt-path">/<<PKGBUILDDIR>>/debug_toolbar/panels/</span><span class="djdt-file">__init__.py</span> in <span class="djdt-func">process_request</span>(<span class="djdt-lineno">195</span>)</span>\n </div>\n
    </td>\n <td>0.003</td>\n <td>0.003</td>\n
    <td>0.000</td>\n <td>0.000</td>\n <td>1</td>\n
    </tr>\n \n <tr class="djdt-profile-row djdt-highlighted djToggleDetails_0" id="profilingMain_0_1">\n <td>\n <div data-djdt-styles="paddingLeft:16px">\n \n
    <button type="button" class="djProfileToggleDetails djToggleSwitch" data-toggle-name="profilingMain" data-toggle-id="0_1">-</button>\n
    \n <span class="djdt-stack"><span class="djdt-path">/<<PKGBUILDDIR>>/tests/</span><span class="djdt-file">base.py</span> in <span class="djdt-func">get_response</span>(<span class="djdt-lineno">55</span>)</span>\n </div>\n </td>\n
    <td>0.003</td>\n <td>0.003</td>\n <td>0.000</td>\n
    <td>0.000</td>\n <td>1</td>\n </tr>\n \n <tr class="djdt-profile-row djdt-highlighted djToggleDetails_0 djToggleDetails_0_1" id="profilingMain_0_1_1">\n <td>\n
    <div data-djdt-styles="paddingLeft:32px">\n \n
    <button type="button" class="djProfileToggleDetails djToggleSwitch" data-toggle-name="profilingMain" data-toggle-id="0_1_1">-</button>\n
    \n <span class="djdt-stack"><span class="djdt-path">/<<PKGBUILDDIR>>/tests/panels/</span><span class="djdt-file">test_profiling.py</span> in <span class="djdt-func">&lt;lambda&gt;</span>(<span class="djdt-lineno">54</span>)</span>\n </div>\n </td>\n
    <td>0.003</td>\n <td>0.003</td>\n <td>0.000</td>\n
    <td>0.000</td>\n <td>1</td>\n </tr>\n \n <tr class="djdt-profile-row djdt-highlighted djToggleDetails_0 djToggleDetails_0_1 djToggleDetails_0_1_1" id="profilingMain_0_1_1_1">\n
    <td>\n <div data-djdt-styles="paddingLeft:48px">\n
    \n <button type="button"
    class="djProfileToggleDetails djToggleSwitch"
    data-toggle-name="profilingMain" data-toggle-id="0_1_1_1">-</button>\n
    \n <span class="djdt-stack"><span class="djdt-path">/<<PKGBUILDDIR>>/tests/</span><span class="djdt-file">views.py</span> in <span class="djdt-func">listcomp_view</span>(<span class="djdt-lineno">54</span>)</span>\n </div>\n </td>\n
    <td>0.003</td>\n <td>0.003</td>\n <td>0.003</td>\n
    <td>0.003</td>\n <td>1</td>\n </tr>\n \n <tr class="djdt-profile-row djToggleDetails_0 djToggleDetails_0_1 djToggleDetails_0_1_1 djToggleDetails_0_1_1_1"
    id="profilingMain_0_1_1_1_1">\n <td>\n <div data-djdt-styles="paddingLeft:64px">\n \n <span class="djNoToggleSwitch"></span>\n \n <span class="djdt-stack"><span class="djdt-path">/usr/lib/python3/dist-packages/django/</span><span class="djdt-file">shortcuts.py</span> in <span class="djdt-func">render</span>(<span
    class="djdt-lineno">17</span>)</span>\n </div>\n </td>\n
    <td>0.000</td>\n <td>0.000</td>\n <td>0.000</td>\n
    <td>0.000</td>\n <td>1</td>\n </tr>\n \n </tbody>\n</table>\n'

    ----------------------------------------------------------------------
    Ran 142 tests in 1.281s

    FAILED (failures=1, skipped=20)

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

    Your message dated Sat, 10 Feb 2024 21:26:38 +0000
    with message-id <E1rYuru-003Mxa-R4@fasolo.debian.org>
    and subject line Bug#1061751: fixed in python-django-debug-toolbar 1:4.3-1
    has caused the Debian Bug report #1061751,
    regarding python-django-debug-toolbar 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.)


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

    Received: (at submit) by bugs.debian.org; 29 Jan 2024 11:59:06 +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.7 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,FORGED_SPF_HELO,FOURLA,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, 58; hammy, 149; neutral, 66; spammy,
    1. spammytokens:0.993-1--48px 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]:41991 helo=einhorn-mail-out.in-berlin.de)
    by buxtehude.d
  • From Debian Bug Tracking System@21:1/5 to All on Mon Feb 19 03:30:02 2024
    Processing control commands:

    reopen -1
    Bug #1061751 {Done: Carsten Schoenert <c.schoenert@t-online.de>} [src:python-django-debug-toolbar] python-django-debug-toolbar 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 python-django-debug-toolbar/1:4.3-1.

    --
    1061751: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061751
    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 Mon Feb 19 03:30:01 2024
    Control: reopen -1


    42s autopkgtest [02:05:28]: test testsuite: [-----------------------
    43s ln: failed to create symbolic link '/usr/bin/python3': Permission
    denied
    43s autopkgtest [02:05:29]: test testsuite: -----------------------]
    43s autopkgtest [02:05:29]: test testsuite: - - - - - - - - - -
    results - - - - - - - - - -
    43s testsuite FAIL non-zero exit status 1
    43s autopkgtest [02:05:29]: @@@@@@@@@@@@@@@@@@@@ summary
    43s testsuite FAIL non-zero exit status 1


    either needs the needs-root restriction, or you manage the symlink in a writable path like $AUTOPKG_TEST/bin.

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

    Your message dated Tue, 20 Feb 2024 18:04:00 +0000
    with message-id <E1rcUTI-001YIC-84@fasolo.debian.org>
    and subject line Bug#1061751: fixed in python-django-debug-toolbar 1:4.3-2
    has caused the Debian Bug report #1061751,
    regarding python-django-debug-toolbar 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.)


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

    Received: (at submit) by bugs.debian.org; 29 Jan 2024 11:59:06 +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.7 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,FORGED_SPF_HELO,FOURLA,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, 58; hammy, 149; neutral, 66; spammy,
    1. spammytokens:0.993-1--48px 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]:41991 helo=einhorn-mail-out.in-berlin.de)
    by buxtehude.d