af690f28af
Due to a build problem with the reactive plugin, this change falls back on overriding the steps and doing a manual build, but it also ensures the CI system builds the charm using charmcraft. Changes: - add a build-requirements.txt - modify charmcraft.yaml - modify osci.yaml -> indicate build with charmcraft - modify tox.ini -> tox -e build does charmcraft build/rename -> tox -e build-reactive does the reactive build - modify bundles to use the <charm>.charm artifact in tests. and fix deprecation warning re: prefix - tox inception to enable tox -e func-test in the CI func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/708 Change-Id: I4652834f5a4dd681563488cd340dac27dbf70075 Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
55 lines
2.0 KiB
Plaintext
55 lines
2.0 KiB
Plaintext
# This file is managed centrally by release-tools and should not be modified
|
|
# within individual charm repos. See the 'global' dir contents for available
|
|
# choices of *requirements.txt files for OpenStack Charms:
|
|
# https://github.com/openstack-charmers/release-tools
|
|
#
|
|
pyparsing<3.0.0 # aodhclient is pinned in zaza and needs pyparsing < 3.0.0, but cffi also needs it, so pin here.
|
|
cffi==1.14.6; python_version < '3.6' # cffi 1.15.0 drops support for py35.
|
|
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
|
|
|
|
stestr>=2.2.0
|
|
|
|
# Dependency of stestr. Workaround for
|
|
# https://github.com/mtreinish/stestr/issues/145
|
|
cliff<3.0.0
|
|
|
|
# Dependencies of stestr. Newer versions use keywords that didn't exist in
|
|
# python 3.5 yet (e.g. "ModuleNotFoundError")
|
|
importlib-metadata<3.0.0; python_version < '3.6'
|
|
importlib-resources<3.0.0; python_version < '3.6'
|
|
|
|
# Some Zuul nodes sometimes pull newer versions of these dependencies which
|
|
# dropped support for python 3.5:
|
|
osprofiler<2.7.0;python_version<'3.6'
|
|
stevedore<1.31.0;python_version<'3.6'
|
|
debtcollector<1.22.0;python_version<'3.6'
|
|
oslo.utils<=3.41.0;python_version<'3.6'
|
|
|
|
requests>=2.18.4
|
|
charms.reactive
|
|
|
|
# Newer mock seems to have some syntax which is newer than python3.5 (e.g.
|
|
# f'{something}'
|
|
mock>=1.2,<4.0.0; python_version < '3.6'
|
|
mock>=1.2; python_version >= '3.6'
|
|
|
|
nose>=1.3.7
|
|
coverage>=3.6
|
|
git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack
|
|
#
|
|
# Revisit for removal / mock improvement:
|
|
#
|
|
# NOTE(lourot): newer versions of cryptography require a Rust compiler to build,
|
|
# see
|
|
# * https://github.com/openstack-charmers/zaza/issues/421
|
|
# * https://mail.python.org/pipermail/cryptography-dev/2021-January/001003.html
|
|
#
|
|
netifaces # vault
|
|
psycopg2-binary # vault
|
|
tenacity # vault
|
|
pbr==5.6.0 # vault
|
|
cryptography<3.4 # vault, keystone-saml-mellon
|
|
lxml # keystone-saml-mellon
|
|
hvac # vault, barbican-vault
|
|
psutil # cinder-lvm
|