# Pip requirements file for installation of the project.
#
# The order of packages is significant, because pip processes them in the order
# of appearance.
#
# Make sure that the minimum versions required in this file are consistent with
# the minimum versions specified in minimum-constraints.txt.


# Direct dependencies (except pip, setuptools, wheel):

# Keep ansible versions in sync with meta/runtime.yml (and minimum-constraints.txt)
ansible>=2.9.0.0

# requests 2.22.0 removes the pinning of urllib3 to <1.25.0, and urllib 1.25.9
#   is required to address safety issues
# requests 2.25.0 tolerates urllib3 1.26.5 which is needed on Python 3.10 to
#   remove ImportWarning in six
requests>=2.22.0; python_version <= '3.9'
requests>=2.25.0; python_version >= '3.10'

# git+https://github.com/zhmcclient/python-zhmcclient@master#egg=zhmcclient
zhmcclient>=1.2.0


# Indirect dependencies are not specified in this file, unless needed to solve versioning issues:

# cryptography 3.1 has deprecated Python 3.5 support and issues a deprecation
# warning that causes ansible-test to fail
# cryptography 3.2 addresses a dependabot security issue
cryptography>=3.3; python_version == '2.7'
cryptography>=3.0,<3.1; python_version == '3.5'
cryptography>=3.4.7; python_version >= '3.6'


packaging>=20.0

# PyYAML 5.3 fixed narrow build error on Python 2.7
# PyYAML 5.3.1 addressed issue 38100 reported by safety
# PyYAML 5.2 addressed issue 38639 reported by safety
PyYAML>=5.3.1
