python311Packages.pytest-forked: add compat with pytest8

This commit is contained in:
Martin Weinelt
2024-03-12 18:25:05 +01:00
parent babf9bb40d
commit 03c2e437c0
@@ -2,6 +2,7 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, fetchpatch2
, setuptools
, setuptools-scm
, wheel
@@ -25,6 +26,15 @@ buildPythonPackage rec {
hash = "sha256-owkGwF5WQ17/CXwTsIYJ2AgktekRB4qhtsDxR0LCI/k=";
};
patches = [
(fetchpatch2 {
# https://github.com/pytest-dev/pytest-forked/actions
name = "pytest8-compat.patch";
url = "https://github.com/pytest-dev/pytest-forked/commit/b2742322d39ebda97d5170922520f3bb9c73f614.patch";
hash = "sha256-tTRW0p3tOotQMtjjJ6RUKdynsAnKRz0RAV8gAUHiNNA=";
})
];
nativeBuildInputs = [
setuptools
setuptools-scm