make[1]: Entering directory '/<<PKGBUILDDIR>>'behavior.
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
warnings.warn(behavior.
-- 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
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
tag -1 pendingBug #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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 11:22:41 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,376 |