python3Packages.pytest-xdist: patch pytest9 compat

This commit is contained in:
Martin Weinelt
2026-02-01 16:40:28 +01:00
parent 90801f62c8
commit cac00b0bac
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
setuptools,
setuptools-scm,
pytestCheckHook,
@@ -24,6 +25,19 @@ buildPythonPackage rec {
hash = "sha256-2x3znm92wo8DCshf5sYK0stnESg0oVXbxsWRAaTj6oQ=";
};
patches = [
(fetchpatch {
name = "pytest9-compat-1.patch";
url = "https://github.com/pytest-dev/pytest-xdist/commit/44f4bea2652e06e7cd5d4a063aa2673b5ef701ee.patch";
hash = "sha256-BQfcr5f4S+e8xZP2UQwr65hp+iVzmbXYAzO/7iE9lmw=";
})
(fetchpatch {
name = "pytest9-compat-2.patch";
url = "https://github.com/pytest-dev/pytest-xdist/commit/0c984478f39d7a01aa24c061f2581bdfd071cb6a.patch";
hash = "sha256-zxdKy7Z0m5UB4qwmdrolSYeBUTgMe2bQkkeX+M0RRHs=";
})
];
build-system = [
setuptools
setuptools-scm