Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: Ib4d07402066b278be3e1c4136d2a208d0b1eabb7
Sem-Ver: feature
This patch is a clean-up patch for refactor-error-messages bp
which remove the exception message from base message otherwise
the same exception message display twice like
this https://ibb.co/XyFWMdz .
Depends-On: https://review.opendev.org/#/c/708069/
Change-Id: If727010fb171ecf14db3cc708f10e19da1c94223
Horizon has switched over to only using mock instead of mox3, and local
usage was deprecated for removal in stein. This drops all references to
mox3 to clean things up and prepare for mox3 removal from global
requirements.
Change-Id: I271678f8d5522c89741651326947aed0fb83892d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Ib1e0a744a05cab9470366d81e0f9228fc8fc136e
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I2b898437e7e2c8ab21b1b40bc4f39f7d6a837369
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Use sphinx-build for docs building
Change-Id: Id69a1d201fc14a497fccfb72200dc8ba72d08f52
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.
Fix problems found.
Update local hacking checks for new flake8.
Change-Id: I40bd7e03f39ebb074feb6f7a64bbd398688ddebf
assertItemsEqual was renamed to assertCountEqual in Python 3, and the
testsuite is failing now - rename it.
See also https://six.readthedocs.io/#six.assertCountEqual
This unbreaks the testsuite.
Change-Id: I54941245a4cc77494b7e2a969a996bab505fa2c8
This repo does not support Python 2 anymore, so we don't need
six for compatibility between Python2 and 3, convert six usage to Python
3 code.
Change-Id: Ife3910b1e66d2d8bc5dd5a5c56f7d5ef0b64ea01
Needed-By: https://review.opendev.org/701743
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].
Depends-On: https://review.opendev.org/#/c/700733/
[1] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin
Change-Id: I55754649f39234f65b310c5a7f13efbc090bd9cd
babel extractors are now registered via python entry points,
so there is no need to declare babel extractors in babel configs.
This change is important to make translation work in Django 2.2.
django-babel does not work with Django 2.2 and looks unmaintained
for over two years. The horizon team is thinking to switch the extractor
to enmerkar (a fork of django-babel) to make extraction of translation
string work again near future. It is important to drop the extractor
definition to make the transition smooth.
Change-Id: I099e2f9fdf07f1480b87a0d66daf14335b138833
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: I76a3247fb6902943211ecbc2938ad0413ffc0449
As py35 is already dropped in [1].
So this patch removes the py35 from tox.ini as well.
[1] https://review.opendev.org/#/c/652469/
Change-Id: Ib578963fca0594a7ea3b037cae106d987c2ba383
This commit adds a new tox target to build PDF documentation.
It's a part of community goal, see storyboard for more
information.
Change-Id: Ia0bbd99587a1e823f6b2210d2bf91dd91bd16818
Story: 2006113
Task: 35453
Sphinx 2.0 no longer works on python 2.7,
so we need to start capping it there as well.
For more information please refer [1].
[1] https://review.opendev.org/#/c/657890/
Change-Id: I0c8cc5159bdf51ee845c17c8f8098d8b456562a2
We should allow the admin user (users with admin role)
to create runtime on the dashboard.
This is equivalent function to following CLI command
openstack runtime create $IMAGE --name python3,
The $IMAGE is a docker image like
openstackqinling/python3-runtime:0.0.2
which should be provided by the user.
According to qinling team, For now,
there is no need to do validation for that
input but in future the qinling-api should do some
sanity checks and reply to the UI accordingly.
Change-Id: I279442ac9b20dce3f141beffbfda7e8b5ef9c692
Story: 2004391
Task: 28018
Even mox is not already used from qinling-dashboard tests,
there are leftover sentences in test files.
This commit does the followings.
- Remove unused codse that was previously used by mox.
- Convert the clients to use mock.
Change-Id: I193b774ba99afc363af4b9f0f330a526673362d8
Story: 2003950
Task: 26867
According to project creator’s guide,
this commit add followings.
- babel-django.cfg
- babel-djangojs.cfg
Change-Id: I307e8f2bb149e76c71d252e305f4418006121088
Current qinling-dashboard uses django-file-md5
to calculate md5 of uploading file.
But this library has no license terms,
so it is better to stop using this.
This commit remove those parts using above.
Change-Id: Ibe79df0d9d2d583e773cef502e40d07fc3eaf6f8
Story: 2003456
Task:24716
Contribution relevant documents in qinling-dashboard
have temporal url which links to StoryBoard project.
Now qinling-dashboard project is ready on StoryBoard,
so this commit changes those kind of urls.
Change-Id: I319ebfe93a73b2ca026e9e71928c2a4f0a119add
Story: 2003457
Task:24717