Source: django-maintenancemode
Version: 0.11.7+git221001-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@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.

Reply via email to