Django 1.11 ends its extended support in April 2020 (which is before
Ussuri release), so horizon drops Django 1.11 support in Ussuri.
tox envs for non-primary Django versions are no longer needed in tox.ini
as testing environments for non-primary Django versions are setup in
the zuul jobs now.
horizon>=17.1.0 is required to use Django 2.2. requirements.txt and
lower-constraints.txt are updated accordingly. for more info. please
refer [1].
This patch also drop django-babel as horizon already swiched from
django-babel to enmerkar. congress-dashboard requirement.txt needs to
sync the change to fix gate failure. enmerkar, a successor of
django-babel will be installed via horizon, so we don't need to
have it in requirements.txt explicitly.
Depends-On: https://review.opendev.org/#/c/700733/
[1] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin
Change-Id: I105be486e98b856839214e72a363674cd5c23b9f
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
Change-Id: Ifa044174c197f10c88947865508379c5b53c6090
Horizon defined a project template 'horizon-non-primary-django-jobs'
for django jobs. This patch use that template to run django jobs
here. For information please refer [1]
[1] https://review.opendev.org/#/c/681969/
Change-Id: I7615b8fdf4793f5229725fc6502e0ed8e94aaddd
This commit adds support for py36 in tox.ini by default. When tox
command is executed by developer it will run py36 tests.
Change-Id: I21aba62ad0ea5b32445560dc38d28acff197ac23
Since the horizon remove the 'run_tests.sh' file,
so there should remove '.venv' from the flake8 exclude
in the '.tox.ini' file.
Change-Id: Ief1d67e3d387590ef86e2abc45139f69d69912e3
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: Ifc0557996260608bbbb9437fe527e0fef5f05415
Django 2.0 is now used in tox py35 job, so there is no need for
py35dj20 job. Instead, Django 1.11 with python3 is not covered.
- py35dj20 job is dropped from tox.ini.
- python3-django111 is added to tox.ini.
python3 is specified to basepython to avoid a specific python version.
- .zuul.yaml is updated to consume horizon-openstack-tox-python3-django111
and drop horizon-openstack-tox-py35dj20.
Change-Id: I61129acf42b1c39c212c91ae0db06342472808b6
Replace django.core.urlresolves with django.urls
(In Django 2.0) The django.core.urlresolvers module is removed
in favor of its new location, django.urls.
It was deprecated in Django 1.10:
https://docs.djangoproject.com/en/2.0/releases/1.10/#id3
Add py35dj20 job to test Django 2.0 integration.
Change-Id: I89dea8aaeb2a7d42a9ce99e7cb236c491b34c138
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: I44faa4c9391cf94788a839557b6386bc6737781f
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Signed-off-by: Akihiro Motoki <amotoki@gmail.com>
This commits updates pep8 to install only required packages
ref: I0596a6970725189fd9b46a0cac923b86ccb03f8c
Change-Id: Ie6cda130233f93c940b1c6ae085cda7b80df061e