From 8a00c08595eb4033f4933e3e94f50fa74d18ab76 Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Thu, 17 Aug 2023 20:43:26 +0100 Subject: [PATCH] [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]. [1] https://github.com/juju/charm-helpers/pull/830 Closes-Bug: #2028683 Change-Id: I7083110054b0e15855b7ef6c4709cac332e6f199 --- bindep.txt | 4 ++++ rebuild | 2 +- src/build.lock | 6 ++++++ tox.ini | 3 ++- 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 bindep.txt diff --git a/bindep.txt b/bindep.txt new file mode 100644 index 0000000..17575d9 --- /dev/null +++ b/bindep.txt @@ -0,0 +1,4 @@ +libffi-dev [platform:dpkg] +libpq-dev [platform:dpkg] +libxml2-dev [platform:dpkg] +libxslt1-dev [platform:dpkg] diff --git a/rebuild b/rebuild index fcc9c2b..41a56cd 100644 --- a/rebuild +++ b/rebuild @@ -2,4 +2,4 @@ # when dependencies of the charm change, # but nothing in the charm needs to. # simply change the uuid to something new -fa0813a8-b3eb-11eb-a7ee-87e5c342cd2d +daddc754-3d21-11ee-95a0-5f4677e38aa6 diff --git a/src/build.lock b/src/build.lock index 92b6104..ecfcb13 100644 --- a/src/build.lock +++ b/src/build.lock @@ -209,6 +209,12 @@ "package": "pyaml", "vcs": null, "version": "21.10.1" + }, + { + "type": "python_module", + "package": "Cython", + "vcs": null, + "version": "0.29.36" } ] } \ No newline at end of file diff --git a/tox.ini b/tox.ini index 782b398..ff8c050 100644 --- a/tox.ini +++ b/tox.ini @@ -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]