Hello,

Just in case anyone is thinking of back porting my celery package to
Wheezy, it won't work without disabling the Python3 stuff first.

Otherwise it will fail with undefined symbols, I suspect this is because
Python3.2 is not supported.

(previously I had backported version 3.1.12 thinking it was ok, but it
wasn't, fortunately the latest version fails the tests *and* aborts the
package build).

I believe Python2 support works fine in wheezy.


======================================================================
ERROR: Failure: ImportError (cannot import name periodic_task)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/failure.py", line 37, in runTest
    raise self.exc_class(self.exc_val).with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/loader.py", line 390, in
loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 39, in
importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 86, in
importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/«PKGBUILDDIR»/celery/tests/compat_modules/test_compat.py", line 9,
in <module>
    from celery.task import (
ImportError: cannot import name periodic_task

======================================================================
ERROR: test_respects_ALWAYS_EAGER
(celery.tests.compat_modules.test_sets.test_TaskSet)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mock.py", line 1098, in _dot_lookup
    return getattr(thing, comp)
AttributeError: 'module' object has no attribute 'sets'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/compat_modules/test_sets.py", line 177,
in test_respects_ALWAYS_EAGER
    with patch('celery.task.sets.get_current_worker_task') as gwt:
  File "/usr/lib/python3/dist-packages/mock.py", line 1261, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3/dist-packages/mock.py", line 1423, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3/dist-packages/mock.py", line 1111, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3/dist-packages/mock.py", line 1101, in _dot_lookup
    return getattr(thing, comp)
AttributeError: 'module' object has no attribute 'sets'

----------------------------------------------------------------------

-- 
Brian May <br...@microcomaustralia.com.au>

Reply via email to