canonical/cos-lib

allow using cosl.coordinated_workers.S3ConnectionInfo outside of tempo-loki-mimir

Ouverte

#119 ouverte le 27 janv. 2025

 (7 commentaires) (0 réaction) (0 personne assignée)Python (6 forks)auto 404
Status: TriageType: Buggood first issue

Métriques du dépôt

Stars
 (0 étoile)
Métriques de merge PR
 (Merge moyen 1j 5h) (1 PR mergée en 30 j)

Description

Bug Description

Right now attempting to import that module from outside the HA charms (e.g. Parca) will result in import errors because of the check-charm-libs-installed thing we do on import.

we should either refactor cosl to run that check on-demand rather than on import, or lift anything that needs not be under that check outside of the coordinated_workers module so other charms can use them without ugly workarounds.

To Reproduce

n/a

Environment

n/a

Relevant log output

n/a

Additional context

No response

Guide contributeur