[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#959062: python-django-libsass: autopkgtest failure: django.core.exceptions.ImproperlyConfigured



Source: python-django-libsass
Version: 0.8-1
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: fails-always

Dear maintainer(s),

You added an autopkgtest to your new package python-django-libsass,
great. However, it fails. I copied some of the output at the bottom of
this report.

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python-django-libsass

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-django-libsass/5128184/log.gz

autopkgtest [13:41:47]: test autodep8-python3: set -e ; for py in
$(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing
with $py:" ; $py -c "import django_libsass; print(django_libsass)" ; done
autopkgtest [13:41:47]: test autodep8-python3: [-----------------------
Testing with python3.8:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/django_libsass.py", line 15, in
<module>
    from compressor.filters.base import FilterBase
  File "/usr/lib/python3/dist-packages/compressor/filters/__init__.py",
line 2, in <module>
    from compressor.filters.base import (FilterBase, CallbackOutputFilter,
  File "/usr/lib/python3/dist-packages/compressor/filters/base.py", line
26, in <module>
    from compressor.cache import cache, get_precompiler_cachekey
  File "/usr/lib/python3/dist-packages/compressor/cache.py", line 13, in
<module>
    from compressor.conf import settings
  File "/usr/lib/python3/dist-packages/compressor/conf.py", line 10, in
<module>
    class CompressorConf(AppConf):
  File "/usr/lib/python3/dist-packages/compressor/conf.py", line 12, in
CompressorConf
    ENABLED = not settings.DEBUG
  File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line
79, in __getattr__
    self._setup(name)
  File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line
60, in _setup
    raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Requested setting DEBUG,
but settings are not configured. You must either define the environment
variable DJANGO_SETTINGS_MODULE or call settings.configure() before
accessing settings.
autopkgtest [13:41:47]: test autodep8-python3: -----------------------]

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: