python3Packages.boltons: fix pytest 9 compat

This commit is contained in:
Martin Weinelt
2026-02-01 17:40:58 +01:00
parent 6ac6d40fb3
commit c65ca57607
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
flit-core,
pytestCheckHook,
}:
@@ -18,6 +19,14 @@ buildPythonPackage rec {
hash = "sha256-kBOU17/jRRAGb4MGawY0PY31OJf5arVz+J7xGBoMBkg=";
};
patches = [
(fetchpatch {
name = "pytest9-compat.patch";
url = "https://github.com/mahmoud/boltons/commit/a2af58548936c51a3d859f780e54ba170a6829bb.patch";
hash = "sha256-NRjfEKb0doJEtS5GyrF0dJYYr2u+ukogfUmmVnsHAwM=";
})
];
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];