# Tested with pytest versions:
# 5.4.3
# 6.2.2

# 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 ~/local/tools/supported_python_versions_pip.py 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 >= 4.6.0            ; python_version < '3.7.0'  and python_version >= '3.6.0'   # Python 3.6
pytest >= 4.6.0, <= 6.1.2  ; python_version < '3.6.0'  and python_version >= '3.5.0'   # Python 3.5
pytest >= 4.6.0, <= 4.6.11 ; python_version < '3.5.0'  and python_version >= '3.4.0'   # Python 3.4
pytest >= 4.6.0, <= 4.6.11 ; python_version < '2.8.0'  and python_version >= '2.7.0'   # Python 2.7

##
#pytest-cov >= 2.6.0           ;                              python_version >= '3.7.0'
#pytest-cov >= 2.6.0, <= 2.8.1 ; python_version < '3.7.0' and python_version >= '3.6.0'

pytest-cov >= 3.0.0           ;                               python_version >= '3.6.0'   # Python 3.6+
pytest-cov >= 2.9.0           ; python_version < '3.6.0'  and python_version >= '3.5.0'   # Python 3.5
pytest-cov >= 2.8.1           ; python_version < '3.5.0'  and python_version >= '3.4.0'   # Python 3.4
pytest-cov >= 2.8.1           ; python_version < '2.8.0'  and python_version >= '2.7.0'   # Python 2.7

codecov >= 2.0.15

typing >= 3.7.4;python_version <= '3.4' 

# For testing doctests in binary extension modules
scikit-build>=0.11.1
cmake>=3.21.2
ninja>=1.10.2
pybind11>=2.7.1

# for testing doctests in jupyter notebooks
# -r jupyter.txt

#pip uninstall pytest-ipynb
#pytest-ipynb >= 1.1.1  
#pip install pytest-notebook
