python3Packages.grpclib: 0.4.8 -> 0.4.9 (#476105)

This commit is contained in:
Fabian Affolter
2026-01-05 14:17:16 +00:00
committed by GitHub
@@ -1,14 +1,14 @@
{
lib,
async-timeout,
buildPythonPackage,
certifi,
faker,
fetchFromGitHub,
fetchpatch,
googleapis-common-protos,
h2,
multidict,
pytest-asyncio_0,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
@@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "grpclib";
version = "0.4.8";
version = "0.4.9";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -25,18 +25,9 @@ buildPythonPackage rec {
owner = "vmagamedov";
repo = "grpclib";
tag = "v${version}";
hash = "sha256-Z+DMwGMUxNTQ7ABd4q/FgMHEZ/NCOtst+6QfQJm3jVU=";
hash = "sha256-9ElCIL084B+KihV1AXYJejBletj8y6LnoWRGEj4E1tQ=";
};
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 = [
@@ -46,12 +37,15 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio_0
pytest-asyncio
async-timeout
faker
googleapis-common-protos
certifi
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "grpclib" ];
meta = {