# ============================================================================
# PYTHON PACKAGE REQUIREMENTS FOR: behave -- For testing only
# ============================================================================

# -- TESTING: Unit tests and behave self-tests.
# PREPARED-FUTURE: behave4cmd0, behave4cmd
pytest <  5.0; python_version <  '3.0' # pytest >= 4.2
pytest >= 5.0; python_version >= '3.0'

pytest-html >= 1.19.0,<2.0; python_version <  '3.0'
pytest-html >= 2.0;         python_version >= '3.0'

mock  <  4.0;   python_version <  '3.6'
mock  >= 4.0;   python_version >= '3.6'
PyHamcrest >= 2.0.2; python_version >= '3.0'
PyHamcrest <  2.0;   python_version <  '3.0'
assertpy >= 1.1

# -- NEEDED: By some tests (as proof of concept)
# NOTE: path.py-10.1 is required for python2.6
# HINT: path.py => path (python-install-package was renamed for python3)
path.py >=11.5.0,<13.0; python_version <  '3.5'
path >= 13.1.0;         python_version >= '3.5'

# NOTE: toml extra for pyproject.toml-based config
# DISABLED: .[toml]
tomli >= 1.1.0;  python_version >=  '3.0' and python_version < '3.11'
toml  >= 0.10.2; python_version <  '3.0'

# -- PYTHON2 BACKPORTS:
pathlib;    python_version <= '3.4'

-r ../issue.features/py.requirements.txt
