python3Packages.elastic-apm: fix tests

This commit is contained in:
Robert Schütz
2025-05-14 18:31:35 -07:00
parent 7103154633
commit 35286d899e
@@ -7,6 +7,7 @@
certifi,
ecs-logging,
fetchFromGitHub,
fetchpatch,
httpx,
jinja2,
jsonschema,
@@ -44,6 +45,14 @@ buildPythonPackage rec {
hash = "sha256-S1Ebo9AWN+Mf3OFwxNTiR/AZtje3gNiYkZnVqGb7D4c=";
};
patches = [
(fetchpatch {
name = "fix-tests-with-latest-starlette-and-sanic.patch";
url = "https://github.com/elastic/apm-agent-python/commit/80d167f54b6bf1db8b6e7ee52e2ac6803bc64f54.patch";
hash = "sha256-VtA7+SyEZiL3aqpikyYJQ4tmdmsUpIdkSx6RtC1AzqY=";
})
];
pythonRelaxDeps = [ "wrapt" ];
build-system = [ setuptools ];