python313Packages.httpx-sse: fix tests

This commit is contained in:
Robert Schütz
2025-02-06 18:55:50 +01:00
committed by Martin Weinelt
parent cede109e45
commit 45d3fe9f8c
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
setuptools,
setuptools-scm,
wheel,
@@ -23,6 +24,13 @@ buildPythonPackage rec {
hash = "sha256-nU8vkmV/WynzQrSrq9+FQXtfAJPVLpMsRSuntU0HWrE=";
};
patches = [
(fetchpatch2 {
url = "https://github.com/florimondmanca/httpx-sse/commit/643938c805e671fa20adcf314b447f862b77bcda.patch?full_index=1";
hash = "sha256-V2PyTlleyoLa0DuvdlU8zGNsI9C8bTjMUcLjx81/e5k=";
})
];
# pytest-cov configuration is not necessary for packaging
postPatch = ''
rm setup.cfg