* 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 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
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
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