Commit Graph

130 Commits

Author SHA1 Message Date
Zuul 097ffc6df1 Merge "Bump hacking" 2024-03-18 10:37:22 +00:00
Zuul 69c6b12a8d Merge "Stop using deprecated zake coordination driver" 2024-01-30 02:26:23 +00:00
Takashi Kajinami cb47b4e00e Make edgegrid-python optional
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
2024-01-22 21:47:31 +09:00
Takashi Kajinami f7ab684d1b Stop using deprecated zake coordination driver
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
2024-01-22 01:22:42 +09:00
Takashi Kajinami 7472f515a6 Bump hacking
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
2024-01-17 12:37:51 +09:00
Erik Olof Gunnar Andersson f5a034272d Add upgrade test coverage
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
2023-12-14 09:13:11 -08:00
Dr. Jens Harbott cdf81bb56e Bump hacking version
We can also drop some excludes that no longer affect us

Change-Id: Ib3e9d87c29a612e4c77212bd3a414c53ee1d9fe0
2022-06-16 09:31:18 +02:00
Jens Harbott e8c901c323 Fix lower-constraints
An updated pip version has shown multiple inconsistencies within
our lower constraints, so bump the affected versions.

Change-Id: I558e77dbba6abf64e6857d7f880104f0237dca1b
2020-12-13 14:07:52 +01:00
Sean McGinnis 4b2c732df7
Use unittest.mock instead of third party mock
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
2020-05-29 11:35:40 -05:00
zhangbailin d5ee2ede93 Fix hacking min version to 3.0.1
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
2020-05-18 01:36:01 +00:00
Dr. Jens Harbott 65736672da Stop setting version specific basepython binaries
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
2020-04-06 18:11:42 -07:00
Andreas Jaeger 2e3d8ab80d Update hacking for Python3
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
2020-04-01 21:52:38 +00:00
Erik Olof Gunnar Andersson 9e3c2bb65b Switch to apache for designate-api
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
2019-10-19 07:16:14 +00:00
Erik Olof Gunnar Andersson 2c9e9f5f41 Bump to hacking 1.1.0
* Minor changes to fix some new checks.
* Use pycodestyle directly instead of pep8.

Change-Id: I5fbe877f8d05c1b25bf760e52ea8abdfd0a2d8d9
2019-07-04 00:33:00 -07:00
Adam Harwell dec3639078 Clean fix for bandit exclusions change
Don't mangle requirements, just fix the glob.

Change-Id: I4b57336a103c75df877ff65e645b3b05b3c79a49
2019-05-14 23:11:43 +00:00
Erik Olof Gunnar Andersson c16478eb2e Blacklist Bandit 1.6.0 due to directory exclusion bug
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
2019-05-09 20:27:37 -07:00
Vu Cong Tuan 147e487bdf Remove testrepository
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
2018-07-11 17:44:40 +07:00
Charles Short 105d89e9ec Switch to using stestr
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>
2018-06-03 11:32:57 -04:00
Nguyen Van Trung 063fb8661b Allow to check pep8 along with D000
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
2018-05-23 11:01:57 +07:00
melissaml 794dea3817 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Ic7dad29922af2efed2188f3215f364719f0e19ae
2018-03-27 10:30:57 +08:00
OpenStack Proposal Bot f1485b035b Updated from global requirements
Change-Id: Ia668f35b1129471e617bbe4713add751a0c3b242
2018-03-26 18:18:36 +00:00
OpenStack Proposal Bot 3b397ba889 Updated from global requirements
Change-Id: Idd8a6b399708f0b5ee9a7b750390f3a92e29bc4d
2018-03-15 06:51:07 +00:00
OpenStack Proposal Bot db5ff2e331 Updated from global requirements
Change-Id: I79aa9ed0349b188d5c0bd2c51d41fb9cb3ca8765
2018-03-13 06:50:03 +00:00
OpenStack Proposal Bot 5849c8abb4 Updated from global requirements
Change-Id: I3deb9840f2e67ee6f19caa5e0fb07457b9668144
2018-03-10 13:10:05 +00:00
OpenStack Proposal Bot 091df480ce Updated from global requirements
Change-Id: I4bd96fe8c995e1c179716c5e13fdeeb197abc680
2018-03-08 00:51:26 +00:00
Erik Olof Gunnar Andersson 8b1fbecc55 Add os-testr in test-requirements.txt
This is a dependency of pretty_tox.sh that is missing
and causing the tests to fail.

