The edgegrid-python library is not necessary unless akamai backend is
used, so this library should be an optional dependency to avoid pulling
unnecessary packages.
Note that akamai backend hasn't been updated since it was added 4 years
back. Probably we can deprecate and remove it assuming it's not really
used(or at least it's not maintained).
Change-Id: If13e722e5ec3cdcd11461201ea20b2dc022cce10
The zake driver in tooz was deprecated[1] because the zake library has
been archived[2].
[1] 9acbc5391521155b04aa6654fb91c90b467b5750
[2] https://github.com/yahoo/Zake
Change-Id: I0fabc466c045c2dc20c88932b061422612c48005
hacking 3.0.x is too old. This also removes the note about old behavior
of pip which has been changed in recent versions.
Notes:
- A few errors newly detected are also fixed.
- This also fixes the compatibility with flake8 >= 3.0 because flake8
is also bumped when we bump hacking.
- pretty_flake8 tool is removed because it's not commonly used but
needs maintenance effort to keep it in sync with newer releases
Change-Id: I8e91b06199bfbed1d6e9f8d62ddf52fafd60b7f9
Adding additional test upgrade coverage. This implementation
tests things like the is_migration_needed flag. In the future
we can also add support for MySQL functional coverage as well.
Change-Id: I9386d1bfbfee1fe8ff41859520cdbe94381ee3fd
An updated pip version has shown multiple inconsistencies within
our lower constraints, so bump the affected versions.
Change-Id: I558e77dbba6abf64e6857d7f880104f0237dca1b
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: I4bd0de2f553c43a805670a424c44455d691891ac
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: I8881b891d062703d8136ee8eb459ca293cba8c35
Tox should be smart enough to figure out the correct python version on
its own, avoid having to follow-up for every new python release.
Change-Id: If515467fd4c9e678d54d4e8551b52611fec786ff
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Update local hacking checks for new flake8.
# to unbreak gate:
Depends-on: https://review.opendev.org/715835
Change-Id: Icc2f4368cc90689d74510ce36fe77d2346aec625
This patch switches to Apache and mod_wsgi by default
for devstack.
Also, use memcached as the coordinatior for single node deployments.
Change-Id: I8798c04f2bc386aca32bda8961efd29298899890
There is a regression bug in Bandit 1.6.0 that causes
the exclusions to get ignored.
Also allow jsonschema higher than 3, as this is no longer
allowed and causes the requirement check to fail.
Change-Id: I464b35f045aec6d22bfee9b35e229b02ee676280
This commit is a follow-up of "switch to using stestr"
which was merged already [1].
After switch to using stestr, testrepository is unnecessary
and should be removed.
[1] https://review.openstack.org/571948
Change-Id: I7b496624721173955315869b17d3f2050dc83d30
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I847368004d14c2f213d36c602398abfdbfa381cd
Signed-off-by: Charles Short <zulcss@gmail.com>
This patch only setup package dependency which named Pygments
for this test. Pygments also exist item in lower-contraints.txt
which does not setup along with tox env.
Change-Id: I1a75150b7fd813a4126716b898a55f35c64c5ec6
This PS will help project avoid pep8 some issues for *.rst
in whole project.
Co-authored-By: Hoang Trung Hieu <hieuht@vn.fujitsu.com>
Change-Id: I7a01863b1aa0bcf999be6e6e2261ab35530c196a
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)
Change-Id: I7c373f9b7441c80a9fe008b66a2817659d66d8d7