This pulse saw the addition of Pebble identity methods in Ops and drafting of specifications for stronger typed config, action parameters, and relation data.
We’ve released charmlibs-pathops 1.0.0
, and jubilant 0.5.0
(with a breaking change). Looking forward to meeting you at the Frankfurt sprints!
Ops
- Added Pebble identities related methods (get_identities, replace_identities, and remove_identities) so that charmers can create identities used for accessing the metrics endpoint (#1672).
- Finished drafting a spec for stronger typed config functionality in ops, and a draft implementation. Please review and provide feedback!
- Finished drafting a spec for stronger typed action parameters functionality in ops, and a draft implementation. Please review and provide feedback!
- Finished drafting a spec for stronger typed relation data in ops, and a draft implementation. Please review and provide feedback!
- The integration tests for
ops[tracing]
are in review.
Charming
- Improved Jubilant, the charm integration testing library: more charmers have started using it, which is great! We wrote a guide on how to migrate from pytest-operator. We added the model_config, add_secret, and scp commands. We fixed an issue with how “status-error” from Juju is handled. And we made a small breaking change to how you specify app names when using the all_* and any_* helpers. We’re hoping to lock in the API and ship Jubilant 1.0 next week.
- Released charmlibs-pathops version 1.0! This new package provides a pathlib-like API for file operations in K8s charm workload containers, so you can use the same code across all your charms for file operations. See the announcement post and readme for more details.
- We’ve dug into charmcraft pack failures with 20.04 build base as the world moves on after Python 3.8 reached EOL and packages you depend on drop support for it. If your charm is affected, we recommend switching your project to
uv
and packing with theuv
plugin. - Hosted an AMA session with the Data (Big Data and AI) team.
Documentation
- Working on a new how-to guide about using identities and metrics in a charm (#1692).
- Continued work on a spec for guidance on sharing code between pairs of machine and Kubernetes charms.