From d5ca3483a195a69bae0f39b3a772ce503a11cdf7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 12 Jul 2026 04:29:18 +0200 Subject: [PATCH] python3Packages.aioresponses: 0.7.8 -> 0.7.9 --- .../python-modules/aioresponses/default.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/aioresponses/default.nix b/pkgs/development/python-modules/aioresponses/default.nix index 395f7387aef7..ab510850ce94 100644 --- a/pkgs/development/python-modules/aioresponses/default.nix +++ b/pkgs/development/python-modules/aioresponses/default.nix @@ -12,17 +12,18 @@ # tests ddt, + pytest-asyncio, pytestCheckHook, }: buildPythonPackage rec { pname = "aioresponses"; - version = "0.7.8"; + version = "0.7.9"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-uGHN/l3FjzuK+sewppc9XXsstgjdD2JT0WuO6Or23xE="; + hash = "sha256-Hc+iiTj8AG8Eapg4OnwHrBgL56SSwe1Vf1zXsIBTV9M="; }; patches = [ @@ -31,23 +32,18 @@ buildPythonPackage rec { ./aiohttp-3.14-compat.patch ]; - postPatch = '' - # https://github.com/pnuckowski/aioresponses/pull/278 - substituteInPlace aioresponses/core.py \ - --replace-fail asyncio.iscoroutinefunction inspect.iscoroutinefunction - ''; - - nativeBuildInputs = [ + build-system = [ pbr setuptools ]; - propagatedBuildInputs = [ aiohttp ]; + dependencies = [ aiohttp ]; pythonImportsCheck = [ "aioresponses" ]; nativeCheckInputs = [ ddt + pytest-asyncio pytestCheckHook ]; @@ -59,6 +55,7 @@ buildPythonPackage rec { ]; meta = { + changelog = "https://github.com/pnuckowski/aioresponses/releases/tag/${version}"; description = "Helper to mock/fake web requests in python aiohttp package"; homepage = "https://github.com/pnuckowski/aioresponses"; license = lib.licenses.mit;