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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user