The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: I72feb6bdcee015029beb274b57600e3e5b4b9ed9
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.
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: I467bf0ecbe308cfc39aed6aedd58f5947d2fc3df
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.
Change-Id: Icab2b68608002968bbc56791faedd119db7516e7
Horizon requires pyScss>=1.3.7 [1] but lower-constraints.txt
in neutron-fwaas-dashboard uses pyScss 1.3.4 which can cause the
failure in future. So this patch update pyScss version in
lower-constraints.txt to sync the change.
[1] https://review.opendev.org/#/c/715241/
Change-Id: I34620d6673936e2fd225d2de63205d355503ac63
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.
Depends-On: https://review.opendev.org/#/c/700733/
Change-Id: I21b71ad592559e40a8ac6e5abee34cbbad4ea417
This patch adds basic tests to verify that neutron-fwaas-dashboard
is installed and could be opened.
Also this patch decoupless sphinx vesrions for Python 2.7 and 3.x
to fix gates.
neutron-fwaas-dashboard job is added in a non-voting mode.
Change-Id: I1dca0bfbdc44186fffcbe757a142c930f5bc14b4
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: Ib54eb9e4cd0b4b8574a07d3b6884d4657ed296f2
As of horizon 14.0.0.0b2 or later the use_mox directive is unecessary
so we can remove it.
Change-Id: I1191bb4223556b7da1f4377bec70277abf58dd39
Signed-off-by: Chuck Short <chucks@redhat.com>
create_stubs in test.helpers is also dropped in this commit
because this creates a stub using mox.
This is part of mox-removal community goal in Rocky.
lower-constraints.txt are updated to pass requirements-check
as this file is updated automatically now and we need to update
it when updating this file from some reasons.
Change-Id: Ib4c7c3003ce5d895c9c514aa0af6491da1667891
Closes-Bug: #1753504
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: Ifc0a37fc787ed3340aefb7e182dbc74bb36352f2
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>