[victoria] Ensure get_requests_for_local_unit doesn't fail on incomplete relation

This is a rebuild/make sync for charms to pickup the fix in charmhelpers to fix
any inadvertant accesses of ['ca'] in the relation data before it is available
from vault in the certificates relation.  Fix in charmhelpers is in [1].

Added libpq-dev to bindep.txt for psycopg2-binary as wheel doesn't exist
on py36.

[1] https://github.com/juju/charm-helpers/pull/830
Closes-Bug: #2028683

Change-Id: I6bef17dd4eb4e383639940357a9bc2875e01eee7
This commit is contained in:
Alex Kavanagh 2023-08-17 20:43:26 +01:00
parent d7e10c9ded
commit 6e92e69a05
4 changed files with 10 additions and 2 deletions

1
bindep.txt Normal file
View File

@ -0,0 +1 @@
libpq-dev [platform:dpkg]

View File

@ -2,4 +2,4 @@
# when dependencies of the charm change,
# but nothing in the charm needs to.
# simply change the uuid to something new
fdb2c6cd-5f92-40c2-9af1-fecff8a72d87
dadf2b58-3d21-11ee-836e-4345a0b1b02a

View File

@ -225,6 +225,12 @@
"package": "pyaml",
"vcs": null,
"version": "21.10.1"
},
{
"type": "python_module",
"package": "Cython",
"vcs": null,
"version": "0.29.36"
}
]
}

View File

@ -92,7 +92,8 @@ commands = stestr run --slowest {posargs}
[testenv:pep8]
basepython = python3
deps = flake8==3.9.2
charm-tools==2.8.3
PyYAML==6.0.1
charm-tools==2.8.6
commands = flake8 {posargs} src unit_tests
[testenv:func-target]