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.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
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.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
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: Ic888f31814431683d8cd71e1ab25c0dc63bcc8ef
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I3b9f61ccb0607acbd98cb3f09e8f622656ac8351
This repo is now testing only with Python 3, so let's 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
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove Babel from requirements, it's not needed for running.
- Update lower-constraints for osprofiler as required by
other dependencies.
Change-Id: I84ec7cae5b051bb9c69969d8ccaa28b053914840
We need this library to run unit tests
that depend on base classes in horizon.
See https://review.opendev.org/#/c/711195/
for the horizon change.
Change-Id: I39fcb629c44db156b3d59481b78f24338d494a7c
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Following openstack horizon change
I2de669d8e89b8daeb7ee5405ffab35af6307c40b
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Unblocks currently broken pyX gates
Change-Id: Id140c0a13c9d2a2bfcd1d851a04407f232021eef
Closes-Bug: #1870436
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Remove hacking and friends from lower-constraints, they are not
installed in a running system.
Change-Id: Ia62b221aa0807300eaee7b075607ac6b56256b76
Sphinx 2.0 no longer works on python 2.7,
so we need to start capping it there as well
depend on https://review.opendev.org/#/c/657890/
Change-Id: Iaebf5772043c4fd97162154eda896dd26209f6d0
This patch adds basic tests to verify that manila-ui is
installed and could be opened.
manila-ui-integration-tests job is added in a
non-voting mode.
Depends-On: https://review.openstack.org/634712
Change-Id: I67e876a5cb26637b62225fc854a906dc1a714e76
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.
The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.
Change-Id: Ic462de67d57ad96887bd321323b8ff88d2c71185
... or at least the first published tarball which will lead to Rocky.
On the other side this means forcing the usage of mox as long as
there are tests that depends on it (the switch was already flipped
in Horizon, so it needs to be enabled here).
This allows us to depend on newer Horizon features, including changes
to the test suite that are useful for the mox removal effort.
Also remove mox since there are no unit tests that need it.
Change-Id: Ia8e0d5512f11e3d191ca2f6259075e35490290c2
Signed-off-by: Charles Short <zulcss@gmail.com>
This patch transitions to the openstackdocs theme from
oslosphinx in accord with the OpenStack manuals project
migration spec [1].
[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
Change-Id: I92cc896bbd505d10c9dc7101bacb4caedf43da8f
Partial-Bug: #1706181
Needed-By: I9c378a188f9009a82100f5488a936d43536bd5b6
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
1) Fix unit test that was using already removed var from Horizon [1]
2) Update 'hacking' lib dependency version to avoid pbr version conflict
[1] 4958805863df463cebb79b0175fa2fe8cbb83c5e
Change-Id: I2c4b1bff2ab913daadb0331711fa8fa6118ccbbb
Create the releasenotes directory and add the requisite
conf.py file to generate manila-ui's release notes.
project-config change: Ibb5e84e621ee0dadd8f6748252536a6447202611
Change-Id: I7a129c47bc3eba904754f4ec8e8140d42b29a0d1
Changes:
1) Updated from global requirements
2) Updated "run_tests.sh" script to be able to run unit tests
using Django 1.8.* removing "--verbosity" opt.
3) Added tox jobs 'py27dj17' and 'py27dj18' to be able to run
unit tests for Django 1.7.* and 1.8.* in separate envs.
Change-Id: I267c8e7a6cb8d67d7331f4f00cb79ad98832d0e7
Closes-Bug: #1496412
Horizon change I763f7606dde5df6cf09cbaf2c8e90158e0f256e3 fixed Horizon
when raised exception was not properly handled.
Our test 'test_detail_view_with_exception' was verifying old incorrect
behaviour of Horizon. When 'exceptions.handle" method is used and
message is provided exception is not expected to be escalated anymore.
Also, make manila-ui project pull always latest version of master branch
of Horizon project instead of latest tarball built on latest tag.
It will allow to run unit tests in CI and locally using same version of
Horizon.
Change-Id: I1f4ed03e69b06fe872abe48857b56ec480ec81a0
Closes-Bug: #1493845
Currently, form of share type extra specs update does not allow several
valid cases for set/unset operations.
So, fix them and cover with unit tests.
Change-Id: I446a7226a3154f7d475115560fe343142311973b
Closes-Bug: #1481903
Enable unit tests to be run standalane; that is, without having a
local copy of the horizon source. This is primarly intended for use in
automated builds. The approach, taken from tuskar-ui, is to add an
entry in test-requirements.txt that refers to a source tarball of
horizon which is expanded into the virtual environment, permitting
references to horizon and openstack_dashboard to resolve correctly.
Add additional tooling to support running tests and building virtual
environments to mirror what is done in horizon.