[Python-modules-team] Bug#707805: Please drop python2.6-argparse build-dependency
Matthias Klose
doko at debian.org
Thu May 16 12:27:44 UTC 2013
Control: severity -1 serious
Removing the dependency, the packages fails to build from source:
make[1]: Entering directory `/home/packages/tmp/sorl-thumbnail-11.12'
mkdir -p tmp-locales
localedef -i en_US -c -f UTF-8 tmp-locales/en_US.UTF-8
set -e; \
for python in python2.7; do \
for name in pil pgmagick imagemagick graphicsmagick; do \
LOCPATH=/home/packages/tmp/sorl-thumbnail-11.12/tmp-locales
LC_ALL=en_US.UTF-8 PYTHONPATH=tests LOCAL_BUILD=1 $python tests/runtests.py
--settings=settings.$name ; \
done; \
done
Traceback (most recent call last):
File "tests/runtests.py", line 53, in <module>
settings_module=args.settings_module,
File "tests/runtests.py", line 13, in runtests
from django.test.utils import get_runner
File "/usr/lib/python2.7/dist-packages/django/test/__init__.py", line 5, in
<module>
from django.test.client import Client, RequestFactory
File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 21, in
<module>
from django.db import close_connection
File "/usr/lib/python2.7/dist-packages/django/db/__init__.py", line 11, in
<module>
if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES:
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 53, in
__getattr__
self._setup(name)
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in
_setup
self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 152, in
__init__
raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be
empty.
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory `/home/packages/tmp/sorl-thumbnail-11.12'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the Python-modules-team
mailing list