Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require celery<4 in setup.py #475

Closed
adamcharnock opened this issue Sep 26, 2016 · 2 comments
Closed

Require celery<4 in setup.py #475

adamcharnock opened this issue Sep 26, 2016 · 2 comments

Comments

@adamcharnock
Copy link

It sounds like django-celery doesn't support celery 4.0 yet:

celery/celery#3303

Therefore, can the setup.py file be updated to reflect this? My projects CI builds started failing due to this (easily fixed by specifying celery>=3.1,<4 in my project's setup.py, but still would be nice to fix)

@auvipy
Copy link
Member

auvipy commented Sep 28, 2016

yes because there is new too packages

@Ulan9304
Copy link

can you help with this please???
Unhandled exception in thread started by <function check_errors..wrapper at 0x03F88660>
Traceback (most recent call last):
File "C:\Users\Admin\myvenv\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(_args, *kwargs)
File "C:\Users\Admin\myvenv\lib\site-packages\django\core\management\commands\runserver.py", line 113, in inner_run
autoreload.raise_last_exception()
File "C:\Users\Admin\myvenv\lib\site-packages\django\utils\autoreload.py", line 249, in raise_last_exception
six.reraise(exception)
File "C:\Users\Admin\myvenv\lib\site-packages\django\utils\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "C:\Users\Admin\myvenv\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(args, **kwargs)
File "C:\Users\Admin\myvenv\lib\site-packages\django__init
.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Users\Admin\myvenv\lib\site-packages\django\apps\registry.py", line 108, in populate
app_config.import_models(all_models)
File "C:\Users\Admin\myvenv\lib\site-packages\django\apps\config.py", line 199, in import_models
self.models_module = import_module(models_module_name)
File "C:\Program Files (x86)\Python35-32\lib\importlib__init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 665, in exec_module
File "", line 222, in _call_with_frames_removed
File "C:\Users\Admin\myvenv\lib\site-packages\djcelery\models.py", line 15, in
from celery.utils.timeutils import timedelta_seconds
ImportError: No module named 'celery.utils.timeutils'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants