2ccdc5c409
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. The openstacksdk version is pinned in test-requirements.txt to enabled py36 unit tests to run successfully. Related-Bug: #2002788 Change-Id: I1783a67c9c4dcc2c840c164698bdf6cec9235e14
54 lines
2.2 KiB
Plaintext
54 lines
2.2 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
|
|
#
|
|
# TODO: Distill the func test requirements from the lint/unit test
|
|
# requirements. They are intertwined. Also, Zaza itself should specify
|
|
# all of its own requirements and if it doesn't, fix it there.
|
|
#
|
|
pyparsing<3.0.0 # cffi needs pyparsing < 3.0.0.
|
|
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
|
|
|
|
requests>=2.18.4
|
|
|
|
# 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'
|
|
|
|
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'
|
|
|
|
# New openstacksdk versions depend on platformdirs>=3 which does not support
|
|
# python 3.6
|
|
openstacksdk<1.6.0; python_version <= '3.6'
|
|
|
|
coverage>=4.5.2
|
|
pyudev # for ceph-* charm unit tests (need to fix the ceph-* charm unit tests/mocking)
|
|
git+https://github.com/openstack-charmers/zaza.git@stable/wallaby#egg=zaza
|
|
git+https://github.com/openstack-charmers/zaza-openstack-tests.git@stable/wallaby#egg=zaza.openstack
|
|
|
|
# Needed for charm-glance:
|
|
git+https://opendev.org/openstack/tempest.git#egg=tempest;python_version>='3.8'
|
|
tempest<31.0.0;python_version<'3.8' and python_version>='3.6'
|
|
tempest<24.0.0;python_version<'3.6'
|
|
|
|
croniter # needed for charm-rabbitmq-server unit tests
|