canonical / charm-prometheus-juju-exporter

Charm that deploys exporter, publishing statistics about juju-deployed machines
Apache License 2.0
1 stars 8 forks source link

Pin ops version to support bionic deployments #31

Closed agileshaw closed 1 year ago

agileshaw commented 1 year ago

Ops 2 has dropped support for Python 3.7 and downwards, which prevents the charm to be deployed on bionic machines (where python 3.6 is the default). This PR pins the ops version to <2.0 to workaround the issue.

agileshaw commented 1 year ago

Can we add a functional test run on bionic? I see we are already testing focal and jammy

@aieri Great suggestion. I've added bionic bundle and the CI has passed (https://github.com/canonical/charm-prometheus-juju-exporter/actions/runs/4451800736/jobs/7818876921?pr=31).