CI: bump hacking

Change-Id: I5f2177b7c2edc0e35ed2e8e9bdfc4be2f262309f
This commit is contained in:
Michal Nasiadka 2024-10-07 12:27:46 +02:00
parent 830500bb55
commit 1864231693
5 changed files with 8 additions and 7 deletions

View File

@ -56,8 +56,8 @@ SOURCES = {
'location': ('$tarballs_base/openstack/designate/'
'designate-${openstack_branch}.tar.gz')},
'etcd': {
# NOTE(wszumski): It is suggested to upgrade one minor version at a time:
# https://github.com/etcd-io/website/blob/cf046546dec9e1dcea966dc21ea38027c3290e9a/content/en/docs/v3.4/upgrades/upgrade_3_4.md#upgrade-requirements
# NOTE(wszumski): Upgrade one minor version at a time:
# https://etcd.io/docs/v3.4/upgrades/upgrade_3_4/
'version': '3.5.16',
'type': 'url',
'sha256': {

View File

@ -566,8 +566,8 @@ class KollaWorker(object):
with open(self.conf.summary_json_file, "w") as f:
json_summary(f, indent=4)
except OSError as e:
LOG.error(f'Failed to write JSON build summary to '
'{self.conf.summary_json_file}')
LOG.error('Failed to write JSON build summary to '
f'{self.conf.summary_json_file}')
LOG.error(f'Exception caught: {e}')
sys.exit(1)

View File

@ -128,7 +128,8 @@ def handle_repos(context, reponames, mode):
>>/etc/apt/sources.list.d/{repo}.sources \
&& """
if repo_list[repo]['arch']:
commands += f"""echo 'Architectures: {repo_list[repo]['arch']}' \
commands += f"""echo 'Architectures: \
{repo_list[repo]['arch']}' \
>>/etc/apt/sources.list.d/{repo}.sources \
&& """
except KeyError:

View File

@ -3,7 +3,7 @@ bashate>=0.5.1 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
ddt>=1.0.1 # MIT
docker>=3.0.0 # Apache-2.0
hacking>=3.0.1,<3.1.0 # Apache-2.0
hacking>=7.0.0,<=7.1.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
stestr>=2.2.0 # Apache-2.0
testtools>=2.2.0 # MIT