As indicated on pypi and in the README pytest supports python version 3.8 and 3.9. The documentation should match.