yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80913
[Bug 1855506] Re: Incorrect django version in requirements.txt
django.urls is present in Django 1.11 and our requirements.txt requires
Django >=1.11 both for python 2.7 and python 3. Thus the Django version
in requirements.txt is valid.
In addition, we no longer support Django 1.8 as of Train release.
I don't know which release you are talking about though.
If you have more question, feel free to comment here.
** Changed in: horizon
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1855506
Title:
Incorrect django version in requirements.txt
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
requirements.txt contains these lines:
Django<2,>=1.11;python_version<'3.0' # BSD
Django<2.1,>=1.11;python_version>='3.0' # BSD
Throughout the code there are import lines like this:
openstack_dashboard/views.py:from django import urls
but django.urls is only present in django version 2 and later. In
version 1.8, for example, that module appears to be django.conf.urls.
I may be misunderstanding something fundamental but I think that
requrements line needs to specify a lower bound of 2.0. I'm not sure
how this will work with python2 though.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1855506/+subscriptions
References