You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/01/18 18:12:53 UTC
[GitHub] merlimat opened a new pull request #1083: Force to use Django 1.11 in Pulsar Dashboard
merlimat opened a new pull request #1083: Force to use Django 1.11 in Pulsar Dashboard
URL: https://github.com/apache/incubator-pulsar/pull/1083
### Motivation
Build master build in Jenkins is currently failing when creating the `pulsar-dashboard` Docker image at the end of the build job.
The reason it's failing is that it's pulling in the latest Django version (2.0) that only supports Python-3.0. Eg:
```
Collecting Django
Downloading Django-2.0.tar.gz (8.0MB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-vsYydS/Django/setup.py", line 32, in <module>
version = __import__('django').get_version()
File "django/__init__.py", line 1, in <module>
from django.utils.version import get_version
File "django/utils/version.py", line 61, in <module>
@functools.lru_cache()
AttributeError: 'module' object has no attribute 'lru_cache'
```
### Modifications
Since we use Python 2.7, we need to stick with Django version < 2.0.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services