pytest 4.6.11 has just been released to PyPI.
pytest 4.6 is the last version that still supports Python 2, being supported by patches from the community. To upgrade:
pip install --upgrade pytest
The full changelog is available at https://docs.pytest.org/en/4.6.x/changelog.html
Thanks to all who contributed to this release, among them:
Happy testing, The pytest Development Team