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.
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
* 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 .
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
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.
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.
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
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.
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
While dropping py2 support, we dropped py3.5 support also
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.
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.
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.
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.
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
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
See the python3-first goal document for details:
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.