python3Packages.apipkg: support pytest 9 (fix build)

upstream fix is merged but unreleased. patch would not apply cleanly, so pull this single-line diff in
This commit is contained in:
Willy Hille
2026-05-08 10:50:31 +02:00
parent c3ed0ee754
commit 56bddbdd28
@@ -19,6 +19,12 @@ buildPythonPackage rec {
hash = "sha256-ANLD7fUMKN3RmAVjVkcpwUH6U9ASalXdwKtPpoC8Urs=";
};
# support pytest 9: https://github.com/pytest-dev/apipkg/pull/58
postPatch = ''
substituteInPlace conftest.py \
--replace-fail 'def pytest_report_header(startdir):' 'def pytest_report_header():'
'';
build-system = [
hatch-vcs
hatchling