From 44508fa9f6be9e79f38f1799526aee10cce85fbe Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Thu, 17 Aug 2023 16:28:50 +0100 Subject: [PATCH] [wallaby] 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/829 Closes-Bug: #2028683 Change-Id: I7b5d3fd4ce975b94642c854a895cd25b9ddf0c53 --- 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 3ed3821..29b9c98 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 -53a3cc06-1178-11ec-a0a4-d3f9c5859dca +d62e7262-3cfe-11ee-ab87-ffffa17f8c4c diff --git a/src/build.lock b/src/build.lock index 428c354..e614c91 100644 --- a/src/build.lock +++ b/src/build.lock @@ -225,6 +225,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]