python3Packages.grpclib: replace async-timeout with asyncio.timeout (#453660)

This commit is contained in:
dotlambda
2025-10-21 19:38:41 +00:00
committed by GitHub
@@ -1,10 +1,10 @@
{
lib,
async-timeout,
buildPythonPackage,
certifi,
faker,
fetchFromGitHub,
fetchpatch,
googleapis-common-protos,
h2,
multidict,
@@ -28,6 +28,15 @@ buildPythonPackage rec {
hash = "sha256-Z+DMwGMUxNTQ7ABd4q/FgMHEZ/NCOtst+6QfQJm3jVU=";
};
patches = [
# https://github.com/vmagamedov/grpclib/pull/209
(fetchpatch {
name = "replace-async-timeout-with-asyncio-timeout-patch";
url = "https://github.com/vmagamedov/grpclib/commit/36b23ce3ca3f1742e39b50f939d13cd08b4f28ac.patch";
hash = "sha256-3ztLBOFpTK8CFIp8a6suhWXY5kIBCBRWBX/oAyYU4yI=";
})
];
build-system = [ setuptools ];
dependencies = [
@@ -38,7 +47,6 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio_0
async-timeout
faker
googleapis-common-protos
certifi