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:
Peter Sabaini
2025-01-23 12:34:26 +01:00
parent 1991eb7815
commit 41d4c74ec9
3 changed files with 6 additions and 3 deletions

View File

@@ -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, "

View File

@@ -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

View File

@@ -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