python314Packages.aioresponses: fix DeprecationWarning (#496488)

This commit is contained in:
Martin Weinelt
2026-03-04 13:26:41 +00:00
committed by GitHub
@@ -25,6 +25,12 @@ buildPythonPackage rec {
hash = "sha256-uGHN/l3FjzuK+sewppc9XXsstgjdD2JT0WuO6Or23xE=";
};
postPatch = ''
# https://github.com/pnuckowski/aioresponses/pull/278
substituteInPlace aioresponses/core.py \
--replace-fail asyncio.iscoroutinefunction inspect.iscoroutinefunction
'';
nativeBuildInputs = [
pbr
setuptools