Skip to content

Commit 7d14943

Browse files
committed
build(deps): validate single-kernel lib PITR fix via archive URL
Temporarily consume the single-kernel library from the archive URL of a 16.3.2-based branch that carries only the get_member_status RetryError fix (canonical/postgresql-single-kernel-library#179, cherry-picked onto the 16.3.2 tag), instead of the released 16.3.2 wheel, so CI can validate the fix against the PITR integration tests before the lib is re-released. Basing the archive on the 16.3.2 tag (not lib 16/edge HEAD) keeps this paired with the wheel version this branch pins: 16/edge HEAD carries unreleased CharmState changes that make an existing `# type: ignore` in src/charm.py unused, which would fail `ty check` for reasons unrelated to the PITR fix. The lib fix stops an uncaught RetryError from crashing the restore action hook during PITR restore (Patroni intentionally stopped), which was discarding the staged restore-status result and exhausting the test's 10x retry loop in test_backups_pitr_{aws,gcp}. This pin should revert to the released version once the lib fix ships. Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
1 parent 2d52906 commit 7d14943

2 files changed

Lines changed: 24 additions & 21 deletions

File tree

poetry.lock

Lines changed: 23 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ charm-refresh = "^3.1.0.2"
2121
charmlibs-snap = "^1.0.1"
2222
charmlibs-systemd = "^1.0.0.post0"
2323
charmlibs-interfaces-tls-certificates = "^1.8.3"
24-
postgresql-charms-single-kernel = {extras = ["postgresql", "vm"], version = "16.3.2"}
24+
postgresql-charms-single-kernel = {extras = ["postgresql", "vm"], url = "https://github.com/canonical/postgresql-single-kernel-library/archive/e58024f664fd48a1ed8182746352b65f42f6c5aa.tar.gz"}
2525

2626
[tool.poetry.group.charm-libs.dependencies]
2727
# data_platform_libs/v0/data_interfaces.py

0 commit comments

Comments
 (0)