knot_exporter: add maximum libknot dependency version to ensure library consistency

fixes #956
This commit is contained in:
Daniel Salzman 2025-04-26 21:27:04 +02:00
parent 43de9e7655
commit eebfa83a3f
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ classifiers = [
"Topic :: System :: Systems Administration",
]
dependencies = [
"libknot",
"libknot<@KNOT_VERSION_MAJOR@.@KNOT_VERSION_MINOR@.99",
"prometheus-client",
"psutil",
]

View file

@ -26,7 +26,7 @@ setuptools.setup(
],
python_requires='>=3.5',
install_requires=[
'libknot',
'libknot<@KNOT_VERSION_MAJOR@.@KNOT_VERSION_MINOR@.99',
'prometheus-client',
'psutil',
],