* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* Locked requirements using pip-compile:
* existing (test-)requirements.txt ->
(test-)requirements.in
* pip-compile to *-py3[8|10].txt using python3.8
and python3.10.
* Updated tox.ini to use the appropriate merged
requirements-*.txt files.
* Removal of lunar from metadata, charmcraft.yaml
osci.yaml, tests.yaml and associated bundles.
* Locked libs and tests to stable/bobcat branches for:
* charm-helpers
* charms.openstack
* zaza
* zaza-openstack-tests
Summary of changes:
- Use generic job templates in .zuul.yaml and osci.yaml
- Add charmcraft.yaml to make the charm buildable
- Update testing bundles to align with the rest of the charms
- Update metadata.yaml to declare jammy and lunar
- Align tox.ini and src/tox.ini
- Add src/wheelhouse.txt
- Drop pip.sh
- Drop unneded pinning of packages
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.
The default for charm-build changed, which means the the CI looks in the
wrong place to find the built charm to upload it to the charm-store.
this patch fixes that.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.
We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.
Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]
328a920...
by
Stamatis Katsaounis <email address hidden>
Basic functional test for Bionic Ussuri and Docs changes
This patch adds a bare minimum bundle.yaml for deploying
watcher-dashboard charm and running a noop basic test. In addition, it
changes the initial information to point to upstream after the official
release of charm-watcher-dashboard. It also adds the appropriate repo
configuration and conforms to the new removed packages mechanism.