Merge "Bump hacking to newer version"

This commit is contained in:
Zuul 2020-02-24 19:10:21 +00:00 committed by Gerrit Code Review
commit 3fd5ea14c2
3 changed files with 5 additions and 6 deletions

View File

@ -321,9 +321,8 @@ def get_endpoints_link(service):
link_parts = svc_link.split('/')
if link_parts[-2] != 'services':
raise exceptions.IntegrityError(_(
"Unsupported service link: %(link)s") % {
'link': svc_link})
raise exceptions.IntegrityError(
f"Unsupported service link: {svc_link}")
link_parts[-2] = 'endpoints'
return "/".join(link_parts)

View File

@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
hacking>=2.0.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
ddt>=1.0.1 # MIT