nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python3Packages.aiohttp-sse: backport patch for pytest-asyncio 1.0 compat (#450703)

authored by

dotlambda and committed by
GitHub
f9298006 6e40a993

+10 -3
+10 -3
pkgs/development/python-modules/aiohttp-sse/default.nix
··· 2 2 aiohttp, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + fetchpatch, 5 6 lib, 6 7 pytest-aiohttp, 7 - pytest-asyncio_0, 8 8 pytest-cov-stub, 9 9 pytestCheckHook, 10 10 setuptools, ··· 22 22 hash = "sha256-iCjWuECUQukCtlQPjztEwawqSzd3LvvWRGXnhZem22w="; 23 23 }; 24 24 25 + patches = [ 26 + (fetchpatch { 27 + name = "pytest-asyncio-compat.patch"; 28 + url = "https://github.com/aio-libs/aiohttp-sse/commit/22c8041f5f737f76bdba2f2fded58abacf04c913.patch"; 29 + hash = "sha256-CZjXgDKbm3XmS0tn3MGZMnZ84ZLt4o6v9boAYXYa6A4="; 30 + }) 31 + ]; 32 + 25 33 build-system = [ setuptools ]; 26 34 27 35 dependencies = [ ··· 39 31 pythonImportsCheck = [ "aiohttp_sse" ]; 40 32 41 33 nativeCheckInputs = [ 42 - (pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; }) 43 - pytest-asyncio_0 34 + pytest-aiohttp 44 35 pytest-cov-stub 45 36 pytestCheckHook 46 37 ];