Source: django-sass-processor Version: 1.2.2-1 Severity: serious Tags: ftbfs
https://buildd.debian.org/status/fetch.php?pkg=django-sass-processor&arch=all&ver=1.2.2-1&stamp=1675788416&raw=0 ... ==================================== ERRORS ==================================== ______ ERROR at setup of SassProcessorTest.test_management_command_django ______ cls = <class 'tests.test_sass_processor.SassProcessorTest'> @classmethod def setUpClass(cls): > super().setUpClass() /usr/lib/python3/dist-packages/django/test/testcases.py:1182: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/test/testcases.py:183: in setUpClass cls._add_databases_failures() /usr/lib/python3/dist-packages/django/test/testcases.py:204: in _add_databases_failures cls.databases = cls._validate_databases() /usr/lib/python3/dist-packages/django/test/testcases.py:190: in _validate_databases if alias not in connections: /usr/lib/python3/dist-packages/django/utils/connection.py:73: in __iter__ return iter(self.settings) /usr/lib/python3/dist-packages/django/utils/functional.py:48: in __get__ res = instance.__dict__[self.name] = self.func(instance) /usr/lib/python3/dist-packages/django/utils/connection.py:45: in settings self._settings = self.configure_settings(self._settings) /usr/lib/python3/dist-packages/django/db/utils.py:144: in configure_settings databases = super().configure_settings(databases) /usr/lib/python3/dist-packages/django/utils/connection.py:50: in configure_settings settings = getattr(django_settings, self.settings_name) /usr/lib/python3/dist-packages/django/conf/__init__.py:82: in __getattr__ self._setup(name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <LazySettings [Unevaluated]>, name = 'DATABASES' def _setup(self, name=None): """ Load the settings module pointed to by the environment variable. This is used the first time settings are needed, if the user hasn't configured settings manually. """ settings_module = os.environ.get(ENVIRONMENT_VARIABLE) if not settings_module: desc = ("setting %s" % name) if name else "settings" > raise ImproperlyConfigured( "Requested %s, but settings are not configured. " "You must either define the environment variable %s " "or call settings.configure() before accessing settings." % (desc, ENVIRONMENT_VARIABLE)) E django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. /usr/lib/python3/dist-packages/django/conf/__init__.py:63: ImproperlyConfigured ... =========================== short test summary info ============================ ERROR tests/test_sass_processor.py::SassProcessorTest::test_management_command_django ERROR tests/test_sass_processor.py::SassProcessorTest::test_management_command_jinja2 ERROR tests/test_sass_processor.py::SassProcessorTest::test_management_command_multiple ERROR tests/test_sass_processor.py::SassProcessorTest::test_sass_processor - ... ERROR tests/test_sass_processor.py::SassProcessorTest::test_sass_src_django ERROR tests/test_sass_processor.py::SassProcessorTest::test_sass_src_jinja2 ERROR tests/test_sass_processor.py::SassProcessorTest::test_sass_src_jinja2_variable ERROR tests/test_sass_processor.py::SassProcessorTest::test_use_storage_django ERROR tests/test_sass_processor.py::SassProcessorTest::test_use_storage_jinja2 ERROR tests/test_sass_processor.py::SassProcessorTest::test_use_storage_multiple ======================== 2 warnings, 10 errors in 1.39s ======================== E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-sass-processor/build; python3.11 -m pytest tests dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit code 13 make: *** [debian/rules:8: build-indep] Error 25