# Pin maximum pytest versions for older python versions
# TODO: determine what the actual minimum and maximum acceptable versions of
# pytest (that are also compatible with xdoctest) are for each legacy python
# major.minor version.
# See xdev availpkg for helper script

pytest >= 6.2.5  ;                               python_version >= '3.10.0' # Python 3.10+
pytest >= 4.6.0  ; python_version < '3.10.0' and python_version >= '3.7.0'  # Python 3.7-3.9

pytest-cov >= 3.0.0           ;                  python_version >= '3.6.0'   # Python 3.6+
