In Yoga testing, we are making py3.9 job to run as voting, so
adding py3.9 job as voting.
Also, as os-performance-tools 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: I71b2dbfa46449e39b6fbe99862c55e4370ce68c3
In python 3.9 base64.encodestring() and base64.decodestring(),
aliases deprecated since Python 3.1, are removed.
base64.encodebytes() and base64.decodebytes() should be used
instead:
https://docs.python.org/3/whatsnew/3.9.html
Change-Id: I7ac7133ff4e9f118dac3dbc179dfc89c932705bb
* 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.
* Replace .testr.conf by .stestr.conf for migration and update
.gitignore and test-requirements.txt file accordingly
* Use py3 as the default runtime for tox
* Add a new job, openstack-cover-jobs, to run the coverage in Zuul
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I3169456592324425b9a9ddc4dbcf8abcf3b82135
The doc job is failing as requires a font 'tgtermes.sty'
to generate pdf doc. This patch adds that required pakcage
in bindep.txt to fix it.
Change-Id: I67fb2a54bde3e22f96f6664798ae77290b1d6116
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: 35467
Change-Id: Ie2b3df9f09445ca4f71bb1fbf69c92a4d7b3e719
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: I6bdf38b8b7e63ff8183f0aaccb566d2baa37df56
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove now unused files babel.cfg and openstack-common.conf.
- Remove use of six library.
- Update to hacking 3.1.0
- Update pbr requirement
Change-Id: Ib4b9460f24cfaa216f0302b3b90ef73d808eb3e4
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: I6e9989f1882cf5729e644e240311c9b73bd578b6
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: Id81e9f6b17e3c722137bb5dfffb5e12c9219b85b
While dropping py2 support, we dropped py3.5 support also
- I1ced6583d61418ca5cd2deb72b7e3f7a3ec986e2
There might be some user of it using on py3.5 distro like
stable/rocky jobs on xenial.
There is no deps issue to support the py3.5 so let's keep
it as long as we can.
Change-Id: Ie8af65c8aef92c4193071133bc3a4df98725da68
In preparation for python 3 support switch to newer sphinx version.
This requires openstackdocstheme.
Remove install_command, this is the default.
Update hacking version to be compatible with python 3, fix warnings
from new pep8.
Change-Id: Iab69ec59eb111571f784242c5ea5756c2a63e424
Current Bug tracker link mentioned in README file does not exit which
create confusion. I checked and not found any bug tracker for this project.
Removing the incorrect link and mention to raise bug on ML or IRC.
Change-Id: Ifd9375cf09154b4439f2c75ff42103535d271270
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: Ifeef1cfb4b764c7a2d0351eb1c3f3660262350c8
Closes-Bug: #1801657
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: I17b0985bef58eb7321dd34a686dfab9668b74275
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Idd3c2867f353c8dee66c96f3bb4e734c82902331
Story: #2002586
Task: #24327
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I4b1e5f5218c52d75bceb79607c01ffda5bb98090
Story: #2002586
Task: #24327
Fix "./os_performance_tools/collectors/mysql.py:54:80: E501 line too long
(87 > 79 characters)"
This is done with reworking the comment to inline the URL.
Change-Id: Ic3b965cdc8d43fdf8621036a0819d2f7df13fb9c