python312Packages.limits: fix build

This commit is contained in:
Moraxyc 2024-10-27 17:48:14 +08:00
parent ba9d965d7d
commit 2aafc1197f
No known key found for this signature in database

View File

@ -90,6 +90,12 @@ buildPythonPackage rec {
async-etcd = [ aetcd ];
};
env = {
# make protobuf compatible with old versions
# https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python";
};
doCheck = pythonOlder "3.12"; # SystemError in protobuf
nativeCheckInputs = [