From 0c8fc29594979b418adddf66ad37899581d4b296 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: Ia9c81b7c0044f118ddaca29fc58d4d536d523107 --- 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 89b0bc4..2dde7d3 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 -29db81ad-4d4a-471d-9927-f0a94aa19bd8 +d635ec04-3cfe-11ee-a342-0fd78a3efe8d diff --git a/src/build.lock b/src/build.lock index 5ab0dc7..6d8beeb 100644 --- a/src/build.lock +++ b/src/build.lock @@ -261,6 +261,12 @@ "package": "urllib3", "vcs": null, "version": "1.26.7" + }, + { + "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]