From ee1b4950efc27417d903a643e5a1069f440db66b Mon Sep 17 00:00:00 2001 From: Andrii Herheliuk Date: Fri, 17 Oct 2025 06:05:14 +0100 Subject: [PATCH] pycriu: add missing protobuf dependency pycriu depends on protobuf to function correctly. Currently, it raises an error if protobuf is not installed. Adding protobuf to the dependencies ensures it is available after installing pycriu. Signed-off-by: Andrii Herheliuk --- lib/pyproject.toml | 1 + lib/setup.cfg | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lib/pyproject.toml b/lib/pyproject.toml index 63d9b5f47..ea9f88dcc 100644 --- a/lib/pyproject.toml +++ b/lib/pyproject.toml @@ -11,6 +11,7 @@ authors = [ license = {text = "LGPLv2.1"} dynamic = ["version"] requires-python = ">=3.6" +dependencies = ["protobuf"] [tool.setuptools] packages = ["pycriu", "pycriu.images"] diff --git a/lib/setup.cfg b/lib/setup.cfg index 902fed9ee..28c9e49c3 100644 --- a/lib/setup.cfg +++ b/lib/setup.cfg @@ -14,3 +14,5 @@ version = attr: pycriu.__version__ [options] packages = find: python_requires = >=3.6 +install_requires = + protobuf