Downgrade django-elasticsearch-dsl to 0.5.1
@@ -62,7 +62,14 @@ elasticsearch==6.4.0 # pyup: <7.0.0
#
# Commit 97e3f75 adds the NestedFacet
git+https://github.com/elastic/elasticsearch-dsl-py@97e3f756a8cacd1c863d3ced3d17abcafbb0f85e#egg=elasticsearch-dsl==6.1.1
-django-elasticsearch-dsl==6.4.1
+
+# django-elasticsearch-dsl==6.4.1 produces this error
+# File "/home/travis/build/readthedocs/readthedocs.org/.tox/py36/lib/python3.6/site-packages/django_elasticsearch_dsl/__init__.py", line 3, in <module>
+# from .documents import DocType # noqa
+# File "/home/travis/build/readthedocs/readthedocs.org/.tox/py36/lib/python3.6/site-packages/django_elasticsearch_dsl/documents.py", line 7, in <module>
+# from elasticsearch_dsl import Document as DSLDocument
+# ImportError: cannot import name 'Document'
+django-elasticsearch-dsl==0.5.1 # pyup: ignore
pyquery==1.4.0
# lxml is used by pyquery
