Bump hacking to 6.0.x

A note about dependency ordering is removed from the requirements file:
this is no longer true with the dependency resolver introduced with pip
20.3.

Change-Id: I615be3453db37588edf98a46ce484efc5e051f11
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2023-06-27 17:29:24 +01:00
parent 3f12bc6e33
commit 0f48ff3e8d
4 changed files with 6 additions and 16 deletions

View File

@ -87,7 +87,8 @@ class OpenStackAuditApi(object):
if cfg_file:
try:
map_conf = _ConfigParser()
map_conf.read_file(open(cfg_file))
with open(cfg_file) as fh:
map_conf.read_file(fh)
try:
default_target_endpoint_type = map_conf.get(

View File

@ -88,6 +88,5 @@ class AuditNotifierConfigTest(base.BaseAuditMiddlewareTest):
audit_middleware = self.create_simple_middleware()
# make sure it is using a local notifier instead of oslo_messaging
self.assertTrue(
isinstance(audit_middleware._notifier,
audit._notifier._LogNotifier))
self.assertIsInstance(audit_middleware._notifier,
audit._notifier._LogNotifier)

View File

@ -2,10 +2,6 @@
# date but we do not test them so no guarantee of having them all correct. If
# you find any incorrect lower bounds, let us know or propose a fix.
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
keystoneauth1>=3.12.0 # Apache-2.0
oslo.cache>=1.26.0 # Apache-2.0
oslo.config>=5.2.0 # Apache-2.0

View File

@ -1,11 +1,5 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=3.0,<4.0.0 # Apache-2.0
flake8-docstrings==1.6.0 # MIT
pep8==1.7.1 # MIT
hacking~=6.0.1 # Apache-2.0
flake8-docstrings~=1.7.0 # MIT
coverage!=4.4,>=4.0 # Apache-2.0
cryptography>=3.0 # BSD/Apache-2.0