Change-Id: Ibc1fcb845ed8167a3bdd7e3f7345ad8c8efcd538
2018-03-07 10:31:41 -08:00
OpenStack Proposal Bot 09a46c0c13 Updated from global requirements
Change-Id: I1156d06412a8602c9d11f1da088b8b9b315e45e8
2018-01-24 00:51:27 +00:00
OpenStack Proposal Bot d08e107cba Updated from global requirements
Change-Id: I3dc494146cdc3b98c75ee81efed6f4cf756df9a1
2018-01-17 20:30:34 +00:00
OpenStack Proposal Bot 4c9bd48d54 Updated from global requirements
Change-Id: I7c7cbd361f0b69ae3c6d6da3476f9a2b59784362
2018-01-16 12:25:57 +00:00
OpenStack Proposal Bot 3399bc61be Updated from global requirements
Change-Id: Id811682dc59073be17757cc6406e1c93607581cd
2017-12-19 01:14:03 +00:00
Graham Hayes 3955f474a5
Docs Refactor
* Move backend docs to admin guide
* Add oslo.config sphinx extention
* Add HA guide
* Update drivers to log driver grade

Change-Id: I4a364a0d1a0656f26d3a4c3b7baad7e43cddcb16
2017-12-05 21:06:18 +00:00
Zuul 2f75586379 Merge "Add validation to improve pep8 check for designate project" 2017-11-22 17:37:41 +00:00
Nguyen Van Trung 154d12114f Add validation to improve pep8 check for designate project
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
2017-11-20 12:26:16 +00:00
OpenStack Proposal Bot 3e7c15c10f Updated from global requirements
Change-Id: I2e4e9c42449d92292065476c32a64f2a396802f8
2017-11-16 11:04:51 +00:00
Nguyen Van Trung d077bb3d4f Cleanup test-requirements
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
2017-10-05 04:16:16 +00:00
OpenStack Proposal Bot 25eb143db0 Updated from global requirements
Change-Id: I5f1b0eb8ed7628ad1ecc2de6de3ddd047addfc46
2017-09-20 03:32:38 +00:00
OpenStack Proposal Bot 7fa22ca4b6 Updated from global requirements
Change-Id: Id7105d3c0be934e86a762da5b04e9ada8a2ac8a5
2017-09-13 12:49:25 +00:00
OpenStack Proposal Bot 01072ebb07 Updated from global requirements
Change-Id: I02c5f7ce4db298cc6dee0272919c47a16b003c55
2017-09-12 21:47:40 +00:00
OpenStack Proposal Bot 03e6a0781e Updated from global requirements
Change-Id: I2b48d5174827959b28346d9a5df59bfe650a5781
2017-08-22 00:35:19 +00:00
OpenStack Proposal Bot 8fc76998e7 Updated from global requirements
Change-Id: I656ab274fc6235d73a9c4bb23035efa461ca0124
2017-07-27 20:20:17 +00:00
OpenStack Proposal Bot b1db570c33 Updated from global requirements
Change-Id: Ie18759dca23f98a23ed16866fb374d42a659b0bc
2017-07-14 23:54:27 +00:00
Doug Hellmann e940a65e23 complete the migration from oslosphinx to openstackdocstheme
Change-Id: I32bbd44df176397d6887a4547cbf71b819daa358
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-29 14:44:36 -04:00
OpenStack Proposal Bot ccaaa3f06c Updated from global requirements
Change-Id: Iff2426d2399494e7b37f9d7d20e7cab890baade4
2017-06-27 12:09:03 +00:00
OpenStack Proposal Bot 085d47c15a Updated from global requirements
Change-Id: I613596908c547af424b3789b8071259950e47b7e
2017-06-05 11:55:20 +00:00
OpenStack Proposal Bot 21f022ad04 Updated from global requirements
Change-Id: I17813b49e32d5854fcc627247c741599b1dbcdfd
2017-05-19 22:43:23 +00:00
OpenStack Proposal Bot d83c787e2e Updated from global requirements
Change-Id: Ic4e42316f5c87357ff1d8711b1d25ecb77f8b09b
2017-03-08 23:22:13 +00:00
Graham Hayes b56a7b14f3 Bump hacking to new required version
Change-Id: Ice127b5e673cee3159b780e3da06cec496c845e3
2017-03-07 21:56:28 +00:00
OpenStack Proposal Bot 495cb491f4 Updated from global requirements
Change-Id: I0c049884503909d9c3afd4b07ef1027f25534f62
2017-02-15 01:25:31 +00:00
Graham Hayes 0efcd596af Install Guide Plugin
Change-Id: If85c856cd1bbdeb0a528ac2747b168cbafcd3c31
Closes-Bug: #1602746
Related-Bug: #1590937
2017-02-14 18:00:15 +00:00
OpenStack Proposal Bot 4f867269ed Updated from global requirements
Change-Id: Idee5ee65e5efdb73b3e88c89961927f4b53f272d
2017-02-11 17:41:13 +00:00