In Yoga testing, we are making py3.9 job to run as voting, so
adding py3.9 job as voting.
Also, as openstack-health is branchless and needs to support older
supported stable branches, let's test it with all the
python version supported in those supported stable branches.
For that, we need to explicitly dd the py jobs instead of using
the template. This way, we will explicitly know that we are testing
all supported python versions when the new release template bumps the
min python version in the template.
Change-Id: I894984577bf8c83669c96fd627bb9767237c3f68
openstack-health doc job is failing as requires some font
'tgtermes.sty' to generate pdf doc. This patch adds that required
package in bindep.txt to fix doc job.
Change-Id: Id5efbf7c7fc048ce1842d8ea56b687d9a427bb7f
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: Ia1a1bc0cf2f8cba9af76b0b22be153f9e96bb6a8
pandas>=1.2.0 contains some changes in rounding numbers which makes
the following tests fail when executed by py38
- test_get_numeric_data_diff_build_name
- test_get_numeric_data_diff_build_name
with the following assert error
'2018-06-23T00:00:00': 4766.42225,
'2018-06-23T00:00:00': 4766.4222500000005,
++++++++
'2018-06-24T00:00:00': 4899.55725,
'2018-06-25T00:00:00': 5042.148499999999}}
^^^^^^^^^
Change-Id: Icd33d84d94d58ba36b296d46f4397227fa36ef9c
openstack-health-nodejs10-run-test-browser job started failing on
chrome browser
- https://bugs.launchpad.net/stackviz/+bug/1909021
Horizon and its plugins also moved the nodejs browser jobs to
firefox now, let's move openstack-health jobs to firefox.
Closes-Bug: #1909021
Change-Id: I06476189c17323101b4904c3da52248ce04bfb83
This patch enables building .pdf documentation using new 'pdf-docs'
tox environment. The newly created tox environment creates latex
source codes using sphinx-build and then builds the pdf
documentation using make.
Story: 2006070
Task: 35466
Change-Id: Iefa8795ba985f502f952001cdc616dae20847ef9
Openstack-health uses horizon nodejs template [1] to run
nodejs10- jobs Which is wrong because openstack-health is
not a horizon plugins and above template is only for horizon
plugins to run node-js jobs.
This patch remove horizon nodejs template from .zuul.yaml
and define a new job to run Nodejs10 jobs on gate.
Also drop support of py35.
[1] https://opendev.org/openstack/openstack-health/src/branch/master/.zuul.yaml#L3
Change-Id: Ia222ce7f52ee1cfd575ed5204088f0eee2fe903e
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: I02dccb26c236506e9383446e7324cae457e92d1b
assertItemsEqual was removed from Python's unittest.TestCase in
Python 3.3 [1][2]. We have been able to use them since then, because
testtools required unittest2, which still included it. With testtools
removing Python 2.7 support [3][4], we will lose support for
assertItemsEqual, so we should switch to use assertCountEqual.
[1] - https://bugs.python.org/issue17866
[2] - https://hg.python.org/cpython/rev/d9921cb6e3cd
[3] - testing-cabal/testtools#286
[4] - testing-cabal/testtools#277
Change-Id: I0247031614ae75c1fd9f93898b7fb57838eb593f
Switch to openstackdocstheme 2.2.1 version. Using
this version 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: Iabe6f531dcae728331698e7c70ad81adb86315cf
This commit removes .testr.conf since this repo already has
.stestr.conf. We just need .stestr.conf instead of .testr.conf.
Change-Id: I653acd763a9f3b4f946b9615c116c897c524b7cb
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: Ifcf204b037130057dc27e42d10473c1b3e45c922
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
Change-Id: Ied0e774f0efda76794ecfb0f67a5fd51bb380258
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.
Fix problems found.
Change-Id: I4418c77b622f0a0f2f729b957cceb577d20f30d9
Now that we no longer support py27, we can use the standard library
unittest.mock modules instead of the third party mock lib.
Change-Id: I328fd430e61b666147095f860d02a2badcfd3072
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This patch updates the zuul nodejs test jobs to use the
LTS version 10 of nodejs because nodejs4 version
run to xenial and we already switch to bionic. Horizon has
define a template for nodejs 10 job so using the same
template here.
Change-Id: I5fd09a0621a314e3ac508601ea1ec464e41b03b7
It seems like bugday was removed from the navbar in all other places
on status.openstack.org so this commit removes it from the menu.
It also seems like there is no backend configured for "/bugday"
Change-Id: I67e9271450ee7c98887759d0224cd26f72adabba
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: I4759dd3a5a9154978c874786b27aa17a37c3057f
This commit makes the doc use the openstack theme, and also adds
build-openstack-docs-pti job to ensure the tox job.
Change-Id: Iffa590d8325285094cd1d0bef9c5850616c9dedc
Because sphinx and oslosphinx module is not for the unit test.
I remove sphinx and oslosphinx from test-requirements.txt.
Add doc/requirements.txt and modify doc/source/_static/conf.py
Beacause of the build of py27 is failed(Zuul), I write this patch.
Change-Id: I306795ca0192675d8ffb9bbc2f1fa04165a45209