Description
Hi,
All of our iur integration tests are failing in CI with the following error although the series parameter is specified when deploying.
juju.errors.JujuError: Couldn't determine series for charm at /home/runner/work/indico-operator/indico-operator/.tox/integration/tmp/pytest/testing0/charms/indico_ubuntu-20.04-amd64.charm. Pass a 'series' kwarg to Model.deploy().
If we pin the version to 3.0.2 the error isn't raised.
It look like this issue was introduced in this PR.
Also, it is my understanding that, given I'm deploying kubernetes charms, the series should be irrelevant.
Thank you
Urgency
Annoying bug in our test suite
Python-libjuju version
3.0.3
Juju version
2.9.35
Reproduce / Test
# Deploy relations first to speed up overall execution
hello_kubecon_app_name = "hello-kubecon"
await ops_test.model.deploy(hello_kubecon_app_name)
# Build and deploy ingress
charm = await ops_test.build_charm(".")
application = await ops_test.model.deploy(
charm, application_name=app_name, series="focal", trust=True
)
await ops_test.model.wait_for_idle()
Description
Hi,
All of our iur integration tests are failing in CI with the following error although the
seriesparameter is specified when deploying.juju.errors.JujuError: Couldn't determine series for charm at /home/runner/work/indico-operator/indico-operator/.tox/integration/tmp/pytest/testing0/charms/indico_ubuntu-20.04-amd64.charm. Pass a 'series' kwarg to Model.deploy().If we pin the version to 3.0.2 the error isn't raised.
It look like this issue was introduced in this PR.
Also, it is my understanding that, given I'm deploying kubernetes charms, the series should be irrelevant.
Thank you
Urgency
Annoying bug in our test suite
Python-libjuju version
3.0.3
Juju version
2.9.35
Reproduce / Test