Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: Ib6e4e7f89a9990cfb42afa209878812340109ecf
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
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.
Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: Id73106fee729aea32fe37234f3fa7d5263c196aa
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
So we should switch to stestr.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I14ae3879465e622f36fd7bba3f04cb6e0cb7500e
Conform to the PTI for docs builds, add lower-constraints jobs, and use
upper-constraints instead of synced global requirements constraints.
Change-Id: Iaf1b54b35d02dbb733c7782b178e4eb774c02ef6
And fix pep8 issues discovered by hacking update. Remove dependencies
on pep8, pyflakes and flake8. They should be determined by the hacking
dependency implicitely.
Change-Id: I3fefdabcfdc09c28756f5ab0f5a99d12de2d8a3a
Test cases running depends on `discover' package, but in python 2.6,
`discover' package is not there. So need to add `discover' in
test-requirements.txt.
Change-Id: I1129bc50c97861c9fca3894261ea1b831cd3f6cc
Fixes: bug #1193349
From bug report:
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files and tools in the
general world are growing intelligence about them.
Change-Id: I5d3bad7654e4ce101d19b40215d8c1cc93dd9832
Fixes: Bug #1179008