
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 - Unit test fix Depends-On: https://review.opendev.org/c/openstack/charm-keystone/+/830986 Depends-On: https://review.opendev.org/c/openstack/charm-interface-keystone/+/830988 Change-Id: Iadd11634d1fe44731ecf0a6104561b4aeebff23f Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
25 lines
1.1 KiB
Plaintext
25 lines
1.1 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
|
|
#
|
|
# NOTE(lourot): This might look like a duplication of test-requirements.txt but
|
|
# some tox targets use only test-requirements.txt whereas charm-build uses only
|
|
# requirements.txt
|
|
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
|
|
|
|
# Build requirements
|
|
cffi==1.14.6; python_version < '3.6' # cffi 1.15.0 drops support for py35.
|
|
cryptography<3.4
|
|
git+https://github.com/juju/charm-tools#egg=charm-tools
|
|
|
|
simplejson
|
|
|
|
# Newer versions use keywords that didn't exist in python 3.5 yet (e.g.
|
|
# "ModuleNotFoundError")
|
|
# NOTE(lourot): This might look like a duplication of test-requirements.txt but
|
|
# some tox targets use only test-requirements.txt whereas charm-build uses only
|
|
# requirements.txt
|
|
importlib-metadata<3.0.0; python_version < '3.6'
|
|
importlib-resources<3.0.0; python_version < '3.6'
|