• Bug#1066752: django-maintenancemode: FTBFS: dh_auto_test: error: pybuil

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 16:10:26 2024
    Source: django-maintenancemode
    Version: 0.11.7+git221001-3
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_auto_test -- --system=custom --test-args="PYTHONPATH=. {interpreter} -m pytest"
    I: pybuild base:305: PYTHONPATH=. python3.12 -m pytest ============================= test session starts ==============================
    platform linux -- Python 3.12.2, pytest-8.0.2, pluggy-1.4.0
    django: settings: maintenancemode.tests.settings (from ini)
    rootdir: /<<PKGBUILDDIR>>
    configfile: setup.cfg
    plugins: django-4.5.2
    collected 0 items / 1 error

    ==================================== ERRORS ====================================
    __________ ERROR collecting maintenancemode/tests/test_middleware.py ___________
    ImportError while importing test module '/<<PKGBUILDDIR>>/maintenancemode/tests/test_middleware.py'.
    Hint: make sure your test modules/packages have valid Python names. Traceback:
    maintenancemode/tests/test_middleware.py:6: in <module>
    from django.utils.six import StringIO
    E ModuleNotFoundError: No module named 'django.utils.six'

    During handling of the above exception, another exception occurred: /usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level) maintenancemode/tests/test_middleware.py:8: in <module>
    from six import StringIO
    E ModuleNotFoundError: No module named 'six' =============================== warnings summary ===============================
    ../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241
    /usr/lib/python3/dist-packages/django/conf/__init__.py:241: RemovedInDjango50Warning: The default value of USE_TZ will change from False to True in Django 5.0. Set USE_TZ to False in your project settings if you want to keep the current default
    behavior.
    warnings.warn(

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    ERROR maintenancemode/tests/test_middleware.py
    !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
    ========================= 1 warning, 1 error in 0.12s ==========================
    E: pybuild pybuild:389: test: plugin custom failed with: exit code=2: PYTHONPATH=. python3.12 -m pytest
    I: pybuild base:305: PYTHONPATH=. python3.11 -m pytest ============================= test session starts ==============================
    platform linux -- Python 3.11.8, pytest-8.0.2, pluggy-1.4.0
    django: settings: maintenancemode.tests.settings (from ini)
    rootdir: /<<PKGBUILDDIR>>
    configfile: setup.cfg
    plugins: django-4.5.2
    collected 0 items / 1 error

    ==================================== ERRORS ====================================
    __________ ERROR collecting maintenancemode/tests/test_middleware.py ___________
    ImportError while importing test module '/<<PKGBUILDDIR>>/maintenancemode/tests/test_middleware.py'.
    Hint: make sure your test modules/packages have valid Python names. Traceback:
    maintenancemode/tests/test_middleware.py:6: in <module>
    from django.utils.six import StringIO
    E ModuleNotFoundError: No module named 'django.utils.six'

    During handling of the above exception, another exception occurred: /usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level) maintenancemode/tests/test_middleware.py:8: in <module>
    from six import StringIO
    E ModuleNotFoundError: No module named 'six' =============================== warnings summary ===============================
    ../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241
    /usr/lib/python3/dist-packages/django/conf/__init__.py:241: RemovedInDjango50Warning: The default value of USE_TZ will change from False to True in Django 5.0. Set USE_TZ to False in your project settings if you want to keep the current default
    behavior.
    warnings.warn(

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    ERROR maintenancemode/tests/test_middleware.py
    !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
    ========================= 1 warning, 1 error in 0.11s ==========================
    E: pybuild pybuild:389: test: plugin custom failed with: exit code=2: PYTHONPATH=. python3.11 -m pytest
    dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" --system=custom "--test-args=PYTHONPATH=. {interpreter} -m pytest" returned exit code 13


    The full build log is available from: http://qa-logs.debian.net/2024/03/13/django-maintenancemode_0.11.7+git221001-3_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Mar 17 13:40:01 2024
    Processing control commands:

    tag -1 pending
    Bug #1066752 [src:django-maintenancemode] django-maintenancemode: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" --system=custom "--test-args=PYTHONPATH=. {interpreter} -m pytest" returned exit code 13
    Added tag(s) pending.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alexandre Detiste@21:1/5 to All on Sun Mar 17 13:40:01 2024
    Control: tag -1 pending

    Hello,

    Bug #1066752 in django-maintenancemode reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/debian/django-maintenancemode/-/commit/cace04841dd205c0c3bd12728e82ae4cd9953c7b

    ------------------------------------------------------------------------
    remove undeclared six build dep, fix FTBFS (Closes: #1066752) ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1066752

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

    Your message dated Sun, 17 Mar 2024 13:04:23 +0000
    with message-id <E1rlqBb-009gTQ-CY@fasolo.debian.org>
    and subject line Bug#1066752: fixed in django-maintenancemode 0.11.7+git221001-4
    has caused the Debian Bug report #1066752,
    regarding django-maintenancemode: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" --system=custom "--test-args=PYTHONPATH=. {interpreter} -m pytest" returned exit code 13
    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.)


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

    Received: (at submit) by bugs.debian.org; 13 Mar 2024 15:01:33 +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=-106.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 150; neutral, 237; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:108
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8:202: