The openstack-python3-ussuri-jobs template is running on noble (python
3.12) making the pep8 tox target fail due to the dependencies and
versions locked down by the charm.
This change makes the charm to use the
openstack-python3-charm-jobs-ussuri template which runs on focal and
it's owned by the openstack charms team.
For the coverage report, the openstack-cover-charm-jobs template is used
now which provides the same guarantees described earlier
Tox 4.0.0 was recently released and it has several breaking changes.
We pin to < 4.0.0 here. We are planning to move forward only on the
master charm branches.
Tox is also pinned to < 4.0.0 for stable branches in upstream
openstack-zuul-jobs as well as in zosci-config. However, the
requires= section in the charm's tox.ini file ends up installing
tox>4, wiping out the zuul-pinned tox<4 that was already installed
installed. This patch fixes that.
Charmcraft 1.0+ breaks py35 compatibility by introducing f-strings. As
the charms are still being built on a xenial builder, we currently need
to pin this for the builds.