python3Packages.aiohttp-sse: backport patch for pytest-asyncio 1.0 compat (#450703)
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
lib,
|
||||
pytest-aiohttp,
|
||||
pytest-asyncio_0,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
@@ -22,6 +22,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-iCjWuECUQukCtlQPjztEwawqSzd3LvvWRGXnhZem22w=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "pytest-asyncio-compat.patch";
|
||||
url = "https://github.com/aio-libs/aiohttp-sse/commit/22c8041f5f737f76bdba2f2fded58abacf04c913.patch";
|
||||
hash = "sha256-CZjXgDKbm3XmS0tn3MGZMnZ84ZLt4o6v9boAYXYa6A4=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
@@ -31,8 +39,7 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "aiohttp_sse" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
(pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; })
|
||||
pytest-asyncio_0
|
||||
pytest-aiohttp
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user