Dima Tisnek
Dima Tisnek
I cannot easily run the tip of the branch. I can re-run 4.0/candidate or try 4.0/stable.
@james-garner-canonical what's your take?
AI's take on this: - change dataclass field to Mapping[...] - in post_init, wrap the incoming data into a `MappingProxyType`
Field that may need this treatment: ```py State.config DeferredEvent.snapshot_data Relation.remote_units_data Relation.remote_app_data # unless charm under test can change it? PeerRelation.peers_data ```
Having tried this on a Friday last month, I'm now more in favour of more incremental approach: - [x] uv+tox-uv #1804 - [x] build and publish in one go #1813...
Work-around: ensure that unit sets some kind of status. ```diff self.app.status = ops.ActiveStatus("An important message here!!!") +self.unit.status = ops.ActiveStatus() ``` When unit status is set, the unit agent stale status...
Side note, same test reliably fails in a different way when run under PyPy, because the garbage collection is delayed and weak reference not released on time. I think that...
Building docs: https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-uv
Blocked by https://github.com/tox-dev/tox-uv/issues/209 until we drop Python3.8 support.
wip: https://github.com/dimaqq/operator/pull/61