This charm is currently configured to build binary wheels which only
work on the series they are built for (--binary-wheels-from-source in
tox.ini or charmcraft.yaml).
This change was made alongside the charmcraft.yaml changes to always
build-on/run-on the same series in the following commit: b0acd923b725
("Build separately for each supported series and use binary builds")
However the charmcraft.yaml changes to build separately were incorrectly
reverted in: 75c1b2a978c5 ("Add Kinetic and Zed support")
This results in failed installations on Jammy-Yoga with the error:
Could not find a version that satisfies the requirement MarkupSafe==2.1.3
Switch charmcraft.yaml back to again build-on/run-on the same series.
Additional build fixes:
- Drop Kinetic as it's EOL and charmcraft fails to build since it's
missing from archive.ubuntu.com
Closes-Bug: #1999200
Change-Id: I3a07abca124fca7f90b36f82e065a4fddc25be87
(cherry picked from commit e24fb340bf1e7f6850ead7bfd59d286795077d4d)
Add pkg-config to charmcraft.yaml for binary builds
Depending on the build platform (e.g. s390x, ppc64el), sometimes
pkg-config is required, and sometimes it isn't. Add it to make sure it
is available depending on the availability of binary wheels for
architectures.
Closes-Bug: #2023777
Change-Id: I3cdcea3a6bcadd38680a30553649dc6ed5202dd5
(cherry picked from commit c2a17eb5c137f3431c322a6cc47a71cd5071e6e3)
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.
- Set default branch for git review/gerrit to stable/zed
- Switch tests to stable.
- Switch to using stable charm-helpers branch.
- Switch to using stable charm.openstack branch.
- Switch to using stable zaza, zaza-openstack-tests
branch
- (reactive charms) Add build.lock file
- (classic charms) make sync
- (reactive: not reactive plugin): lock charm-tools < 3.1
- (reactive: with reactive plugin): lock charm snap to 3.x/stable
Added default value for allowed_direct_url_schemes
Included 'allowed_direct_url_schemes' in driver options of
cinder configuration with a default value of 'cinder'
Also, added to unit test and functional test as part of change.
- modified cinder_purestorage.py
- modified tests_cinder_purestorage.py to include a functional test
- modified test_lib_charm_openstack_cinder_purestorage.py to
extend the unit tests