# Pip requirements file for pywbem install.#
#
# 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 also the
# versions defined in minimum-constraints.txt.


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

mock>=2.0.0,<4.0.0; python_version == '2.7'
ply>=3.10
# PyYAML 5.3 removed support for Python 3.4
# 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 6.0 removed support for Python 2.7, but 6.0b1 installs in installtest
PyYAML>=5.3.1,<6.0; python_version == '2.7'
PyYAML>=5.2,<5.3; python_version == '3.4'
PyYAML>=5.3.1; python_version > '3.4'
# virtualenv 20.0.0 (required on py3.8+) requires six>=0.12.0
# tox 3.17 (used in dev-requirements.txt) requires six>=1.14.0
# six 1.16.0 removes the ImportWarning raised by Python 3.10
six>=1.14.0; python_version <= '3.9'
six>=1.16.0; python_version >= '3.10'
# requests 2.22.0 removed support for Python 3.4
# requests 2.22.0 removed 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 == '2.7'
requests>=2.20.1,<2.22.0; python_version == '3.4'
requests>=2.22.0; python_version >= '3.5' and python_version <= '3.9'
requests>=2.25.0; python_version >= '3.10'
# yamlloader 1.1.0 gets istalled by mistake on py27+34 on Ubuntu when using setup.py install. See issue #2745.
yamlloader>=0.5.5,<1.0.0; python_version <= '3.5'
yamlloader>=0.5.5; python_version >= '3.6'
nocaselist>=1.0.3
nocasedict>=1.0.1

# Indirect dependencies only specified here if needed. Keep in sync with the
# minimum-constraints.txt file.

# urllib3 1.24.1 addressed issue 37055 reported by safety
# urllib3 1.24.2 addressed issue 37071 reported by safety
# urllib3 1.25.9 addressed issue 38834 reported by safety
# urllib3 1.25.8 removed support for Python 3.4
# urllib3 needs to be pinned to <1.25 for requests <2.22.0
# urllib3 1.26.5 vendors six 1.16.0 which is needed on Python 3.10 to remove ImportWarning
urllib3>=1.25.9; python_version == '2.7'
urllib3>=1.24.2,<1.25.0; python_version == '3.4'
urllib3>=1.25.9; python_version >= '3.5' and python_version <= '3.9'
urllib3>=1.26.5; python_version >= '3.10'

# setuptools 61.0.0 breaks "setup.py install", see https://github.com/pypa/setuptools/issues/3198
setuptools!=61.0.0; python_version >= '3.7'

# certifi 2020.6.20 removed support for Python 2.7 but does not declare it
certifi>=2019.11.28,<2020.6.20; python_version == '2.7'
certifi>=2019.11.28,<2020.6.20; python_version == '3.4'
certifi>=2019.11.28; python_version >= '3.5'
