python3Packages.grpclib: replace async-timeout with asyncio.timeout (#453660)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user