Compare commits

...

4 Commits

Author SHA1 Message Date
PCoder cfffc67f55 Update django-cms, django-filer, django-formtools, django-treebeard, djangocms-admin-style, celery, kombu, amqp, vine to suitable versions 2023-05-24 01:44:38 +00:00
PCoder 792868dd64 Remove aldryn dependencies
We don't seem to be using it
2023-05-24 01:43:03 +00:00
PCoder fbeb18070b Try with python 3.7 because Django 1.11 is supported by it 2023-05-24 01:42:14 +00:00
PCoder 449b78c3eb Remove django-celery-results and update amqp to >=5.0.9
New error:
Traceback (most recent call last):
  File "/app/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 302, in execute
    settings.INSTALLED_APPS
  File "/usr/local/lib/python3.10/site-packages/django/conf/__init__.py", line 55, in __getattr__
    self._setup(name)
  File "/usr/local/lib/python3.10/site-packages/django/conf/__init__.py", line 43, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/local/lib/python3.10/site-packages/django/conf/__init__.py", line 99, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/app/dynamicweb/__init__.py", line 3, in <module>
    from .celery import app as celery_app
  File "/app/dynamicweb/celery.py", line 7, in <module>
    app = Celery('dynamicweb')
  File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 291, in __init__
    self._fixups = [symbol_by_name(fixup)(self) for fixup in self.fixups]
  File "/usr/local/lib/python3.10/site-packages/celery/app/base.py", line 291, in <listcomp>
    self._fixups = [symbol_by_name(fixup)(self) for fixup in self.fixups]
  File "/usr/local/lib/python3.10/site-packages/celery/fixups/django.py", line 44, in fixup
    _verify_django_version(django)
  File "/usr/local/lib/python3.10/site-packages/celery/fixups/django.py", line 32, in _verify_django_version
    raise ImproperlyConfigured('Celery 5.x requires Django 1.11 or later.')
celery.exceptions.ImproperlyConfigured: Celery 5.x requires Django 1.11 or later.
2023-05-23 17:40:12 +00:00
2 changed files with 20 additions and 20 deletions

View File

@ -1,4 +1,4 @@
FROM python:3.10.0-alpine3.15
FROM python:3.7-alpine3.15
WORKDIR /app

View File

@ -1,33 +1,33 @@
Babel==2.3.4
Django==1.9.4
Django==1.11
Django-Select2==4.3.2
Pillow==9.5.0
URLObject==2.4.0
Unidecode==0.04.19
YURL==0.13
aldryn-apphooks-config==0.2.7
aldryn-boilerplates==0.7.4
aldryn-categories==1.0.3
aldryn-common==1.0.1
aldryn-newsblog==1.2.1
aldryn-people==1.2.0
aldryn-reversion==1.0.8
aldryn-search==0.2.11
aldryn-translation-tools==0.2.1
#aldryn-boilerplates==0.7.4
#aldryn-categories==1.0.3
#aldryn-common==1.0.1
#aldryn-newsblog==1.2.1
#aldryn-people==1.2.0
#aldryn-reversion==1.0.8
#aldryn-search==0.2.11
#/aldryn-translation-tools==0.2.1
backport-collections==0.1
cmsplugin-filer==1.0.1
django-appconf==1.0.2
django-appdata==0.1.5
django-bootstrap3==7.0.1
django-classy-tags==0.7.2
django-cms==3.2.5
django-cms==3.6.0
django-compressor==2.0
django-debug-toolbar==1.4
python-dotenv==0.10.3
django-extensions==1.6.7
django-filer==1.2.0
django-filer==1.7.0
django-filter==0.13.0
django-formtools==1.0
django-formtools>=2.1
django-guardian==1.4.4
django-haystack==2.4.1
django-meta==1.2
@ -47,8 +47,8 @@ django-taggit==0.18.3
django-taggit-autosuggest==0.2.8
django-taggit-templatetags==0.2.5
django-templatetag-sugar==1.0
django-treebeard==4.0.1
djangocms-admin-style==1.1.1
django-treebeard>=4.3
djangocms-admin-style>=1.2
djangocms-apphook-setup==0.1.2
djangocms-blog==0.8.13
djangocms-file==1.0
@ -86,16 +86,16 @@ git+https://github.com/ungleich/python-oca.git#egg=oca
djangorestframework==3.6.3
flake8==3.3.0
python-memcached==1.58
celery==5.2.7
celery==4.4.7
redis==2.10.5
django-celery-results>=2.5.1
kombu>=5.2.3
#django-celery-results>=2.5.1
kombu>=4.6.10
mccabe==0.6.1
pycodestyle==2.3.1
pyflakes==1.5.0
billiard==3.6.4.0
amqp==2.2.1
vine>=5.0.0
amqp>=2.6.0
vine==1.3.0
cdist==5.0.1
git+https://github.com/ungleich/djangocms-multisite.git#egg=djangocms_multisite
pyotp