Pytest has been updated to 4.3.1 and most likely will get updated to 4.4 soon.
We had pytest 3.9 before. This is backward incompatible update. See removed things at:
https://docs.pytest.org/en/latest/deprecations.html#removed-features https://docs.pytest.org/en/latest/changelog.html
If you get git by [pytest] section in setup.cfg files, this sed in %prep will do, but please communicate with your upstreams:
sed -i 's/[pytest]/[tool:pytest]/' setup.cfg
Should you hit any trouble, please report bugs and block
https://bugzilla.redhat.com/show_bug.cgi?id=PYTEST4
Thanks,
devel-announce@lists.fedoraproject.org