python312Packages.denonavr: fix tests

Makes the tests compatible with pytest-httpx 0.32.0.
This commit is contained in:
Martin Weinelt 2024-11-07 03:16:33 +01:00
parent 6e95221e2e
commit e40b41cc5f
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -6,6 +6,7 @@
buildPythonPackage,
defusedxml,
fetchFromGitHub,
fetchpatch2,
ftfy,
httpx,
netifaces,
@ -31,6 +32,14 @@ buildPythonPackage rec {
hash = "sha256-/K2pz3B4H205grDeuMWZmEeA4wJqKhP0XdpmbqFguTM=";
};
patches = [
(fetchpatch2 {
name = "pytest-httpx-compat.patch";
url = "https://github.com/ol-iver/denonavr/commit/5320aadae91135a8c208c83d82688ddf26eb6498.patch";
hash = "sha256-F9R5GJ1XK3lHWLY+OgzKu3+xCosK3nX4EII9J1jhlys=";
})
];
pythonRelaxDeps = [ "defusedxml" ];
build-system = [ setuptools ];