Source: sorl-thumbnail
Version: 12.3-1
Severity: serious

The sorl-thumbnail package in the archive is not buildable in a current
clean sid chroot due to undeclared build-dependencies.  The build fails
with:

  for python in python2.7; do \
    for name in pil pgmagick imagemagick graphicsmagick; do \
        LOCPATH=/«PKGBUILDDIR»/tmp-locales LC_ALL=en_US.UTF-8 PYTHONPATH=. 
LOCAL_BUILD=1 DJANGO_SETTINGS_MODULE=tests.settings.$name $python -m pytest ; \
    done; \
  done
  /usr/bin/python2.7: No module named pytest
  debian/rules:22: recipe for target 'override_dh_auto_test' failed

If you install python-pytest, the package then fails with other errors:

==================================== ERRORS ====================================
____ ERROR collecting tests/thumbnail_tests/test_alternative_resolutions.py ____
tests/thumbnail_tests/test_alternative_resolutions.py:11: in <module>
    from .utils import BaseStorageTestCase
tests/thumbnail_tests/utils.py:18: in <module>
    from .models import Item
tests/thumbnail_tests/models.py:6: in <module>
    class Item(models.Model):
/usr/lib/python2.7/dist-packages/django/db/models/base.py:94: in __new__
    app_config = apps.get_containing_app_config(module)
/usr/lib/python2.7/dist-packages/django/apps/registry.py:239: in 
get_containing_app_config
    self.check_apps_ready()
/usr/lib/python2.7/dist-packages/django/apps/registry.py:124: in 
check_apps_ready
    raise AppRegistryNotReady("Apps aren't loaded yet.")
E   AppRegistryNotReady: Apps aren't loaded yet.

I don't know if the latter failure is a missing build-dependency on
something else, or an incompatibility with current django.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to