From: Daniel Salzman Date: Sat, 26 Apr 2025 19:27:04 +0000 (+0200) Subject: knot_exporter: add maximum libknot dependency version to ensure library consistency X-Git-Tag: v3.5.0~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eebfa83a3fac2f50c87eb59e5ce1c8f3fcd3188f;p=thirdparty%2Fknot-dns.git knot_exporter: add maximum libknot dependency version to ensure library consistency fixes #956 --- diff --git a/python/knot_exporter/pyproject.toml.in b/python/knot_exporter/pyproject.toml.in index 42b426b3cc..f25fa84ebe 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 e6b60cc5d3..70cb91c5ea 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', ],