0225c61e76
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. Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142 Change-Id: Ib7e61c0293e398b831fbf8a6ade02bf833b78948
49 lines
1.8 KiB
Plaintext
49 lines
1.8 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
|
|
|
|
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
|