Uploaded image for project: 'Booktype'
  1. Booktype
  2. BK-2081

Lock Booktype requirements to avoid breaking installation process

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: Booktype
    • Labels:
      None

      Description

      Celery 4.0.0 release has broken fresh installs - No module named timeutils

      We do not explicitly set a celery version in:

      https://github.com/sourcefabric/Booktype/blob/master/requirements/_base.txt

      Celery 4.0.0 was released just three days ago and may have broken the install, since django-celery does not support this version of celery.

      Andrew Falgout reported an issue very similar to https://github.com/celery/django-celery/issues/491

       
      ./manage.py syncdb resulted in:
       
      Traceback (most recent call last):
        File "./manage.py", line 23, in <module>
          execute_from_command_line(sys.argv)
        File "/usr/local/lib/python2.7/dist-packages/django/core/management/_init_.py", line 385, in execute_from_command_line
          utility.execute()
        File "/usr/local/lib/python2.7/dist-packages/django/core/management/_init_.py", line 354, in execute
          django.setup()
        File "/usr/local/lib/python2.7/dist-packages/django/_init_.py", line 21, in setup
          apps.populate(settings.INSTALLED_APPS)
        File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in populate
          app_config.import_models(all_models)
        File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 202, in import_models
          self.models_module = import_module(models_module_name)
        File "/usr/lib/python2.7/importlib/_init_.py", line 37, in import_module
          _import_(name)
        File "/usr/local/lib/python2.7/dist-packages/djcelery/models.py", line 15, in <module>
          from celery.utils.timeutils import timedelta_seconds
      ImportError: No module named timeutils

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                helmy.giacoman Helmy Giacoman
                Reporter:
                danieljames Daniel James
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support

                    Potential Duplicates

                      Git Integration