Tests: pin boto3
For https://github.com/boto/boto3/issues/4398 Also lint updates Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com> Change-Id: Ieb248434b482f513060ca8b453e2068d51fde9cf
This commit is contained in:
@@ -256,10 +256,10 @@ def check_optional_config_and_relations(configs):
|
||||
"resolve."
|
||||
if (len(zonegroups) > 1 and
|
||||
config('zonegroup') not in zonegroups):
|
||||
return('blocked', status_msg)
|
||||
return ('blocked', status_msg)
|
||||
|
||||
if len(zones) > 1 and config('zone') not in zones:
|
||||
return('blocked', status_msg)
|
||||
return ('blocked', status_msg)
|
||||
|
||||
if not all(master_configured):
|
||||
return ('blocked', "Failure in Multisite migration, "
|
||||
|
@@ -30,3 +30,6 @@ git+https://opendev.org/openstack/tempest.git#egg=tempest
|
||||
|
||||
croniter # needed for charm-rabbitmq-server unit tests
|
||||
psutil
|
||||
|
||||
# https://github.com/boto/boto3/issues/4392
|
||||
boto3<1.36.0
|
||||
|
2
tox.ini
2
tox.ini
@@ -68,7 +68,7 @@ deps =
|
||||
basepython = python3
|
||||
deps =
|
||||
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-noble.txt}
|
||||
flake8==3.9.2
|
||||
flake8
|
||||
git+https://github.com/juju/charm-tools.git
|
||||
commands = flake8 {posargs} hooks unit_tests tests actions lib files
|
||||
charm-proof
|
||||
|
Reference in New Issue
Block a user