Skip to content

Commit ee1b495

Browse files
herheliukrst0git
authored andcommitted
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 <andrii@herheliuk.com>
1 parent b39a9c6 commit ee1b495

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ authors = [
1111
license = {text = "LGPLv2.1"}
1212
dynamic = ["version"]
1313
requires-python = ">=3.6"
14+
dependencies = ["protobuf"]
1415

1516
[tool.setuptools]
1617
packages = ["pycriu", "pycriu.images"]

lib/setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ version = attr: pycriu.__version__
1414
[options]
1515
packages = find:
1616
python_requires = >=3.6
17+
install_requires =
18+
protobuf

0 commit comments

Comments
 (0)