From eebfa83a3fac2f50c87eb59e5ce1c8f3fcd3188f Mon Sep 17 00:00:00 2001 From: Daniel Salzman Date: Sat, 26 Apr 2025 21:27:04 +0200 Subject: [PATCH] knot_exporter: add maximum libknot dependency version to ensure library consistency fixes #956 --- python/knot_exporter/pyproject.toml.in | 2 +- python/knot_exporter/setup.py.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/knot_exporter/pyproject.toml.in b/python/knot_exporter/pyproject.toml.in index 42b426b3c..f25fa84eb 100644 --- a/python/knot_exporter/pyproject.toml.in +++ b/python/knot_exporter/pyproject.toml.in @@ -22,7 +22,7 @@ classifiers = [ "Topic :: System :: Systems Administration", ] dependencies = [ - "libknot", + "libknot<@KNOT_VERSION_MAJOR@.@KNOT_VERSION_MINOR@.99", "prometheus-client", "psutil", ] diff --git a/python/knot_exporter/setup.py.in b/python/knot_exporter/setup.py.in index e6b60cc5d..70cb91c5e 100644 --- a/python/knot_exporter/setup.py.in +++ b/python/knot_exporter/setup.py.in @@ -26,7 +26,7 @@ setuptools.setup( ], python_requires='>=3.5', install_requires=[ - 'libknot', + 'libknot<@KNOT_VERSION_MAJOR@.@KNOT_VERSION_MINOR@.99', 'prometheus-client', 'psutil', ],