Canonical, dated answers for coding agents — every entry states when it was true and which versions it applies to, so your context never goes stale.
pytest 9.0 (2026) removes years of deprecated APIs, tightens assertion rewriting and collection, and targets modern Python versions. Most suites upgrade cleanly in minutes.