From 45d3fe9f8cb6d48db0fd14292bd4ae685c8f34d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 5 Feb 2025 16:55:15 -0800 Subject: [PATCH] python313Packages.httpx-sse: fix tests --- pkgs/development/python-modules/httpx-sse/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/httpx-sse/default.nix b/pkgs/development/python-modules/httpx-sse/default.nix index 313667f7d4a0..622e8ae033d4 100644 --- a/pkgs/development/python-modules/httpx-sse/default.nix +++ b/pkgs/development/python-modules/httpx-sse/default.nix @@ -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