-
Notifications
You must be signed in to change notification settings - Fork 3
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
Django Upgrade (1.8 to 1.11) #28
Comments
Django related:
Notes:django-haystack-es (Django Haystack backend for Elasticsearch 5) in PyPI: defusedxml and lxml are optional packages for |
Celery related:
|
Files affected:
|
The following packages in
|
According to Celery 3.1 documentation: Here are the files that refers to djcelery in Tribe requirement packages:
Confirmed that none of the |
|
When Django is upgraded to 1.9+, this error shows up:
Here is a solution: |
Some package version requirements:
See this issue: django-tastypie/django-tastypie#1581 Here is a new version of
"gunicorn 19.9.0" is not listed here because it is included in |
Installing this patch: pip -e git+https://github.com/django-tastypie/django-tastypie@6cb7da757fd28e0541adefd7a7261df452123750#egg=TastyPie seems to fix the tastypie issues on Django 1.11.20, Edit: The patch has been merged into django-tastypie's But now the following two test cases failed:
The reason seems to be because in: @override_settings(HAYSTACK_CONNECTIONS=TEST_INDEX, CELERY_ALWAYS_EAGER=True,
CELERY_EAGER_PROPAGATES_EXCEPTIONS=True)
If we add: call_command('update_index', interactive=False, verbosity=0) in the two failed test cases, they will pass. But why? |
PR #41 and #42 have removed most django-1.7 deprecated features. Once the new |
Fixed by PR #52. |
According to Django's official doc:
https://www.djangoproject.com/download/#supported-versions
Djanog 1.11.x seems to be a reasonable version to upgrade to for two reasons:
Once Django is upgrade to 1.11, many other Django-related packages should be upgraded too. I am going to use this issue to keep track of the upgrade info for all backend packages that depend upon Django.
The text was updated successfully, but these errors were encountered: