This patch adds the Designate hacking checks to also run against
the Designate tempest plugin code to maintain consistent style
checking across the Designate repositories.
Change-Id: I8f41bb8188ba8442dbf493dac39b8601f5208938
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
bumps min version of tox to 3.18.0 in order to replace tox's
whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
Change-Id: I4b14b7882fd6806c864d5ac0445e45df450dc218
The removal of the envlist list value for unit test lessens the
confusion that the tempest test are tests in themselves and
hence we do not test the tests.
With the presents of the tox envlist, tox tries to run the tempest
tests as unit test, which results in failure and potential confusion.
The scope of tempest tests (Integration test) and unit test are
understandably different.
Change-Id: Ie016eca756c441cf557100c5227d640475885e4a
Per [1], the docs requirements were failing (or at least could) due to
test-requirements being used instead of doc/requirements. The former
may include dep versions not compatible with the upper-constraints and
hence cause issues for the new pip resolver. This patch fixes that.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
Change-Id: Ifcf59e49b00e9b468b59f53de53c417a0e84adc4
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
The repo is Python 3 now, so update hacking to version 3.0.1 which
supports Python 3.
Fix problems found.
Update local hacking checks for new flake8.
Switch to dnspython in requirements.
See also https://review.opendev.org/726353.
Co-Authored-By: Sean McGinnis <sean.mcginnis@gmail.com>
Depends-On: https://review.opendev.org/715682
Change-Id: I49a0ba49133f9592089d3829405847bf2ff8b425
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: I14aef3de2d663ef36930285401a52f06eb30488d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I7eaadde83243afed1929bd29fff63272e58e072b
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.
Change-Id: I42b7dcd3e9e41688ac3bd8b9c9fb9b39f90c3e9a
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove designate-tempest-plugin.
Change-Id: I2f9c14a84089047bff5f6a77bbd234fda175d229
See https://review.openstack.org/283511 for history.
Change-Id: I7733e8786d6b525a7c9a8d4f12add329cd030d9d
Partially-Implements: blueprint designate-tempest-plugin