[Python-modules-team] Bug#855877: python3-django-celery: management commands broken with Django 1.10

Antonio Terceiro terceiro at debian.org
Wed Feb 22 19:25:50 UTC 2017


Package: python3-django-celery
Version: 3.1.17-3.1
Severity: grave
Forwarded: https://github.com/celery/django-celery/pull/458
Justification: renders package unusable

$ ./manage.py celery worker
Traceback (most recent call last):
  File "./manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 359, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 208, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 40, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 673, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/djcelery/management/commands/celery.py", line 6, in <module>
    from djcelery.management.base import CeleryCommand
  File "/usr/lib/python3/dist-packages/djcelery/management/base.py", line 59, in <module>
    class CeleryCommand(BaseCommand):
  File "/usr/lib/python3/dist-packages/djcelery/management/base.py", line 60, in CeleryCommand
    options = BaseCommand.option_list
AttributeError: type object 'BaseCommand' has no attribute 'option_list'

Fix:
https://github.com/celery/django-celery/pull/458
https://patch-diff.githubusercontent.com/raw/celery/django-celery/pull/458.patch

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-django-celery depends on:
ii  python3-anyjson        0.3.3-1
ii  python3-celery         3.1.23-5
ii  python3-django         1:1.10.5-1
ii  python3-pkg-resources  33.1.1-1
ii  python3-tz             2016.7-0.2
pn  python3:any            <none>

python3-django-celery recommends no packages.

python3-django-celery suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170222/34445c18/attachment-0001.sig>


More information about the Python-modules-team mailing list